- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: dns dhcp dynamic update
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 03:53 AM
08-24-2005 03:53 AM
dns dhcp dynamic update
i've a problem with dynamic update with dns ans dhcp.
I use redhat AS 3.0 update 5.
Bind version 9.2.4.7
dhcp 3.0.1-10
I configured my named.conf:
key DHCP_UPDATER {
algorithm HMAC-MD5;
secret "xxxxxxxx";
};
controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { "DHCP_UPDATER"; };
};
zone "test.it" {
type master;
notify no;
file "db.test";
allow-update { key DHCP_UPDATER; };
};
zone "20.172.in-addr.arpa" {
type master;
notify no;
file "20.172.in-addr.arpa";
allow-update { key DHCP_UPDATER; };
};
My dhcpd.conf:
key DHCP_UPDATER {
algorithm HMAC-MD5;
secret "xxxxxxxx";
};
zone db.test{
primary 127.0.0.1;
key DHCP_UPDATER;
}
zone 20.172.in-addr.arpa {
primary 127.0.0.1;
key DHCP_UPDATER;
}
But i get some errors in /var/log/messages:
Aug 24 17:55:20 linux dhcpd: Unable to add forward map from vpn.harpaitalia.it to 172.20.40.133: timed out
Aug 24 17:55:20 linux dhcpd: DHCPREQUEST for 172.20.40.133 from 00:0c:29:1d:f7:be (vpn) via eth0
Aug 24 17:55:20 linux dhcpd: DHCPACK on 172.20.40.133 to 00:0c:29:1d:f7:be (vpn) via eth0
Aug 24 17:55:20 linux named[2071]: client 172.20.10.2#32773: update 'test.it/IN' denied
Any suggestion??
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 04:18 AM
08-24-2005 04:18 AM
Re: dns dhcp dynamic update
I am not expert on this but it looks to be permission related problem. DHCP server runs as non root user, may be it does not have permission to update DNS table (typical file/user permission).
Second the secret key that you use may be wrong , may be in wrong format.
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 07:06 AM
08-24-2005 07:06 AM
Re: dns dhcp dynamic update
An example is located here:
http://www.mattfoster.clara.co.uk/ddns.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 06:57 PM
08-24-2005 06:57 PM
Re: dns dhcp dynamic update
check whether your /etc/named directory
it should be owned by named user
check it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 06:57 PM
08-24-2005 06:57 PM
Re: dns dhcp dynamic update
check your /etc/named directory permission
it should be owned by named user
check it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 07:45 PM
08-24-2005 07:45 PM
Re: dns dhcp dynamic update
Now it seems to work...
Only for some clients i get this error:
Aug 25 09:46:28 linux named[13037]: client 172.20.40.5#1179: updating zone 'test.it/IN': update failed: 'RRset exists (value dependent)' prerequisite not satisfied (NXRRSET)
Aug 25 09:46:28 linux named[13037]: client 172.20.40.5#1182: update 'test.it/IN' denied
Yesterday i erase by hand the entry of client marpel on the file of the dns zone test.it
Suggestion??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 08:26 AM
08-25-2005 08:26 AM
Re: dns dhcp dynamic update
Windows 2000 pro and above tries to update the DNS server when they get an ip address. Is not the DHCP server who updates the DNS server for these clients.
Ans as you configured secured updates with keys, as the windows clients does not have the key to pass to the dhcp server, the update is rejected.
For more information about the update style and the problem, see:
http://linuxreviews.org/man/dhcpd.conf/