[Bulk] Re: [Bulk] Re: DNS Server

Peter Dambier peter at peter-dambier.de
Wed Oct 12 19:23:51 UTC 2005


Andy Pieters wrote:
> Hi
> 
>>But now for bind. What do you want bind to do?
> 
> 
> I have a Celeron providing resolves for 10 clients on the LAN, mainly because 
> there seems to be an issue with the nameservers of my isp. 
> 
> Besides that I would like to have this same Celeron act as primary name server 
> and the ns1.numericable.fr as secondary nameserver.
> 
> I used a template to make the following files
> 
> 0.0.127.in-addr.arpa.zone
> 1.1.10.in-addr.arpa.zone
> 168.220.80.in-addr.arpa.zone
> localhost.zone
> vlaamse-kern.com.zone
> named.local
> 
> I can output the contents of those files if you would like to see them.
> 
> Now when I start Named it says "[OK]" but it isn't loaded.
> 
> Examening the log mentions that it couldn't open its pid file?
> 
> 
> With kind regards
> 
> 
> 
> Andy
> 

Hi Andy,

here is what my log looks, when bind starts:

named_start("Aug-1","14:04:22","BIND 9.2.3 -t /var/lib/named -u named").
named_listening("Aug-1","14:04:23","IP127000000001").
named_listening("Aug-1","14:04:23","IP192168048228").
named_command("Aug-1","14:04:24","IP192168020228","PORT00953").
named_command("Aug-1","14:04:24","IP127000000001","PORT00953").
named_loaded("Aug-1","14:04:44",".").
named_loaded("Aug-1","14:04:45","5wc").
named_loaded("Aug-1","14:04:45","arpa").
named_loaded("Aug-1","14:04:46","in-addr.arpa").
...
named_running("Aug-1","14:05:52").
named_notify("Aug-1","14:05:52",".","2005080112)").
named_notify("Aug-1","14:05:53","in-addr.arpa","2005080104)").
...
named_lame("Aug-1","14:06:00","IP216066037013","'dynupdate.no-ip.com'").
named_serial("Aug-1","14:06:03","nl.vg","2005073100").
named_axfr_in("Aug-1","14:06:03","IP084022100006","nl.vg").
named_serial("Aug-1","14:06:03","eu.vg","2004110100").
named_axfr_in("Aug-1","14:06:03","IP084022100006","eu.vg").
named_notify("Aug-1","14:06:03","nl.vg","2005073100)").
named_notify("Aug-1","14:06:03","eu.vg","2004110100)").

I guess your bind only reached named_start.

The listing is somewhat shortened and beautyfied.

If your bind is started in chroot mode then its directories should
look something like

echnaton 1.0.9 # ls -l /var/lib/named
total 7
drwxr-xr-x    2 named    root         1024 Oct  9 23:48 DNSOP
drwxr-xr-x    2 named    root         1024 Oct  3 19:18 Tallini
drwxr-x---    2 named    root         1024 Feb  1  2005 dev
drwxr-x---    2 named    root         1024 Oct  9 23:16 etc
drwxr-xr-x    2 named    root         1024 Sep 19 10:42 master
drwxr-xr-x    2 named    root         1024 Oct 12 11:15 slave
drwxr-xr-x    5 named    root         1024 Feb  1  2005 var

echnaton 1.0.9 # ls -l /var/lib/named/var
total 3
drwxr-xr-x    2 named    root         1024 Jun  5 17:47 log
drwxr-x---    2 named    root         1024 Feb  1  2005 named
drwxr-x---    2 named    root         1024 Oct 12 03:52 run

echnaton 1.0.9 # ls -l /var/lib/named/var/run
total 1
-rw-r--r--    1 named    named           4 Oct 12 03:52 named.pid

Maybe you have to check the directory structure.
Maybe you have to create (vi :) the named.pid file and chown it
to named.named

If this does not help please tell how far you bind comes.

Dont worry your listing will look a bit different.

We shall look into resolving and serving DNS as soon as your
bind comes up.

Kind regards,
Peter and Karin

-- 
Peter and Karin Dambier
Public-Root
Graeffstrasse 14
D-64646 Heppenheim
+49-6252-671788 (Telekom)
+49-179-108-3978 (O2 Genion)
+49-6252-750308 (VoIP: sipgate.de)
mail: peter at peter-dambier.de
mail: peter at echnaton.serveftp.com
http://iason.site.voila.fr
http://www.kokoom.com/iason



More information about the bind-users mailing list