Maintained by: NLnet Labs

[Unbound-users] [wishlist] unbound vs djbdns

richard lucassen
Mon Jun 13 21:38:43 CEST 2011


Hello list,

After having used DJB's dnscache for many years, I switched to Unbound.
Unbound works fine, but there's something I miss: djbdns' configuration
simplicity. Wouldn't it be nice if Unbound had dir like:

/etc/unbound/stub-zones/

in which one could easily:

echo "dns1.domain.tld" > /etc/unbound/stub-zones/subdomain.domain.tld

restart unbound and then all queries for "subdomain.domain.tld" are
forwarded to "dns1.domain.tld" (that's the way djbdns is working).

Now I need to enter:

stub-zone:
        name: "subdomain.domain.tld"
        stub-host: dns1.domain.tld

Into the config file. This is not so much work, but if there are many of
these entries...



Another question: I'd like to have a simple logfile which will show me:

<timestamp> <source> <query>

e.g.:

2011-06-13 21:25:54 10.0.0.3 www.example.com

This can be done by grep/sed/awk-ing the logfile, but I miss the source
address of the machine that is sending the query. Setting the verbosity
to something higher than "1" produces al lot of debug noise, but not
the address that is querying the resolver. Or did I miss something
crucial somewhere?

Just my 2 newbee cents,

R.

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

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
| Public key and email address:                                    |
| http://www.lucassen.org/mail-pubkey.html                         |
+------------------------------------------------------------------+