DDNS update timed out
Roelf Schreurs
rosc at imc.nl
Mon Jan 28 09:59:14 UTC 2002
Hey
This has been discussed before but I can't get ddns to work properly.
(Looked in all archives but can't find solution).
BIND and DHCP run on the same server IP 192.168.100.45 called
imcdt.intra.imc. Trying to add dhcp client called roelf.
I have done chmod o+w on /var/named as root needs to create
/var/named/intra.imc.jnl. But the file doesn't get created.
This is the error.
Jan 28 09:57:54 imcdt dhcpd: if IN A roelf.intra.imc rrset doesn't exist
add 302400 IN A roelf.intra.imc 192.168.100.199:
timed out.
DHCP start fine:
Jan 28 09:10:57 imcdt dhcpd: Internet Software Consortium DHCP Server V3.0
Jan 28 09:10:57 imcdt dhcpd: Copyright 1995-2001 Internet Software Consortium.
Jan 28 09:10:57 imcdt dhcpd: All rights reserved.
Jan 28 09:10:57 imcdt dhcpd: For info, please visit
http://www.isc.org/products/DHCP
Jan 28 09:10:58 imcdt dhcpd: Wrote 0 leases to leases file.
Jan 28 09:10:58 imcdt dhcpd: Listening on LPF/eth0//192.168.100.0/24
Jan 28 09:10:58 imcdt dhcpd: Sending on LPF/eth0//192.168.100.0/24
Jan 28 09:10:58 imcdt dhcpd: Sending on Socket/fallback/fallback-net
Bind starts fine:
Jan 28 09:57:50 imcdt /usr/sbin/named[1687]: starting BIND 9.1.3
Jan 28 09:57:50 imcdt /usr/sbin/named[1687]: using 1 CPU
Jan 28 09:57:50 imcdt /usr/sbin/named[1689]: loading configuration from
'/etc/named.conf'
Jan 28 09:57:50 imcdt /usr/sbin/named[1689]: zone 'intra.imc' allows
updates by IP address, which is insecure
Jan 28 09:57:50 imcdt /usr/sbin/named[1689]: zone 'in-addr.arpa' allows
updates by IP address, which is insecure
Jan 28 09:57:50 imcdt /usr/sbin/named[1689]: the default for the
'auth-nxdomain' option is now 'no'
Jan 28 09:57:50 imcdt /usr/sbin/named[1689]: no IPv6 interfaces found
Jan 28 09:57:50 imcdt /usr/sbin/named[1689]: listening on IPv4 interface
lo, 127.0.0.1#53
Jan 28 09:57:50 imcdt /usr/sbin/named[1689]: listening on IPv4 interface
eth0, 192.168.100.45#53
Jan 28 09:57:50 imcdt /usr/sbin/named[1689]: running
/etc/dhcpd.conf
option domain-name "intra.imc";
default-lease-time 604800;
max-lease-time 2419200;
ddns-update-style ad-hoc;
option domain-name-servers 192.168.100.45;
subnet 192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.100 192.168.100.200;
option routers 192.168.100.10;
option subnet-mask 255.255.255.0;
ddns-updates on;
ddns-domainname "intra.imc";
ddns-rev-domainname "in-addr.arpa";
}
/etc/named.conf
options {
directory "/var/named/";
pid-file "named.pid";
allow-query { any; };
forwarders { x.x.x.x; };
};
zone "." {
type hint;
file "root.hints";
};
zone "intra.imc" {
type master;
file "intra.imc";
allow-transfer { any; };
allow-update { 192.168.100.45; 127.0.0.1; };
check-names ignore;
};
zone "in-addr.arpa" {
type master;
file "100.168.192";
allow-transfer { any; };
allow-update { 192.168.100.45; 127.0.0.1; };
};
/var/named/intra.imc
$ORIGIN .
$TTL 86400 ;
intra.imc. IN SOA imcdt.intra.imc.
root.imcdt.intra.imc. (
2002012800 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; minimum
)
NS imcdt.intra.imc.
$ORIGIN intra.imc.
$TTL 3600 ;
imcdt A 192.168.100.47
localhost A 127.0.0.1
/var/named/100.168.192
$TTL 86400 ;
imcdt.intra.imc. IN SOA imcdt.intra.imc.
root.imcdt.intra.imc. (
2002012800 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; minimum
)
@ IN NS ns.imcdt.intra.imc.
44 IN PTR imcdt.intra.imc.
To be honest, I think I made a mistake in my zone files, but can't see
where. Maybe somebody can help me solve this please.
The bad part of this is that I had it working!! Then I installed a raid
controller, but didn't back up the files before reinstalling. F at CK.
Thanks
<--- Roelf Schreurs --->
<--- IMC --->
Linux is like a wigwam - no windows, no gates, apache inside!
More information about the bind-users
mailing list