- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Bind 9.2 Dynamic DNS with Active Directory
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
Discussions
Discussions
Discussions
Forums
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
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
тАО10-31-2005 03:55 AM
тАО10-31-2005 03:55 AM
Bind 9.2 Dynamic DNS with Active Directory
Since the AD servers must be able to update DNS, I have added entries like the following into my named.conf file:
acl "ad-abc.com" {
1.2.3.22;
1.2.3.20;
1.2.3.21;
};
zone "abc.com" {
type master;
file "db.abc";
allow-update { "ad-abc.com"; };
};
This seems to be working as it shoud. Windows is adding the entries it needs for AD to work.
I had an initial problem where I would get a "journal out of sync with zone" error when stopping and restarting named. I have gotten around that by configuring keys and using 'rndc stop' to stop named.
Now the problem I have is with updating entries in DNS. Historically we have done this by editing the /etc/hosts file and then running a script which runs hosts_to_named with multiple '-d' and '-n' arguments so all of our domaing and networks will be processed.
This does not seem to work well now. I have added a new host to the /etc/hosts file and verified that the name and the IP address are unique. I then ran our update script. When I then do an nslookup for any hosts it failes with "*** dnsserver.abc.com can't find host1: server failed". It fails for *ANY* host that is in the same domain as the new host I added. If I take out the new entry things work again.
When our update script runs, it stops named (via 'rndc stop'), runs hosts_to_named, and then restarts named (via '/sbin/init.d/named start').
Is there another, better, way to do our updates?
How do other folks handle updates like this?
I am currently at a loss.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2005 05:23 AM
тАО10-31-2005 05:23 AM
Re: Bind 9.2 Dynamic DNS with Active Directory
http://www.btree.org/dnsupdate/
That's what I use.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2005 05:24 AM
тАО10-31-2005 05:24 AM
Re: Bind 9.2 Dynamic DNS with Active Directory
Therefore, one could have the windows server do a text dump of the DNS database to a location that can be accessed by the HP-UX DNS/Bind server.
cron can trigger an ssh job to copie the databases to a place where they can be copied into /var/named and automatically restart the named daemon.
It may seem like a job but the hosts_to_named option never worked for me either in my lab and I sent to a situation where the actual dns database was downloaded.
Another idea would be to make the HP-UX DNS server not a master server but a slave. Some kind of access to the Windows ADS server is required but this might also solve the problem.
Nice to talk to you Patrick. I wish I could have made it to Orlando to speak/drink/etc with you again.
Maybe next year. HP-World Europe anybody?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2005 05:43 AM
тАО10-31-2005 05:43 AM
Re: Bind 9.2 Dynamic DNS with Active Directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2005 06:01 AM
тАО10-31-2005 06:01 AM
Re: Bind 9.2 Dynamic DNS with Active Directory
One caveat - don't let MS DHCP servers allow-update - there is a bug (suprise) in MS DHCP - where they don't update PTR records when they remove an A record. How do they fix their own? they run a "scavender" script after the fact to clean up extra PTR records...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2005 06:33 AM
тАО10-31-2005 06:33 AM
Re: Bind 9.2 Dynamic DNS with Active Directory
This portion of the nsupdate command says it all:
"Zones that are under dynamic control voa nsupdate or a DHCP server should not be edited by hand. Manual edits could conflict with dynamic updates and cause data to be lost."
I would also use ISC's dhcpd; it's very good and works and plays well with DDNS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2005 06:45 AM
тАО10-31-2005 06:45 AM
Re: Bind 9.2 Dynamic DNS with Active Directory
I **think** I have figured a work-around (very ugly work-around) for my current issue. I am going to wait a bit before I assign points and post my resolution to see if anyone else chimes in.