Need help re-establishing my DNS...

Mark_Andrews at isc.org Mark_Andrews at isc.org
Mon Oct 29 03:03:25 UTC 2001



> 
> Well, I've done lots of reading...spent all weekend trying to
> re-establish my DNS and I still need some help.  So no flames, please.
> (:
> 
> I've included all the information I thought may be helpful to figuring
> out what the problem is.  I just can't get anything out of the DNS. 
> The line "server IS NOT loading its configuration" from named status
> makes me think that there is a configuration problem, but i don't see
> anything wrong with my various files...
> 
> Anything you could do to help would be appreciated.  
> 
> email to: ultramafic1 at yahoo.com
> 
> Thanks in advance....
> 
> 
> PROBLEM-RELATED INFO:
> 
> OS          : Linux/PPC 2000 (Kernel 2.2.18-4hpmac on a ppc)
> named       : 8.2.2-P7 Sun Nov 12 18:52:02 MST 2000 

	Please upgrade
	http://www.isc.org/products/BIND/bind-security.html

> host        : test
> domain      : weems.org
> IP          : 192.168.1.210
> 
> Note: 24.237.6.176 is the IP associated with my domain name in at
> Network solutions.  I have that assigned to my router which passes all
> traffic for the IP address to my local machine 192.168.1.210 which is
> behind my router/firewall (D-Link 714 wireless router AP).  There do
> not seem to be any non-DNS related issues involving network interface,
> acessibility, etc.
> 
> output from nslookup:
> test> nslookup weems.org
> *** Can't find server name for address 192.168.1.210: 
>     No response from server
> *** Default servers are not available

	192.168 is private address space.  It is up to you to provide
	the reverse mappings.

> 
> sample DIG query:
> ; <<>> DiG 8.2 <<>> weems.org
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;;      weems.org, type = A, class = IN
> ;; AUTHORITY SECTION:
> weems.org.              1D IN SOA       24.237.6.176. root.localhost. (
>                                         1997022722      ; serial
>                                         8H              ; refresh
>                                         4H              ; retry
>                                         5w6d16h         ; expiry
>                                         1D )            ; minimum
> ;; Total query time: 4 msec
> ;; FROM: test to SERVER: default -- 192.168.1.210
> ;; WHEN: Sun Oct 28 17:53:09 2001
> ;; MSG SIZE  sent: 27  rcvd: 89
> 
> 
> sample snippet from /etc/named.conf file:
> options {
>         directory "/var/named";
> };
> zone "." {
>         type hint;
>         file "named.ca";
> };
> zone "weems.org"{
>         type master;
>         file "weems.org";
> };
> 
> a sample /var/named/x.x file:
> weems.org.      IN      SOA     24.237.6.176.      root.localhost. (

	The MNAME field should be a hostname, not a IP address.

>                         1997022722 ; serial
>                         28800 ; refresh
>                         14400 ; retry
>                         3600000 ; expire
>                         86400 ; default_ttl
>                         )
> weems.org.      IN      NS      localhost.
> weems.org.      IN      MX 10   24.237.6.176.

	MX records refer to hostnames not IP addresses.

> 1               IN      PTR     localhost.
> 
> 
> resolv.conf file:
> domain weems.org.
> nameserver 192.168.1.210   ; test.weems.org
> nameserver 208.138.130.16  ; iliamna
> nameserver 130.118.4.2     ; spurr
> 
> 
> output from /etc/init.d/named status :
> named 8.2.2-P7 Sun Nov 12 18:52:02 MST 2000 
> trini at entropy.crashing.org:/usr/src
> /rh62_build/bind/BUILD/bind-8.2.2_P7/src/bin/named
> number of zones allocated: 64
> debug level: 2
> xfers running: 0
> xfers deferred: 0
> soa queries in progress: 0
> query logging is OFF
> server is DONE priming
> server IS NOT loading its configuration
> 
> 
> /var/log/messages: (snippet)
> Oct 28 17:07:56 test named[1238]: listening on [127.0.0.1].53 (lo)
> Oct 28 17:07:56 test named[1238]: listening on [192.168.1.210].53 (eth0)
> Oct 28 17:07:56 test named[1238]: Forwarding source address is
>                                   [0.0.0.0].1038
> Oct 28 17:07:56 test named[1239]: group = 25
> Oct 28 17:07:56 test named: named startup succeeded
> Oct 28 17:07:56 test named[1239]: user = named
> Oct 28 17:07:56 test named[1239]: Ready to answer queries.
> 
> 
> /var/named/named.run: (snippet)
> zone 0: ., class 0, type cache
>         flags 0, serial 0, minimum 0
>         refresh 0, retry 0, expire 0
>         z_time 0
> zone 1: ., class IN, type hint
>         source named.ca
>         flags 40, serial 0, minimum 4294967295
>         refresh 0, retry 0, expire 0
>         z_time 0
> zone 2: weems.org, class IN, type master
>         source weems.org
>         flags 10041, serial 1997022722, minimum 86400
>         refresh 0, retry 14400, expire 3600000
>         z_time 0
> zone 3: seanweems.com, class IN, type master
>         source seanweems.com
>         flags 10041, serial 1997022722, minimum 86400
>         refresh 0, retry 14400, expire 3600000
>         z_time 0
> zone 4: weemsworld.com, class IN, type master
>         source weemsworld.com
>         flags 10041, serial 1997022722, minimum 86400
>         refresh 0, retry 14400, expire 3600000
>         z_time 0
> zone 5: magicbrownie.com, class IN, type master
>         source magicbrownie.com
>         flags 10041, serial 1997022722, minimum 86400
>         refresh 0, retry 14400, expire 3600000
>         z_time 0
> zone 6: kotyk.net, class IN, type master
>         source kotyk.net
>         flags 10041, serial 1997022722, minimum 86400
>         refresh 0, retry 14400, expire 3600000
>         z_time 0
> zone 7: dragonlands.net, class IN, type master
>         source dragonlands.net
>         flags 40, serial 0, minimum 4294967295
>         refresh 0, retry 0, expire 0
>         z_time 0
> zone 8: netpackrat.com, class IN, type master
>         source netpackrat.com
>         flags 10041, serial 1997022722, minimum 86400
>         refresh 0, retry 14400, expire 3600000
>         z_time 0
> zone 9: 0.0.127.in-addr.arpa, class IN, type master
>         source named.local
>         flags 10041, serial 1997022700, minimum 86400
>         refresh 0, retry 14400, expire 3600000
>         z_time 0
> 
> 
> Kernel IP routing table
> Destination  Gateway       Genmask      Flags Metric Ref    Use Iface       
> 192.168.1.0     *          255.255.255.0   U     0      0    0 eth0
> 127.0.0.0       *          255.0.0.0       U     0      0    0 lo
> default      192.168.1.1   0.0.0.0         UG    0      0    0 eth0
> 
> ifconfig:
> test> ifconfig -a
> eth0      Link encap:Ethernet  HWaddr 00:05:02:D6:5C:73
>           inet addr:192.168.1.210  Bcast:192.168.1.255  
>           Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:5975 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:3130 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           Interrupt:14 Base address:0x1000
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:3924  Metric:1
>           RX packets:233 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:233 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
> 
--
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