DHCP Redundancy Forum

DHCP Redundancy for free
 
HomeHome  ­FAQFAQ  ­SearchSearch  ­RegisterRegister  ­MemberlistMemberlist  ­UsergroupsUsergroups  ­Log inLog in  ­Back to DHCP-RedundancyBack to DHCP-Redundancy  
Post new topic   Reply to topicShare | 
 

 Linux DNS record deleted during sync on secondary server

View previous topic View next topic Go down 
AuthorMessage
achmadi



Posts: 1
Join date: 2009-01-23

PostSubject: Linux DNS record deleted during sync on secondary server   Fri Jan 23, 2009 8:32 am

I've found that on windows + linux environment, after DHCP synchronization all linux DNS record are missing. FYI, it only happen on DNS record for clients with DHCP IP assignment. DNS record for linux client with reservation works perfectly.

On another lab environment, I found that all DNS record for clients with DHCP IP assignment disappear on synchronization phase (both windows and linux).

Im using suse linux 9.3 for client and windows 2003 R2 for DHCP server, AD + DNS server.

Looks like this process happen during import phase. I've tried :

"netsh dhcp server import backupfile.txt"

and after that suddenly all DNS record for linux client with DHCP IP assignment got disappeared.

To overcome this problem I setup scheduled task to rename dhcp.mdb to dhcp_backup.mdb on C:\windows\system32\dhcp about 3 minutes (or more) before synchronization period on secondary DHCP server. Another approach is by simply deleting dhcp.mdb on that directory. After synchronization, DHCP server will rebuild the database using the information from primary DHCP server's backup.

Why I choose 3 minutes? Sometimes synchronization phase on secondary server running ahead of time. For example, I setup 15:15 using DHCP Redundancy config, but it runs on 15:13. I don't know why, but it happen several times on my lab.

Stefan, if you can make this process runs integrated with DHCP sync on secondary server and see what happen with the execution time bug, that would be awesome.

Thanks Smile
Back to top Go down
View user profile
Admin
Admin


Posts: 68
Join date: 2007-07-26

PostSubject: Re: Linux DNS record deleted during sync on secondary server   Mon Feb 02, 2009 6:04 am

Hi, I will take a look at this problem in the next version.
Back to top Go down
View user profile http://dhcp-redundancy.forumotion.com
prl77
Guest



PostSubject: Re: Linux DNS record deleted during sync on secondary server   Tue Feb 17, 2009 7:12 pm

I'm having a very similar issue, but no linux involved. Basically, every time the service runs the import, several (not all) DNS entries are removed from the zone file. I will try achmadi's workaround and report back.
Back to top Go down
prl77
Guest



PostSubject: Re: Linux DNS record deleted during sync on secondary server   Tue Feb 17, 2009 7:39 pm

I can confirm this problem occurs between just two Windows 2003 servers (no Linux) and also that achmadi's workaround works. Thanks.
Back to top Go down
Admin
Admin


Posts: 68
Join date: 2007-07-26

PostSubject: Re: Linux DNS record deleted during sync on secondary server   Wed Feb 18, 2009 5:28 am

This will be fixed in next version that are coming soon.
Back to top Go down
View user profile http://dhcp-redundancy.forumotion.com
Admin
Admin


Posts: 68
Join date: 2007-07-26

PostSubject: Re: Linux DNS record deleted during sync on secondary server   Mon Mar 02, 2009 10:55 am

You can now download version 1.5, the problem should be solved in this version.
Back to top Go down
View user profile http://dhcp-redundancy.forumotion.com
prl77
Guest



PostSubject: Re: Linux DNS record deleted during sync on secondary server   Tue Mar 03, 2009 4:57 pm

Works for me, thanks very much for all your work on this.
Almost hard to believe that this functionality is not part of Windows servers by default...
Back to top Go down
 

Linux DNS record deleted during sync on secondary server

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You can reply to topics in this forum
DHCP Redundancy Forum :: DHCP-Redundancy :: DHCP-Redundancy Installation-
Post new topic   Reply to topic