parthiban3md |
08-05-2008 09:08 AM |
ddns -error in updating
Aug 5 18:15:18 inside dhcpd: DHCPDISCOVER from 00:80:48:4b:f3:40 (sns) via eth0
Aug 5 18:15:19 inside dhcpd: DHCPOFFER on 192.168.0.53 to 00:80:48:4b:f3:40 (sns) via eth0
Aug 5 18:15:20 inside dhcpd: Unable to add forward map from sns.techteam.com to 192.168.0.53: timed out
Aug 5 18:15:20 inside dhcpd: DHCPREQUEST for 192.168.0.53 (192.168.0.26) from 00:80:48:4b:f3:40 (sns) via eth0
Aug 5 18:15:20 inside dhcpd: DHCPACK on 192.168.0.53 to 00:80:48:4b:f3:40 (sns) via eth0
Aug 5 18:17:27 inside NET[10156]: /sbin/dhclient-script : updated /etc/resolv.conf
i have got this error msg when in dhcp updating ddns server
my dns and dhcp r in same box
here is my named.conf
PHP Code:
// // named.caching-nameserver.conf // // Provided by Red Hat caching-nameserver package to configure the // ISC BIND named(8) DNS server as a caching only nameserver // (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // // DO NOT EDIT THIS FILE - use system-config-bind or an editor // to create named.conf - edits to this file will be lost on // caching-nameserver package upgrade. // options { directory "/var/named"; //internet dns forwarders {4.2.2.3;}; }; controls { inet {127.0.0.1;} port 953 allow {localhost;} key {key rndckey} } acl techteam { 192.168.0.0/24; 127.0.0.1; } acl techteam { 192.168.0.0/24; 127.0.0.1; } key "rndckey" { algorithm hmac-md5; secret "zuhYPtbFGC3LYbZDWPRk2PXx05Zf3f0Z165JZ05Im5VZguVsVmvCAG0CDGmZ"; }; zone "inside.techteam.com" IN { type master; file "forward.zone";//this file resides in /var/named/chroot/var/named allow-update { key "rndckey"; }; //allow this machine to update the DNS table }; # reverse zone zone "0.168.192.in-addr.arpa" IN { type master; file "reverse.zone";//this file resides in /var/named/chroot/var/named allow-update { key "rndckey"; }; //allow this machine to update the DNS table };
and my dhcpd.conf is
PHP Code:
# # DHCP Server Configuration file. # see /usr/share/doc/dhcp*/dhcpd.conf.sample ddns-updates on; ddns-update-style interim; allow client-updates; #ignore client-updates; log-facility local7; subnet 192.168.0.0 netmask 255.255.255.0 { # --- default gateway option routers 192.168.0.1; option subnet-mask 255.255.255.0; option nis-domain "techteam.com"; option domain-name "techteam.com"; option domain-name-servers 4.2.2.2; option time-offset -18000; # Eastern Standard Time # option ntp-servers 192.168.1.1; # option netbios-name-servers 192.168.1.1; # --- Selects point-to-point node (default is hybrid). Don't change this unless # -- you understand Netbios very well # option netbios-node-type 2; range dynamic-bootp 192.168.0.51 192.168.0.59; default-lease-time 21600; max-lease-time 43200; # we want the nameserver to appear at a fixed address host ns { hardware ethernet 00:08:A1:78:46:98; fixed-address 192.168.0.2; } host ram { hardware ethernet 00:0F:EA:99:37:34; fixed-address 192.168.0.25; } host inside { hardware ethernet 00:0C:29:2F:C4:49; fixed-address 192.168.0.26; } } key "rndckey" { algorithm hmac-md5; secret "zuhYPtbFGC3LYbZDWPRk2PXx05Zf3f0Z165JZ05Im5VZguVsVmvCAG0CDGmZ"; }; zone inside.techteam.com{ primary 127.0.0.1; key rndckey; } zone 0.168.192.in.addr.arpa{ primary 127.0.0.1; key rndckey; }
|