- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: ddns - zone file update
Operating System - Linux
1756299
Members
2820
Online
108844
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО12-27-2010 05:24 PM
тАО12-27-2010 05:24 PM
ddns - zone file update
Hi there
When I add a new Windows machine or Ubuntu machine to my network then the dhcpd updates the zone file fine:
Nov 22 21:57:37 localhost dhcpd: DHCPOFFER on 10.10.20.205 to 00:0c:29:8b:d9:5e (testhost) via eth0
Nov 22 21:57:38 localhost named[5049]: client 127.0.0.1#39824: updating zone 'testdomain.com/IN': adding an RR at 'testhost.testdomain.com' A
Nov 22 21:57:38 localhost named[5049]: client 127.0.0.1#39824: updating zone 'testdomain.com/IN': adding an RR at 'testhost.testdomain.com' TXT
Nov 22 21:57:38 localhost named[5049]: zone testdomain.com/IN: sending notifies (serial 144)
Nov 22 21:57:38 localhost dhcpd: Added new forward map from testhost.testdomain.com. to 10.10.20.205
It's not doing that if a new CentOS machine is added to the network:
Dec 27 20:22:20 localhost dhcpd: DHCPREQUEST for 10.10.20.242 from 00:0c:29:8f:e9:7c via eth0
Dec 27 20:22:20 localhost dhcpd: DHCPACK on 10.10.20.242 to 00:0c:29:8f:e9:7c via eth0
Any ideas on what would be the reason of that strange behavior ?
Regards
Peter
When I add a new Windows machine or Ubuntu machine to my network then the dhcpd updates the zone file fine:
Nov 22 21:57:37 localhost dhcpd: DHCPOFFER on 10.10.20.205 to 00:0c:29:8b:d9:5e (testhost) via eth0
Nov 22 21:57:38 localhost named[5049]: client 127.0.0.1#39824: updating zone 'testdomain.com/IN': adding an RR at 'testhost.testdomain.com' A
Nov 22 21:57:38 localhost named[5049]: client 127.0.0.1#39824: updating zone 'testdomain.com/IN': adding an RR at 'testhost.testdomain.com' TXT
Nov 22 21:57:38 localhost named[5049]: zone testdomain.com/IN: sending notifies (serial 144)
Nov 22 21:57:38 localhost dhcpd: Added new forward map from testhost.testdomain.com. to 10.10.20.205
It's not doing that if a new CentOS machine is added to the network:
Dec 27 20:22:20 localhost dhcpd: DHCPREQUEST for 10.10.20.242 from 00:0c:29:8f:e9:7c via eth0
Dec 27 20:22:20 localhost dhcpd: DHCPACK on 10.10.20.242 to 00:0c:29:8f:e9:7c via eth0
Any ideas on what would be the reason of that strange behavior ?
Regards
Peter
Jesus is the King
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2010 11:09 PM
тАО12-27-2010 11:09 PM
Re: ddns - zone file update
> Nov 22 21:57:37 localhost dhcpd: DHCPOFFER on 10.10.20.205 to 00:0c:29:8b:d9:5e (testhost) via eth0
> Dec 27 20:22:20 localhost dhcpd: DHCPREQUEST for 10.10.20.242 from 00:0c:29:8f:e9:7c via eth0
Hmm... looks like the first one has a name (testhost) associated with it in the dhcpd configuration, but perhaps the other hasn't?
It might be rather difficult for dhcpd to create a DDNS update request if there is no hostname configured for that DHCP client.
MK
> Dec 27 20:22:20 localhost dhcpd: DHCPREQUEST for 10.10.20.242 from 00:0c:29:8f:e9:7c via eth0
Hmm... looks like the first one has a name (testhost) associated with it in the dhcpd configuration, but perhaps the other hasn't?
It might be rather difficult for dhcpd to create a DDNS update request if there is no hostname configured for that DHCP client.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2010 11:33 AM
тАО12-29-2010 11:33 AM
Re: ddns - zone file update
hi
as Matti says
some linux OS need to set the name in other for the OS to register his name on the DHCP
check the leases you will find that Windows logs its name but not the same for Ubuntu
/var/lib/dhcpd/dhcpd.leases
so do this well this work for RH-Centos.... don't know for Ubuntu
set hostname in /etc/sysconfig/network
HOSTNAME=machine.testdomain.com
and ifcfg-eth0
DHCP_HOSTNAME=machine
and do a dhclient or service network reload and check your DHCP Logs
as Matti says
some linux OS need to set the name in other for the OS to register his name on the DHCP
check the leases you will find that Windows logs its name but not the same for Ubuntu
/var/lib/dhcpd/dhcpd.leases
so do this well this work for RH-Centos.... don't know for Ubuntu
set hostname in /etc/sysconfig/network
HOSTNAME=machine.testdomain.com
and ifcfg-eth0
DHCP_HOSTNAME=machine
and do a dhclient or service network reload and check your DHCP Logs
Didn't your momma teach you to say thanks!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP