Maintained by: NLnet Labs

[Unbound-users] large number of stub zones

richard lucassen
Mon Mar 24 15:43:20 CET 2014


On Mon, 24 Mar 2014 13:25:42 +0000
John Peacock <jpeacock at messagesystems.com> wrote:

> > Is there a nice and elegant way to have a large number domains
> > defined as stub zone? I'd like to tell unbound to use an
> > authoritative DNS on 127.0.0.2 for a large number of domains. I
> > haven't tried yet, but I don't think the stub zone mechanism was
> > built for a large number of stub zones.
> 
> Stub zones work absolutely fine for this; I have 50k randomly
> generated domains hosted in nsd and use stub zones in unbound to tie
> them together.  It is ideal for a test network where you want to
> ensure that you are not reliant on outside DNS infrastructure for
> your queries.

But does that mean that unbound parses each entry of the list for
every query it does? Or does unbound build an internal indexed database
of the stub zones when starting?

I'm not familiar with the internals of unbound, that's the reason why I
ask this question, I'd like to know if this method of using thousands
of stub zone files is an appropiate way to do things like this...

R.

-- 
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
+------------------------------------------------------------------+