Hi Guys,
I have implemented dhcps server under RHEL 5. Now I'm trying to integrate my dhcps server with the dns server running on the same RHEL box. I have followed the Redhat Kbase article to implement this. But for me its not working and I'm unable to troubleshoot the problem too.
Here I have attached the error thrown by DNS and dhcpd service while updating the client A records in DNS.
Code:
#tail -f /var/log/messages
Jul 25 11:16:58 dhcpserver dhcpd: DHCPDISCOVER from 00:0c:29:c6:5f:69 (hari-test-01) via eth0
Jul 25 11:16:58 dhcpserver dhcpd: DHCPOFFER on 192.1.1.158 to 00:0c:29:c6:5f:69 (hari-test-01) via eth0
Jul 25 11:16:58 dhcpserver dhcpd: DHCPDISCOVER from 00:0c:29:c6:5f:69 (hari-test-01) via eth0
Jul 25 11:16:58 dhcpserver dhcpd: DHCPOFFER on 192.1.1.158 to 00:0c:29:c6:5f:69 (hari-test-01) via eth0
Jul 25 11:16:58 dhcpserver named[5993]: client 192.1.1.148#1054: updating zone 'solutions.in/IN': update unsuccessful: hari-test-01.solutions.in: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 25 11:16:58 dhcpserver named[5993]: client 192.1.1.148#1054: updating zone 'solutions.in/IN': update unsuccessful: hari-test-01.solutions.in/TXT: 'RRset exists (value dependent)' prerequisite not satisfied (NXRRSET)
Jul 25 11:16:58 dhcpserver dhcpd: Forward map from hari-test-01.solutions.in to 192.1.1.158 FAILED: Has an A record but no DHCID, not mine.
Jul 25 11:16:58 dhcpserver dhcpd: DHCPREQUEST for 192.1.1.158 (192.1.1.148) from 00:0c:29:c6:5f:69 (hari-test-01) via eth0
Jul 25 11:16:58 dhcpserver dhcpd: DHCPACK on 192.1.1.158 to 00:0c:29:c6:5f:69 (hari-test-01) via eth0
Jul 25 11:16:58 dhcpserver named[5993]: client 192.1.1.148#1054: updating zone 'solutions.in/IN': update unsuccessful: hari-test-01.solutions.in: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 25 11:16:58 dhcpserver named[5993]: client 192.1.1.148#1054: updating zone 'solutions.in/IN': update unsuccessful: hari-test-01.solutions.in/TXT: 'RRset exists (value dependent)' prerequisite not satisfied (NXRRSET)
Jul 25 11:16:58 dhcpserver dhcpd: Forward map from hari-test-01.solutions.in to 192.1.1.158 FAILED: Has an A record but no DHCID, not mine.
Jul 25 11:16:58 dhcpserver dhcpd: DHCPREQUEST for 192.1.1.158 (192.1.1.148) from 00:0c:29:c6:5f:69 (hari-test-01) via eth0
Jul 25 11:16:58 dhcpserver dhcpd: DHCPACK on 192.1.1.158 to 00:0c:29:c6:5f:69 (hari-test-01) via eth0
And my dhcpd.conf file looks like this:
Code:
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
option domain-name-servers 192.1.1.148;
default-lease-time 6000;
max-lease-time 7200;
log-facility daemon;
ddns-update-style interim;
allow client-updates;
authoritative;
zone solutions.in. {
primary 192.1.1.148;
}
zone 1.1.192.in-addr.arpa. {
primary 192.1.1.148;
}
subnet 192.1.1.0 netmask 255.255.255.0 {
option domain-name "solutions.in";
option routers 192.1.1.1;
range 192.1.1.150 192.1.1.160;
}
Please help me out to resolve this problem...
Thanks A lot in Advance...!!!