LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-26-2009, 11:52 PM   #1
haariseshu
Member
 
Registered: Jan 2008
Location: Noida, India
Distribution: RHEL
Posts: 81

Rep: Reputation: 15
Question dhcpd+ddns Update error:


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...!!!
 
Old 07-27-2009, 10:52 PM   #2
ablackton
LQ Newbie
 
Registered: Jul 2009
Distribution: SUSE, Debian, Gentoo
Posts: 2

Rep: Reputation: 0
Hey haariseshu,
You need to allow permissions in your named.conf file to allow dhcpd to update your zone files. For example:
Code:
#/etc/named.conf
# Zone Declaration for solutions.in
zone "solutions.in" {
type master;
file "solutions.in.zone"
allow-update { 192.1.1.148; };
};
zone "1.1.192.in-addr.arpa" {
type master;
file "1.1.192.in-addr.arpa.zone";
allow-update { 192.1.1.148; };
};
I don't know if it would make any difference but I would also add
Code:
ddns-domainname "solutions.in.";
To your dhcpd.conf file...

Hope this helps!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP DDNS BIND: dhcpd not doing its share of the lifting dick.swift Linux - Server 1 05-06-2009 09:05 AM
ddns and dhcpd sportf Linux - Networking 1 03-20-2007 09:26 PM
named + dhcpd -> ddns configuration ? Suhy Linux - Networking 25 02-17-2007 09:56 PM
DDNS with BIND and ISC-DHCPD joel112 Linux - Software 1 05-25-2006 11:06 AM
BIND 9/DHCPD DDNS Not Functioning Corxscrew Linux - Networking 2 02-07-2005 05:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration