LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-24-2006, 09:56 AM   #1
davidino
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
problem with dynamical DNS updates


Hi all and thanks a lot for your patience....I apologize for my bad english.

I've this big problem, I haven't before.

I've configured my FC3 server to run DNS and DHCP simultaneously, giving an "UPDATE_KEY" that permit to DHCPD to overwrite NAMED zone files.

All worked fine until few days ago.

Now, as I can see from log files, DHCP give addresses to my clients and
write on log file that named zone files have been updated...but isn't true!!!

Cleaing, addresses and all other right informations are passed to my clients, but no record has been added to zone files...

The last updates I make on my system regard DHCPD, NAMED and kernel, but I made this using Fedora Update Manager....Is that a possible reason for this problem???

Thanks for your help!!!

Bye

....what about my english???
 
Old 04-25-2006, 07:36 PM   #2
DaveG
Member
 
Registered: Nov 2001
Location: London, UK
Distribution: Fedora
Posts: 161

Rep: Reputation: 43
English OK, problem more difficult!

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 revers 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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Automating DNS Updates Elijah Linux - Networking 2 05-31-2004 05:19 AM
Dynamic DNS updates? darkfame Linux - Networking 2 12-01-2003 08:26 AM
DNS - DHCP Updates TheRealDeal Linux - Networking 2 11-21-2003 06:10 AM
DNS - DHCP Updates TheRealDeal Linux - General 1 11-21-2003 01:10 AM
CRON and DNS updates thenebula Linux - Newbie 1 10-13-2003 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:56 PM.

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