Cry for help here....

Mark_Andrews at isc.org Mark_Andrews at isc.org
Tue Sep 10 21:11:48 UTC 2002


> Being a newbie to bind, I'm having some problems getting my NS up and
> running....I think there may be lines missing or formatted incorrectly from
> my RR's, but I'm not quite sure.
> 
> Here's what I'm trying to do:
> Set up ns1.lcs1.net to be *the* nameserver for www.lcs1.net.  Bind,
> webserver and mailserver are running on same machine (IP 66.68.81.190), and
> here are my config files:
> 
> *************
> named.conf:
> *************
> //** Local file locations
> 
> options {
>  directory "/usr/local/named";
>  };
> 
> //** Local file configurations for lcs1.net
> 
> zone "lcs1.net" in {
>  type master;
>  file "db.lcs1";
> };
> 
> //** in-arpa 66.68.81.190
> 
> zone "81.68.66.in-addr.arpa" in {
>  type master;
>  file "db.66.68.81";
> };
> 
> //** Hints file
> 
> zone "." in {
>  type hint;
>  file "db.cache";
> };
> 
> //** 127
> 
> zone "0.0.127.in-addr.arpa" in {
>  type master;
>  file "db.127.0.0";
> };
> 
> 
> ***********
> db.lcs1:
> ***********
> ;SOA
> 
> lcs1.net. IN SOA ns1.lcs1.net. lcs.austin.rr.com. (
>  1 ; Serial
>  10800 ; Refresh every 3 hours
>  3600 ; Retry after 1 hour
>  604800 ; Expire after 1 week
>  86400 ) ; Minimum TTL of 1 day
> 
> ;NS Records
> 
> lcs1.net. IN NS ns1.lcs1.net.
> 
> ;Host Addresses
> 
> localhost.lcs1.net. IN A 127.0.0.1
> lcs1.net.  IN A 66.68.81.190
> ns1.lcs.net.  in a 66.68.81.190
> 
> ;mx
> 
> lcs1.net. in mx 10 lcs1.net.
> ************
> db.66.68.81:
> ************
> ;soa
> 
> 190.81.68.66.in-addr.arpa. in soa ns1.lcs1.net. lcs.austin.rr.com (
>  1 ;serial
>  10800 ;refresh 3 hrs
>  3600 ;retry 1 hr
>  604800 ;expire 1wk
>  86400 ) ;ttl 1 day
> 
> ;ns
> 
> 190.81.68.66.in-addr.arpa. in ns ns1.lcs1.net.
> 
> ;ptr
> 
> 190.81.68.66.in-addr.arpa. in ptr lcs1.net.
> **********
> db.cache
> **********
> (was just downloaded 3 days ago, should be current)
> 
> ********
> db.127.0.0:
> ********
> ;soa
> 
> 0.0.127.in-addr.arpa. in soa lcs1.net. lcs.austin.rr.com. (
>  1 ;serial
>  10800 ;refresh 3 hr
>  3600 ;retry 1 hr
>  604800 ;exp 1 wk
>  86400 ) ;ttl 1 day
> 
> ;ns
> 
> 0.0.127.in-addr.arpa. in ns ns1.lcs1.net.
> 
> ;ptr
> 
> 1.0.0.127.in-addr.arpa. in ptr localhost.
> 
> 
> ********************
> all that being said, here's the appropriate section from the 'messages' log:
> 
> Sep 10 00:59:14 lcs1 named[694]: starting BIND 9.2.1
> Sep 10 00:59:14 lcs1 named[694]: using 1 CPU
> Sep 10 00:59:15 lcs1 named[694]: loading configuration from
> '/etc/named.conf'
> Sep 10 00:59:15 lcs1 modprobe: can't locate module net-pf-10
> Sep 10 00:59:15 lcs1 named[694]: no IPv6 interfaces found
> Sep 10 00:59:15 lcs1 named[694]: listening on IPv4 interface lo,
> 127.0.0.1#53
> Sep 10 00:59:15 lcs1 named[694]: listening on IPv4 interface eth0,
> 192.168.50.2#53
> Sep 10 00:59:15 lcs1 named[694]: listening on IPv4 interface eth1,
> 66.68.81.190#53
> Sep 10 00:59:15 lcs1 named[694]: none:0: open: /etc/rndc.key: file not found
> Sep 10 00:59:15 lcs1 named[694]: couldn't add command channel 127.0.0.1#953:
> file not found

	See rndc-confgen

> Sep 10 00:59:15 lcs1 named[694]: db.127.0.0:3: no TTL specified; using SOA
> MINTTL instead

	Add a $TLL directive.  See doc/arm/Bv9ARM.html (Zone File).

> Sep 10 00:59:15 lcs1 named[694]: zone 0.0.127.in-addr.arpa/IN: loaded serial
> 1
> Sep 10 00:59:15 lcs1 named[694]: db.66.68.81:3: no TTL specified; using SOA
> MINTTL instead
> Sep 10 00:59:15 lcs1 named[694]: dns_master_load: db.66.68.81:16:
> 190.81.68.66.in-addr.arpa: not at top of zone
> Sep 10 00:59:15 lcs1 named[694]: zone 81.68.66.in-addr.arpa/IN: loading
> master file db.66.68.81: not at top of zone

	81.68.66.in-addr.arpa (named.conf) vs 190.81.68.66.in-addr.arpa
	(db.66.68.81).

> Sep 10 00:59:15 lcs1 named[694]: db.lcs1:3: no TTL specified; using SOA
> MINTTL instead
> Sep 10 00:59:15 lcs1 named[694]: dns_master_load: db.lcs1:18: ignoring
> out-of-zone data (ns1.lcs.net)

	ns1.lcs.net vs ns1.lcs1.net

> Sep 10 00:59:15 lcs1 named[694]: zone lcs1.net/IN: loaded serial 1
> Sep 10 00:59:15 lcs1 named[694]: running
> Sep 10 00:59:15 lcs1 named[694]: zone 0.0.127.in-addr.arpa/IN: sending
> notifies (serial 1)
> 
> 
> 
> All help is greatly, greatly, appreciated.
> 
> 
> 
> Thanks,
> 
> Jeremy
> 
> 
--
Mark Andrews, Internet Software Consortium
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