#1  
Old 1st June 2012, 20:09
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default DNS resync / mirror problem.

Hi,

Everything has been working fine or thats what I thought.
I needed to renew one of my name servers. I switched it off thinking that one of the others (have 3 in all) would take over. All domains went "offline".
In ISPConfig ns2 and ns3 are mirrors of ns1. I am running version 3.0.4.5

Below zone is from one of my domains :
On ns1 :
Code:
$TTL        3600
@       IN      SOA     ns1.superweb.dk. admin.superweb.dk. (
                        2012060107       ; serial, todays date + todays serial #
                        3600              ; refresh, seconds
                        3600              ; retry, seconds
                        3600              ; expire, seconds
                        3600 )            ; minimum, seconds
;

coolride.dk. 3600      NS        ns1.superweb.dk.
coolride.dk. 3600      NS        ns2.superweb.dk.
coolride.dk. 3600      NS        ns3.superweb.dk.
On ns2:
Code:
$TTL        3600
@       IN      SOA     ns1.superweb.dk. admin.superweb.dk. (
                        2012060107       ; serial, todays date + todays serial #
                        3600              ; refresh, seconds
                        3600              ; retry, seconds
                        3600              ; expire, seconds
                        3600 )            ; minimum, seconds
;

coolride.dk. 3600 A        92.62.196.69
coolride.dk. 3600      MX    15   coolride.dk.
coolride.dk. 3600      MX    10   mail.coolride.dk.
coolride.dk. 3600      NS        ns1.superweb.dk.
coolride.dk. 3600      NS        ns2.superweb.dk.
coolride.dk. 3600      NS        ns3.superweb.dk.
ftp.coolride.dk. 3600      CNAME        coolride.dk.
mail.coolride.dk. 3600 A        92.62.196.69
www.coolride.dk. 3600      CNAME        coolride.dk.
And on ns3 :
Code:
$TTL        3600
@       IN      SOA     ns1.superweb.dk. admin.superweb.dk. (
                        2012060107       ; serial, todays date + todays serial #
                        3600              ; refresh, seconds
                        3600              ; retry, seconds
                        3600              ; expire, seconds
                        3600 )            ; minimum, seconds
;

coolride.dk. 3600      NS        ns1.superweb.dk.
coolride.dk. 3600      NS        ns2.superweb.dk.
coolride.dk. 3600      NS        ns3.superweb.dk.
I have tried using the resync function and can see that all 3 are increased in serial.
I can connect to the master database from all 3 name servers.
Any suggestions?
__________________
VoiceMe
Communications


Hosted at :
SuperWeb.dk
a part of VoiceMe
Reply With Quote
Sponsored Links
  #2  
Old 1st June 2012, 20:23
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default From DIG

From dig @localhost coolride.dk
On NS1 :
Code:
; <<>> DiG 9.6-ESV-R4 <<>> @localhost coolride.dk
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8703
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;coolride.dk.                   IN      A

;; AUTHORITY SECTION:
coolride.dk.            3600    IN      SOA     ns1.superweb.dk. admin.superweb.dk. 2012060107 3600 3600 3600 3600

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  1 20:15:02 2012
;; MSG SIZE  rcvd: 84
ON NS2 :
Code:
; <<>> DiG 9.6-ESV-R4 <<>> @localhost coolride.dk
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16214
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

;; QUESTION SECTION:
;coolride.dk.                   IN      A

;; ANSWER SECTION:
coolride.dk.            3600    IN      A       92.62.196.69

;; AUTHORITY SECTION:
coolride.dk.            3600    IN      NS      ns1.superweb.dk.
coolride.dk.            3600    IN      NS      ns3.superweb.dk.
coolride.dk.            3600    IN      NS      ns2.superweb.dk.

;; ADDITIONAL SECTION:
ns1.superweb.dk.        600     IN      A       92.62.196.66
ns2.superweb.dk.        600     IN      A       92.62.196.67
ns3.superweb.dk.        3600    IN      A       92.62.196.77

;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  1 20:21:33 2012
;; MSG SIZE  rcvd: 156
On NS3 :
Code:
; <<>> DiG 9.7.3 <<>> @localhost coolride.dk
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35248
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;coolride.dk.                   IN      A

;; AUTHORITY SECTION:
coolride.dk.            3600    IN      SOA     ns1.superweb.dk. admin.superweb.dk. 2012060107 3600 3600 3600 3600

;; Query time: 0 msec
;; SERVER: ::1#53(::1)
;; WHEN: Fri Jun  1 20:18:42 2012
;; MSG SIZE  rcvd: 84
__________________
VoiceMe
Communications


Hosted at :
SuperWeb.dk
a part of VoiceMe
Reply With Quote
  #3  
Old 2nd June 2012, 11:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Please check your syslog for named errors on all three nodes.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 2nd June 2012, 11:55
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default

No errors related to that domain (edit)

I know that the serial in below is different that my previous sent, but tried a few things without luck. Zones are still the same but with new serial.
From NS1 :
Quote:
Jun 2 10:57:05 ns1 named[6860]: zone coolride.dk/IN: loaded serial 2012060201
Jun 2 10:57:05 ns1 named[6860]: zone coolride.dk/IN: sending notifies (serial 2012060201)
NS2
Quote:
Jun 2 11:03:09 ns2 named[1927]: zone coolride.dk/IN: loaded serial 2012060201
Jun 2 11:03:09 ns2 named[1927]: zone coolride.dk/IN: sending notifies (serial 2012060201)
.
.
Jun 2 11:03:10 ns2 named[1927]: client 192.168.100.1#38473: received notify for zone 'coolride.dk'
NS3
Quote:
Jun 2 11:03:06 ns3 named[3458]: zone coolride.dk/IN: loaded serial 2012060201
Jun 2 11:03:06 ns3 named[3458]: zone coolride.dk/IN: sending notifies (serial 2012060201)
.
.
Jun 2 11:03:11 ns3 named[3458]: client 192.168.100.1#19685: received notify for zone 'coolride.dk'
Errors seen for other domains, but this is only in the syslog on NS1:
Quote:
Jun 2 10:51:12 ns1 named[6860]: zone dkleader.dk/IN: has no NS records
Jun 2 10:51:12 ns1 named[6860]: zone dkleader.dk/IN: not loaded due to errors.
__________________
VoiceMe
Communications


Hosted at :
SuperWeb.dk
a part of VoiceMe

Last edited by DKLeader; 2nd June 2012 at 12:00. Reason: Forgot a comment
Reply With Quote
  #5  
Old 3rd June 2012, 00:35
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Just tried deleting DNS for Coolride and created it again.
Then it was created on all 3 name servers.
Do I then have to do this for all my domains? Got more than 50.

And why did they suddenly loose part of the information and why can't it resync all information?
__________________
VoiceMe
Communications


Hosted at :
SuperWeb.dk
a part of VoiceMe
Reply With Quote
  #6  
Old 4th June 2012, 13:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Not sure what happened, but to me it looks as if you had a faulty master zone:

Quote:
Jun 2 10:51:12 ns1 named[6860]: zone dkleader.dk/IN: has no NS records
Jun 2 10:51:12 ns1 named[6860]: zone dkleader.dk/IN: not loaded due to errors.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
bind, dns, name server, resync

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS data from Standalone servers to Primary DNS server SamTzu Tips/Tricks/Mods 7 15th November 2009 13:38
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
Google Apps dayjahone General 19 29th March 2008 17:25
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34


All times are GMT +2. The time now is 12:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.