Basic DNS Cache Server

Mark Andrews Mark_Andrews at isc.org
Wed Aug 2 22:18:18 UTC 2006


> On Wed, Aug 02, 2006 at 03:14:21PM -0400,
>  abdul khan <akhan at fleetwoodmetal.com> wrote 
>  a message of 23 lines which said:
> 
> > The easiest thing for beginners is Tynidns. 
> 
> At least spell it correctly:
> tinydns. http://cr.yp.to/djbdns/tinydns.html
> 
> > you have to have a thorough knwoledge to play with BIND.
> 
> There is nothing to do to configure BIND as a caching name server, it
> is its default.
> 
> When I read the incredible amount of disinformation on djbdns pages
> (for instance on http://cr.yp.to/djbdns/dot-fr.html), I do not want to
> try tinydns.

	"named -c /dev/null"  will bring up a caching server that
	will use the built in root hints (BIND 9).

	There is another instance of named running on 127.0.0.1.

	Mark

drugs# named -c /dev/null -g
03-Aug-2006 08:13:53.569 starting BIND 9.3.2 -c /dev/null -g
03-Aug-2006 08:13:53.645 loading configuration from '/dev/null'
03-Aug-2006 08:13:53.649 listening on IPv4 interface bge0, 192.168.191.236#53
03-Aug-2006 08:13:53.657 listening on IPv4 interface lo0, 127.0.0.1#53
03-Aug-2006 08:13:53.658 could not listen on UDP socket: address in use
03-Aug-2006 08:13:53.659 creating IPv4 interface lo0 failed; interface ignored
03-Aug-2006 08:13:53.659 listening on IPv4 interface lo0, 10.53.0.1#53
03-Aug-2006 08:13:53.660 listening on IPv4 interface lo0, 10.53.0.2#53
03-Aug-2006 08:13:53.662 listening on IPv4 interface lo0, 10.53.0.3#53
03-Aug-2006 08:13:53.663 listening on IPv4 interface lo0, 10.53.0.4#53
03-Aug-2006 08:13:53.664 listening on IPv4 interface lo0, 10.53.0.5#53
03-Aug-2006 08:13:53.667 listening on IPv4 interface lo0, 10.53.0.6#53
03-Aug-2006 08:13:53.668 listening on IPv4 interface lo0, 127.0.0.2#53
03-Aug-2006 08:13:53.669 listening on IPv4 interface lo0, 127.0.0.3#53
03-Aug-2006 08:13:53.721 couldn't add command channel 127.0.0.1#953: address in 
use
03-Aug-2006 08:13:53.724 couldn't add command channel ::1#953: address in use
03-Aug-2006 08:13:53.724 ignoring config file logging statement due to -g option
03-Aug-2006 08:13:53.727 additionally listening on IPv4 interface lo0, 127.0.0.1
#53
03-Aug-2006 08:13:53.727 could not listen on UDP socket: address in use
03-Aug-2006 08:13:53.731 creating IPv4 interface lo0 failed; interface ignored
03-Aug-2006 08:13:53.734 running
^C03-Aug-2006 08:14:48.063 shutting down
03-Aug-2006 08:14:48.065 no longer listening on 192.168.191.236#53
03-Aug-2006 08:14:48.066 no longer listening on 10.53.0.1#53
03-Aug-2006 08:14:48.066 no longer listening on 10.53.0.2#53
03-Aug-2006 08:14:48.066 no longer listening on 10.53.0.3#53
03-Aug-2006 08:14:48.066 no longer listening on 10.53.0.4#53
03-Aug-2006 08:14:48.066 no longer listening on 10.53.0.5#53
03-Aug-2006 08:14:48.066 no longer listening on 10.53.0.6#53
03-Aug-2006 08:14:48.067 no longer listening on 127.0.0.2#53
03-Aug-2006 08:14:48.067 no longer listening on 127.0.0.3#53
03-Aug-2006 08:14:48.097 exiting
drugs# 

--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list