#1  
Old 10th January 2011, 20:08
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 transfer to slave missing

Hi,

All servers I am running are physical servers.
All are running on Debian Lenny.
ISPConfig is version 3.0.3.1

Have 2 nameservers (ns1.superweb.dk and ns2.superweb.dk) running fine in the setup. Decided to have an extra ns (ns3.superweb.dk) and got the permission from dk-hostmaster.dk (need a permission in Denmark to host .dk domains).
I have used the installation guide "Installing A Multiserver Setup With Dedicated Web, Email, DNS And MySQL Database Servers On Debian 5.0 With ISPConfig 3" on "6 Installing The Secondary DNS Server" (believe it would be the same for a third DNS server).

But the DNS zones are not copied to ns3.superweb.dk.

If I do a
Code:
dig @ns1.superweb.dk superweb.dk
I get
Code:
MainServer:/var/www/backups# dig @ns1.superweb.dk superweb.dk

; <<>> DiG 9.6-ESV-R3 <<>> @ns1.superweb.dk superweb.dk
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20149
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

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

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

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

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

;; Query time: 1 msec
;; SERVER: 92.62.196.66#53(92.62.196.66)
;; WHEN: Mon Jan 10 19:12:22 2011
;; MSG SIZE  rcvd: 147
If I do a
Code:
dig @ns3.superweb.dk superweb.dk
I get :
Code:
MainServer:/var/www/backups# dig @ns3.superweb.dk superweb.dk

; <<>> DiG 9.6-ESV-R3 <<>> @ns3.superweb.dk superweb.dk
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14983
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

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

;; AUTHORITY SECTION:
superweb.dk.            3600    IN      SOA     ns1.superweb.dk. admin.superweb.dk. 2011010608 3600 3600 1209600 3600

;; Query time: 1 msec
;; SERVER: 92.62.196.77#53(92.62.196.77)
;; WHEN: Mon Jan 10 19:12:33 2011
;; MSG SIZE  rcvd: 75
On ns1.superweb.dk and ns2.superweb.dk the pri.superweb.dk looks like this :
Code:
$TTL        3600
@       IN      SOA     ns1.superweb.dk. admin.superweb.dk. (
                        2011010608       ; serial, todays date + todays serial #
                        3600              ; refresh, seconds
                        3600              ; retry, seconds
                        1209600              ; expire, seconds
                        3600 )            ; minimum, seconds
;

cp.superweb.dk.      A        92.62.196.69
db1.superweb.dk.      A        92.62.196.66
db2.superweb.dk.      A        92.62.196.67
db3.superweb.dk.      A        92.62.196.69
db4.superweb.dk.      A        92.62.196.69
db5.superweb.dk.      A        92.62.196.70
db6.superweb.dk.      A        92.62.196.71
db7.superweb.dk.      A        92.62.196.72
db8.superweb.dk.      A        92.62.196.69
db9.superweb.dk.      A        92.62.196.69
ftp.superweb.dk.      CNAME        superweb.dk.
mail.superweb.dk.      A        92.62.196.69
ns1.superweb.dk.      A        92.62.196.66
ns2.superweb.dk.      A        92.62.196.67
ns3.superweb.dk.      A        92.62.196.77
superweb.dk.      A        92.62.196.69
superweb.dk.      MX    10   mail.superweb.dk.
superweb.dk.      MX    15   superweb.dk.
superweb.dk.      NS        ns1.superweb.dk.
superweb.dk.      NS        ns2.superweb.dk.
superweb.dk.      NS        ns3.superweb.dk.
www.superweb.dk.      CNAME        superweb.dk.
On ns3.superweb.dk :
Code:
$TTL        3600
@       IN      SOA     ns1.superweb.dk. admin.superweb.dk. (
                        2011010608       ; serial, todays date + todays serial #
                        3600              ; refresh, seconds
                        3600              ; retry, seconds
                        1209600              ; expire, seconds
                        3600 )            ; minimum, seconds
;

cp.superweb.dk.      A        92.62.196.69
db9.superweb.dk.      A        92.62.196.69
ns3.superweb.dk.      A        92.62.196.77
superweb.dk.      NS        ns3.superweb.dk.
I waited 24 hours (1 hour should have been enough) and still same.

I have about 10 domains on the server and the only 2 found on ns3 are superweb.dk and one other that I have changed.

On the ISPCondig CP ns3.superrweb.dk is set as a mirror of ns1.superweb.dk and as a DNS Server in system.

Anyone got a suggestion to what I have missed or done wrong?
__________________
VoiceMe
Communications


Hosted at :
SuperWeb.dk
a part of VoiceMe
Reply With Quote
Sponsored Links
  #2  
Old 10th January 2011, 23:39
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 478
Thanks: 78
Thanked 39 Times in 33 Posts
Default

I understand the slave needs to be set as mirror of the master to transfer dns records when using mydns. Although saying that, if I add a dns zone to the slave, it does seem to transfer to the master - so that's what I do!
Reply With Quote
  #3  
Old 11th January 2011, 07:59
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default

But it works between master and slave (ns2). It is only the transfer to slave (ns3) that is not performed.
__________________
VoiceMe
Communications


Hosted at :
SuperWeb.dk
a part of VoiceMe
Reply With Quote
  #4  
Old 11th January 2011, 10:34
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 478
Thanks: 78
Thanked 39 Times in 33 Posts
Default

I just remember Till mentioning the other week that mydns has issues with db replication and either mydns or SQL needs restarts - like yours mine transfers zones from ns5 to ns3 no problem but doesn't work ns3 to ns5.

I'll be interested to see if you can resolve this
Reply With Quote
  #5  
Old 11th January 2011, 10:56
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default

I am using bind9.

I have tested and there is no problen if I add a new domain. It seems only to be when an existing domains dns is edited. It only adds the new part to my latest dns server (ns3).
__________________
VoiceMe
Communications


Hosted at :
SuperWeb.dk
a part of VoiceMe
Reply With Quote
  #6  
Old 11th January 2011, 11:38
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 478
Thanks: 78
Thanked 39 Times in 33 Posts
 
Default

I think this is common to all ispconfig areas where a slave is added after the master. The slave only gets the new records as the master writes a new change. I doesn't do a complete db replication on setting up the slave. Previously I've gone through records and made a very small change on the master to force it to write the complete records to the slave db.

However, as I understood it, mydns uses db replication but bind (which you say you're using) uses the secondary zone facility.

Maybe someone else can give some better guidance.
Reply With Quote
Reply

Bookmarks

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
Abnormally High Upload Network Usage HenryTheEight Server Operation 6 15th June 2010 19:43
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
Google Apps dayjahone General 19 29th March 2008 17:25
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
Pri & Slave DNS HOWTO (FC4) ppettigrew Suggest HOWTO 0 1st April 2006 15:35


All times are GMT +2. The time now is 11:35.


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