Dynamic DNS not Working
Hi all
I have Red Hat Enterprise Linux ES release 4 (Nahant) with 2.6.9-5.ELsmp kernel. I have configured Dynamic DNS.
but my clients are unable to register to my dns server.
some times it gets updated automatically but some times it gives error.
when the clients get ip for the first time(Windows 2k professional and Windows XP), they are unable to ping
to my mailserver it says unknown host, but when they do ipconfig/release and ipconfig/renew, they are able to ping to my mailserver.
my mailserver hostname is mailsrv01.msdpl.com
i get the following eror
###################################################
Mar 19 09:15:02 msdpl named[19516]: client 192.168.129.20#32781: updating zone 'msdpl.com/IN': update failed: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 19 09:15:02 msdpl named[19516]: client 192.168.129.20#32781: updating zone 'msdpl.com/IN': update failed: 'RRset exists (value dependent)' prerequisite not satisfied (NXRRSET)
Mar 19 09:15:02 msdpl dhcpd: Can't update forward map DC2.msdpl.com to 192.168.129.243: no such RRset
###################################################
if we do ipconfig/registerdns also it gives the above error.
my /etc/dhcpd.conf file is
##################################################
default-lease-time 259200;
max-lease-time 259200;
option domain-name "msdpl.com";
option domain-name-servers 192.168.129.20,192.168.129.18;
option netbios-name-servers 192.168.129.20;
option netbios-node-type 8; ### Node type = Hybrid ###
ddns-updates on; ### Dynamic DNS enabled ###
ddns-update-style interim;
authoritative;
subnet 192.168.129.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.129.30 192.168.129.254;
option subnet-mask 255.255.255.0;
option routers 192.168.129.1;
# ddns-domainname "msdpl.com";
# ddns-rev-domainname "129.168.192.in-addr.arpa";
allow unknown-clients;
}
##################################################
my named.conf file
#####################################################
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
acl msdpl {
192.168.129.0/24;
};
zone "msdpl.com" IN {
type master;
file "msdpl.com.zone";
notify yes;
allow-query { msdpl; };
allow-transfer { msdpl; };
allow-update { msdpl; };
};
zone "129.168.192.in-addr.arpa" IN {
type master;
file "192.168.129.20.rev";
notify yes;
allow-query { msdpl; };
allow-transfer { msdpl; };
allow-update { msdpl; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
include "/etc/rndc.key";
#####################################################
the following is my zone file
######################################################
$ORIGIN .
$TTL 86400 ; 1 day
msdpl.com IN SOA msdpl.com. root.msdpl.com. (
431 ; serial
10800 ; refresh (3 hours)
900 ; retry (15 minutes)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
NS ns.msdpl.com.
NS ns1.msdpl.com.
A 192.168.129.20
MX 10 mailsrv01.msdpl.com.
$ORIGIN msdpl.com.
$TTL 1200 ; 20 minutes
CONFERENCEHALL A 192.168.129.79
CW10 A 192.168.129.57
$TTL 86400 ; 1 day
dbsvr01 A 192.168.129.9
$TTL 1200 ; 20 minutes
DC08 A 192.168.129.244
DC082 A 192.168.129.247
DC098 A 192.168.129.222
$TTL 129600 ; 1 day 12 hours
DC102 A 192.168.129.106
TXT "3171daddd0a32d60f6a9e99a1905e0b7dd"
$TTL 1200 ; 20 minutes
DC103C A 192.168.129.40
DC104 A 192.168.129.253
DC105 A 192.168.129.80
$TTL 129600 ; 1 day 12 hours
dc106 A 192.168.129.35
TXT "3189fd21ecca4fec784479f6f1dd6c700c"
$TTL 1200 ; 20 minutes
dc107 A 192.168.129.138
$TTL 129600 ; 1 day 12 hours
DC109 A 192.168.129.97
TXT "31d005d6464e20aeac6dbcdc5524aa8f1c"
$TTL 1200 ; 20 minutes
dc111 A 192.168.129.113
dc112 A 192.168.129.87
dc113 A 192.168.129.86
DC114 A 192.168.129.67
dc119 A 192.168.129.55
$TTL 129600 ; 1 day 12 hours
DC119L A 192.168.129.76
TXT "31bc51ce1929ec8737f195733e59d02865"
$TTL 1200 ; 20 minutes
dc13 A 192.168.129.45
$TTL 129600 ; 1 day 12 hours
dc14 A 192.168.129.70
TXT "31111aea3dab045ec3a1286ce8e5aa5e59"
$TTL 1200 ; 20 minutes
dc210 A 192.168.129.61
dc210xp A 192.168.129.60
dc212 A 192.168.129.31
dc24 A 192.168.129.104
dc27 A 192.168.129.100
$TTL 129600 ; 1 day 12 hours
DC45 A 192.168.129.42
TXT "316fb32532365e57a65a8999aa4a477dbe"
$TTL 1200 ; 20 minutes
dc46 A 192.168.129.59
dc47 A 192.168.129.129
dc48 A 192.168.129.204
dc49 A 192.168.129.77
$TTL 129600 ; 1 day 12 hours
dc50 A 192.168.129.62
TXT "31e74809a0e7870b6d8a98e40594f72d0c"
$TTL 1200 ; 20 minutes
DC51 A 192.168.129.95
DC52 A 192.168.129.74
$TTL 129600 ; 1 day 12 hours
dc53 A 192.168.129.119
TXT "314d5349d575837e4c4fe02421394dfad8"
$TTL 1200 ; 20 minutes
dc54 A 192.168.129.39
DC55 A 192.168.129.56
DC56 A 192.168.129.63
$TTL 129600 ; 1 day 12 hours
DC57 A 192.168.129.92
TXT "319b5b4be751592e6eb4a86c951356647f"
$TTL 1200 ; 20 minutes
dc58 A 192.168.129.32
$TTL 129600 ; 1 day 12 hours
DC65 A 192.168.129.66
TXT "3144bb8438c049aa8fdc5e8259e8c224de"
$TTL 1200 ; 20 minutes
dc68 A 192.168.129.48
$TTL 129600 ; 1 day 12 hours
DC69 A 192.168.129.82
TXT "31b0d15fe2c684f0b2b81ec21ac01c08b8"
$TTL 1200 ; 20 minutes
dc70greenhills A 192.168.129.33
$TTL 129600 ; 1 day 12 hours
DC71C A 192.168.129.140
TXT "319eb29de2c807732ad5a2290b5c2e820b"
dc73 A 192.168.129.44
TXT "31d95d35cbd9720441e508e8371698a951"
$TTL 1200 ; 20 minutes
dc75 A 192.168.129.64
DC76 A 192.168.129.81
DC80 A 192.168.129.136
DC81 A 192.168.129.71
DC83 A 192.168.129.89
$TTL 129600 ; 1 day 12 hours
DC84 A 192.168.129.51
TXT "31ae4db696605ede8310a0839632c459f4"
dc85 A 192.168.129.96
TXT "3192dc813716de0300aee2da75ab38ae2f"
$TTL 1200 ; 20 minutes
DC86 A 192.168.129.52
DC87 A 192.168.129.137
DC88 A 192.168.129.250
DC90 A 192.168.129.58
DC91 A 192.168.129.94
dc93 A 192.168.129.60
DC94 A 192.168.129.128
$TTL 129600 ; 1 day 12 hours
DC98 A 192.168.129.109
TXT "3169a28aa7e31c229e2602e450b9559fde"
$TTL 1200 ; 20 minutes
DC99 A 192.168.129.133
DCR08 A 192.168.129.38
docsys1 A 192.168.129.246
docsys2 A 192.168.129.117
docsys3 A 192.168.129.46
docsys4 A 192.168.129.34
$TTL 86400 ; 1 day
fsrv01 A 192.168.129.18
linuxtemp A 192.168.129.254
mailsrv01 A 192.168.129.13
$TTL 129600 ; 1 day 12 hours
mcs654 A 192.168.129.37
TXT "3185fa10f8706befd70fb4c493d6109c6d"
mdsystem A 192.168.129.150
TXT "31109aa1e0f3e81bf0191d5207670dc0aa"
$TTL 86400 ; 1 day
medhapdc A 192.168.129.20
$TTL 129600 ; 1 day 12 hours
medhassu A 192.168.129.50
TXT "31ee086b40100d99fd964d67f626cea1cf"
$TTL 1200 ; 20 minutes
MEI633SOFT1 A 192.168.129.43
MEPROOM A 192.168.129.85
MEPTESTBENCH A 192.168.129.85
MiniConfHall2 A 192.168.129.249
networkdept1 A 192.168.129.54
$TTL 86400 ; 1 day
ns A 192.168.129.20
$TTL 1200 ; 20 minutes
ns-4 A 192.168.129.221
$TTL 86400 ; 1 day
ns1 A 192.168.129.20
$TTL 129600 ; 1 day 12 hours
printsrv001 A 192.168.129.105
TXT "310e69f49499b349195a01c9db01671061"
$TTL 86400 ; 1 day
prjsrv01 A 192.168.129.22
$TTL 129600 ; 1 day 12 hours
psbabu A 192.168.129.90
TXT "318db198269cc41bf2336de6dab7cd6147"
service-5 A 192.168.129.242
TXT "3166b3bb792c0
######################################################
Please guide me
Regards
Niranjan
|