| View previous topic :: View next topic |
| Author |
Message |
Linus Fresher
Joined: 04 Dec 2006 Posts: 14
|
Posted: Wed Dec 06, 2006 7:07 pm Post subject: Dynamical DNS Updates |
|
|
I’ve configured my “FC3” server to run “DNS” and “DHCP” simultaneously, giving an "UPDATE_KEY" that permits “DHCPD” to overwrite “NAMED” zone files.
It all worked fine until few days ago. Now, as I can see from log files, “DHCP” gave addresses to my clients and write on log file. The “named” zone files were updated erroneously.
Clearing, addresses, and all other correct information were passed to my clients, but no record has been added to zone files.
The last updates I made on my system were regarding “DHCPD,” “NAMED,” and “kernel,” but I made this using “Fedora Update Manager.”
Is that a possible reason for this problem? |
|
| Back to top |
|
 |
Anton Fresher
Joined: 04 Dec 2006 Posts: 12
|
Posted: Wed Dec 06, 2006 7:07 pm Post subject: |
|
|
“DHCP/DNS” breaks very easily; it relies on “TXT” records. “DHCP” keeps a copy of the “TXT” keys it sets, and “DNS” has the “TXT” records in the zone file. If they get out-of-step, “DNS” refuses to update.
Maybe the “Fedora” update wrote a new, empty “/var/lib/dhcp/dhcpd.leases” or moved the file to “/var/lib/dhcpd”?
If they are out-of-step, stop the named service (to update the zone files from the journal files), and edit the “forward” and “reverse” zone files to remove all of the old “DHCP A,” “PTR,” and “TXT” records. Stop the “dhcpd” service and empty the leases file, rename it and create a new one. Start both services again and test to see what happens. If you use “DNS” replication, remember to increment the “SOA” serial numbers. |
|
| Back to top |
|
 |
|