Re: added new name server to zone are missing from the slave

2011-12-19 Thread Barry Margolin
In article ,
 Gregory Machin  wrote:

> Hi.
> I have added 2 new name servers ns3 and ns4 to my zone, when I use dig
> against the master they are shown in the list. When I do a dig against
> the slave only the original servers ns1 and ns2 are there, I have
> deleted the slave zones files and even after transferring the zone
> again I get the same results.

Did you increment the serial number on the master?

> 
> Master (ns1):
> root@ns1:~ # dig @127.0.0.1 mydom.com
> 
> ; <<>> DiG 9.2.4 <<>> @127.0.0.1 mydom.com
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61847
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4
> 
> ;; QUESTION SECTION:
> ;mydom.com. IN  A
> 
> ;; ANSWER SECTION:
> mydom.com.  86400   IN  A   x.x.64.254
> 
> ;; AUTHORITY SECTION:
> mydom.com.  86400   IN  NS  ns4.mydom.com.
> mydom.com.  86400   IN  NS  ns1.mydom.com.
> mydom.com.  86400   IN  NS  ns2.mydom.com.
> mydom.com.  86400   IN  NS  ns3.mydom.com.
> 
> ;; ADDITIONAL SECTION:
> ns1.mydom.com.  86400   IN  A   x.x.64.242
> ns2.mydom.com.  86400   IN  A   x.x.64.254
> ns3.mydom.com.  68400   IN  A   x.x.32.7
> ns4.mydom.com.  68400   IN  A   x.x.32.9
> 
> ;; Query time: 1 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Tue Dec 20 15:06:52 2011
> ;; MSG SIZE  rcvd: 183
> 
> 
> 
> 
> 
> Slave (ns3):
> 
> root@ns3:/var/lib/bind# dig @127.0.0.1 mydom.com
> 
> ; <<>> DiG 9.7.1-P2 <<>> @127.0.0.1 mydom.com
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38068
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
> 
> ;; QUESTION SECTION:
> ;mydom.com. IN  A
> 
> ;; ANSWER SECTION:
> mydom.com.  86400   IN  A   x.x.64.254
> 
> ;; AUTHORITY SECTION:
> mydom.com.  86400   IN  NS  ns1.mydom.com.
> mydom.com.  86400   IN  NS  ns2.mydom.com.
> 
> ;; Query time: 0 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Tue Dec 20 15:06:29 2011
> ;; MSG SIZE  rcvd: 83
> 
> 
> Any suggestions what would cause this ?
> 
> Thanks
> G

-- 
Barry Margolin
Arlington, MA
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


RE: added new name server to zone are missing from the slave

2011-12-19 Thread Gaurav Kansal
Did you increment the Serial Number in SOA??

-Original Message-
From: bind-users-bounces+gaurav.kansal=nic...@lists.isc.org
[mailto:bind-users-bounces+gaurav.kansal=nic...@lists.isc.org] On Behalf Of
Gregory Machin
Sent: Tuesday, 20 December, 2011 7:40 AM
To: bind-us...@isc.org
Subject: added new name server to zone are missing from the slave

Hi.
I have added 2 new name servers ns3 and ns4 to my zone, when I use dig
against the master they are shown in the list. When I do a dig against the
slave only the original servers ns1 and ns2 are there, I have deleted the
slave zones files and even after transferring the zone again I get the same
results.

Master (ns1):
root@ns1:~ # dig @127.0.0.1 mydom.com

; <<>> DiG 9.2.4 <<>> @127.0.0.1 mydom.com ;; global options:  printcmd ;;
Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61847 ;; flags: qr aa rd
ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;mydom.com. IN  A

;; ANSWER SECTION:
mydom.com.  86400   IN  A   x.x.64.254

;; AUTHORITY SECTION:
mydom.com.  86400   IN  NS  ns4.mydom.com.
mydom.com.  86400   IN  NS  ns1.mydom.com.
mydom.com.  86400   IN  NS  ns2.mydom.com.
mydom.com.  86400   IN  NS  ns3.mydom.com.

;; ADDITIONAL SECTION:
ns1.mydom.com.  86400   IN  A   x.x.64.242
ns2.mydom.com.  86400   IN  A   x.x.64.254
ns3.mydom.com.  68400   IN  A   x.x.32.7
ns4.mydom.com.  68400   IN  A   x.x.32.9

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Dec 20 15:06:52 2011
;; MSG SIZE  rcvd: 183





Slave (ns3):

root@ns3:/var/lib/bind# dig @127.0.0.1 mydom.com

; <<>> DiG 9.7.1-P2 <<>> @127.0.0.1 mydom.com ; (1 server found) ;; global
options: +cmd ;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38068 ;; flags: qr aa rd
ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;mydom.com. IN  A

;; ANSWER SECTION:
mydom.com.  86400   IN  A   x.x.64.254

;; AUTHORITY SECTION:
mydom.com.  86400   IN  NS  ns1.mydom.com.
mydom.com.  86400   IN  NS  ns2.mydom.com.

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Dec 20 15:06:29 2011
;; MSG SIZE  rcvd: 83


Any suggestions what would cause this ?

Thanks
G
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to
unsubscribe from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


smime.p7s
Description: S/MIME cryptographic signature
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users