ddns doofus needs help

Mark_Andrews at isc.org Mark_Andrews at isc.org
Mon Sep 22 06:43:13 UTC 2003


> Hello,
> Somone please help me. I've read everything i think i should have read but
> I'm stil tuh stoopid tuh git ddns werking on my RH9.0 Linux box. I've
> included below my named and dhcpd config files and their logs in the
> /var/messages files. from these logs it seems that dhcpd times out when
> trying to update and and named never reports the attempt. I note that in a
> named.run file which came in from the ether named reports finding no journal
> file.
> what kills me is that i had this working before in a slightly different
> configuration (of course i've deleted it) but i wanted to make some simple
> little changes and now the computer is telling me to get a job at
> mccdonalds. just fyi i also included the ipconfig report from the windows
> box that's trying to make the ddns update. please let me know what i'm doing
> wrong and please email it to me at mev at navresearch.com.
> 
> THANKS!!
> 
> mev
> 
> ps excuse the fact that the clocks are different on the different machines.
> 
> named.custom file...
> 
> zone "internal.com" {
>    type master ;
>    file "internal.com.zone" ;
>    allow-update { 192.168.1/24 ; } ;
> };
> 
> zone "1.168.192.in-addr.arpa" {
>    type master ;
>    file "1.168.192.in-addr.arpa.zone" ;
>    allow-update { 192.168.1/24 ; } ;
> };
> 
> dhcpd.conf file...
> 
> ddns-update-style interim;
> ddns-updates on;
> allow client-updates;
> authoritative;
> 
> subnet 192.168.1.0 netmask 255.255.255.0 {
>    option routers 192.168.1.1;
>    option subnet-mask 255.255.255.0;
>    option nis-domain "internal.com";
>    option domain-name "internal.com";
>    option domain-name-servers 192.168.1.2;
> 
>    range dynamic-bootp 192.168.1.100 192.168.1.255;
>    default-lease-time 60;
>    max-lease-time 60;
> }
> 
> 
> /var/log/messages file, selected reports...
> 
> Apr 30 23:00:18 dc named[2051]: starting BIND 9.2.1 -d 1 -f -u named
> Apr 30 23:00:18 dc named[2051]: using 1 CPU
> Apr 30 23:00:18 dc named[2051]: loading configuration from '/etc/named.conf'
> Apr 30 23:00:18 dc named[2051]: no IPv6 interfaces found
> Apr 30 23:00:18 dc named[2051]: listening on IPv4 interface lo, 127.0.0.1#53
> Apr 30 23:00:18 dc named[2051]: listening on IPv4 interface eth0,
> 192.168.1.2#53
> Apr 30 23:00:18 dc named[2051]: zone 'internal.com' allows updates by IP
> address, which is insecure
> Apr 30 23:00:18 dc named[2051]: zone '1.168.192.in-addr.arpa' allows updates
> by IP address, which is insecure
> Apr 30 23:00:18 dc named[2051]: command channel listening on 127.0.0.1#953
> Apr 30 23:00:18 dc named[2051]: zone 0.0.127.in-addr.arpa/IN: loaded serial
> 1
> Apr 30 23:00:18 dc named[2051]: zone 1.168.192.in-addr.arpa/IN: loaded
> serial 2
> Apr 30 23:00:18 dc named[2051]: zone internal.com/IN: loaded serial 2
> Apr 30 23:00:18 dc named[2051]: zone localhost/IN: loaded serial 1
> Apr 30 23:00:18 dc named[2051]: running
> Apr 30 23:00:18 dc named[2051]: zone internal.com/IN: sending notifies
> (serial 2)
> Apr 30 23:00:18 dc named[2051]: zone 1.168.192.in-addr.arpa/IN: sending
> notifies (serial 2)
> Apr 30 23:00:25 dc dhcpd: Internet Software Consortium DHCP Server V3.0pl1
> Apr 30 23:00:25 dc dhcpd: Copyright 1995-2001 Internet Software Consortium.
> Apr 30 23:00:25 dc dhcpd: All rights reserved.
> Apr 30 23:00:25 dc dhcpd: For info, please visit
> http://www.isc.org/products/DHCP
> Apr 30 23:00:25 dc dhcpd: Wrote 1 leases to leases file.
> Apr 30 23:00:25 dc dhcpd: Listening on
> LPF/eth0/00:40:33:a6:46:be/192.168.1.0/24
> Apr 30 23:00:25 dc dhcpd: Sending on
> LPF/eth0/00:40:33:a6:46:be/192.168.1.0/24
> Apr 30 23:00:25 dc dhcpd: Sending on Socket/fallback/fallback-net
> Apr 30 23:02:45 dc dhcpd: DHCPDISCOVER from 00:00:b4:c0:ba:75 (acer) via
> eth0
> Apr 30 23:02:46 dc dhcpd: DHCPOFFER on 192.168.1.254 to 00:00:b4:c0:ba:75
> (acer) via eth0
> Apr 30 23:02:47 dc dhcpd: delete IN PTR 254.1.168.192.in-addr.arpa. add 30
> IN PTR 254.1.168.192.in-addr.arpa. acer.internal.com: timed out.
> Apr 30 23:02:47 dc dhcpd: DHCPREQUEST for 192.168.1.254 (192.168.1.2) from
> 00:00:b4:c0:ba:75 (acer) via eth0
> Apr 30 23:02:47 dc dhcpd: DHCPACK on 192.168.1.254 to 00:00:b4:c0:ba:75
> (acer) via eth0
> ...
> Apr 30 23:06:55 dc dhcpd: delete IN PTR 254.1.168.192.in-addr.arpa. add 30
> IN PTR 254.1.168.192.in-addr.arpa. acer.internal.com: timed out.
> Apr 30 23:06:55 dc dhcpd: DHCPREQUEST for 192.168.1.254 from
> 00:00:b4:c0:ba:75 (acer) via eth0
> Apr 30 23:06:55 dc dhcpd: DHCPACK on 192.168.1.254 to 00:00:b4:c0:ba:75
> (acer) via eth0
> Apr 30 23:07:41 dc named[2051]: shutting down
> Apr 30 23:07:41 dc named[2051]: stopping command channel on 127.0.0.1#953
> Apr 30 23:07:41 dc named[2051]: no longer listening on 127.0.0.1#53
> Apr 30 23:07:41 dc named[2051]: no longer listening on 192.168.1.2#53
> Apr 30 23:07:41 dc named[2051]: exiting
> 
> 
> named.run file...
> 
> Apr 30 23:00:18.886 now using logging configuration from config file
> Apr 30 23:00:18.888 load_configuration: success
> Apr 30 23:00:18.889 zone 0.0.127.in-addr.arpa/IN: starting load
> Apr 30 23:00:18.893 zone 0.0.127.in-addr.arpa/IN: loaded
> Apr 30 23:00:18.894 zone 0.0.127.in-addr.arpa/IN: journal rollforward
> completed successfully: no journal
> Apr 30 23:00:18.894 zone 0.0.127.in-addr.arpa/IN: loaded serial 1
> Apr 30 23:00:18.895 zone 1.168.192.in-addr.arpa/IN: starting load
> Apr 30 23:00:18.899 zone 1.168.192.in-addr.arpa/IN: loaded
> Apr 30 23:00:18.899 zone 1.168.192.in-addr.arpa/IN: journal rollforward
> completed successfully: no journal
> Apr 30 23:00:18.900 zone 1.168.192.in-addr.arpa/IN: loaded serial 2
> Apr 30 23:00:18.900 zone internal.com/IN: starting load
> Apr 30 23:00:18.904 zone internal.com/IN: loaded
> Apr 30 23:00:18.905 zone internal.com/IN: journal rollforward completed
> successfully: no journal
> Apr 30 23:00:18.906 zone internal.com/IN: loaded serial 2
> Apr 30 23:00:18.906 zone localhost/IN: starting load
> Apr 30 23:00:18.910 zone localhost/IN: loaded
> Apr 30 23:00:18.910 zone localhost/IN: journal rollforward completed
> successfully: no journal
> Apr 30 23:00:18.911 zone localhost/IN: loaded serial 1
> Apr 30 23:00:18.911 dns_zone_maintenance: zone internal.com/IN: enter
> Apr 30 23:00:18.912 dns_zone_maintenance: zone 1.168.192.in-addr.arpa/IN:
> enter
> Apr 30 23:00:18.912 dns_zone_maintenance: zone 0.0.127.in-addr.arpa/IN:
> enter
> Apr 30 23:00:18.912 dns_zone_maintenance: zone localhost/IN: enter
> Apr 30 23:00:18.912 dns_zone_maintenance: zone version.bind/CH: enter
> Apr 30 23:00:18.912 dns_zone_maintenance: zone authors.bind/CH: enter
> Apr 30 23:00:18.912 running
> Apr 30 23:00:18.917 zone_timer: zone internal.com/IN: enter
> Apr 30 23:00:18.917 zone_maintenance: zone internal.com/IN: enter
> Apr 30 23:00:18.918 zone internal.com/IN: sending notifies (serial 2)


> Apr 30 23:00:18.921 createfetch: 192.168.1.2 A
> Apr 30 23:00:18.921 createfetch: 192.168.1.2 A6

	Are you using a IP address (192.168.1.2) where a hostname is
	expected?  NS records point to hosts not IP addresses.  SOA MNAME
	should be a hostname.

> Apr 30 23:00:18.922 zone_timer: zone 1.168.192.in-addr.arpa/IN: enter
> Apr 30 23:00:18.922 zone_maintenance: zone 1.168.192.in-addr.arpa/IN: enter
> Apr 30 23:00:18.922 zone 1.168.192.in-addr.arpa/IN: sending notifies (serial
> 2)
> Apr 30 23:00:18.925 zone_timer: zone 0.0.127.in-addr.arpa/IN: enter
> Apr 30 23:00:18.925 zone_maintenance: zone 0.0.127.in-addr.arpa/IN: enter
> Apr 30 23:00:18.925 zone_timer: zone localhost/IN: enter
> Apr 30 23:00:18.925 zone_maintenance: zone localhost/IN: enter
> Apr 30 23:00:18.926 zone_timer: zone version.bind/CH: enter
> Apr 30 23:00:18.926 zone_maintenance: zone version.bind/CH: enter
> Apr 30 23:00:18.926 zone_timer: zone authors.bind/CH: enter
> Apr 30 23:00:18.926 zone_maintenance: zone authors.bind/CH: enter
> Apr 30 23:00:18.926 createfetch: . NS
> Apr 30 23:01:48.941 createfetch: 192.168.1.2 AAAA
> Apr 30 23:02:46.038 createfetch: 192.168.1.2 A
> Apr 30 23:07:13.743 createfetch: 192.168.1.2 A
> Apr 30 23:07:17.749 createfetch: 192.168.1.2 A
> Apr 30 23:07:41.387 shutting down
> Apr 30 23:07:41.388 stopping command channel on 127.0.0.1#953
> Apr 30 23:07:41.391 no longer listening on 127.0.0.1#53
> Apr 30 23:07:41.391 no longer listening on 192.168.1.2#53
> Apr 30 23:07:41.401 exiting
> 
> 
> Windows 2000 machine
> c:> ipconfig /all...
> 
> Windows 2000 IP Configuration
> Host Name . . . . . . . . . . . . : acer
> Primary DNS Suffix . . . . . . . : internal.com
> Node Type . . . . . . . . . . . . : Broadcast
> IP Routing Enabled. . . . . . . . : No
> WINS Proxy Enabled. . . . . . . . : No
> DNS Suffix Search List. . . . . . : internal.com
> Ethernet adapter Local Area Connection:
> Connection-specific DNS Suffix . : internal.com
> Description . . . . . . . . . . . : Realtek RTL8139(A) PCI Fast Ethernet
> Adapter
> Physical Address. . . . . . . . . : 00-00-B4-C0-BA-75
> DHCP Enabled. . . . . . . . . . . : Yes
> Autoconfiguration Enabled . . . . : Yes
> IP Address. . . . . . . . . . . . : 192.168.1.254
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 192.168.1.1
> DHCP Server . . . . . . . . . . . : 192.168.1.2
> DNS Servers . . . . . . . . . . . : 192.168.1.2
> Lease Obtained. . . . . . . . . . : Wednesday, September 17, 2003 10:38:08
> PM
> Lease Expires . . . . . . . . . . : Wednesday, September 17, 2003 10:39:08
> PM
> 
> 
> 
--
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