Not sure what serial to use the one on the master or the one on the slave so i did both
here is the serial that is on the master note this command has been run on the slave. dig ixfr=2012032802 computerking.ca @ns1.canmail.org ; <<>> DiG 9.7.0-P1 <<>> ixfr=2012032802 computerking.ca @ns1.canmail.org ;; global options: +cmd computerking.ca. 3600 IN SOA ns1.computerking.ca. admin.computerking.ca. 2012022801 1200 120 2419200 38400 ;; Query time: 36 msec ;; SERVER: 204.244.122.132#53(204.244.122.132) ;; WHEN: Thu Mar 29 18:45:48 2012 ;; XFR size: 1 records (messages 1, bytes 79) here is the serial that the slave is using also this command was run on the slave dig ixfr=2012022801 computerking.ca @ns1.canmail.org ; <<>> DiG 9.7.0-P1 <<>> ixfr=2012022801 computerking.ca @ns1.canmail.org ;; global options: +cmd computerking.ca. 3600 IN SOA ns1.computerking.ca. admin.computerking.ca. 2012022801 1200 120 2419200 38400 ;; Query time: 35 msec ;; SERVER: 204.244.122.132#53(204.244.122.132) ;; WHEN: Thu Mar 29 18:52:48 2012 ;; XFR size: 1 records (messages 1, bytes 79) here is an exept from the zone file that keeps appearing on the slave $ORIGIN . $TTL 3600 ; 1 hour computerking.ca IN SOA ns1.computerking.ca. admin.computerking.ca. ( 2012022801 ; serial 1200 ; refresh (20 minutes ----- Original Message ----- From: "Mark Andrews" <ma...@isc.org> To: "Computer King" <r...@computerking.ca> Cc: "Sten Carlsen" <st...@s-carlsen.dk>, bind-us...@isc.org Sent: Thursday, 29 March, 2012 4:21:11 PM Subject: Re: slave not updating or creating ofd zone files In message <odtaorjx8ward06i15qkp0jy.1333046377...@email.android.com>, Computer King writes: > OK but how do I correct the issue > Sent from my Nexus 1 First of all you need to find out what the issue is. One way to do this is to simulate what the slave is doing. Use dig to make a ixfr request from the slave and report what it returns to the list. If you are using TSIG then also specify that on the command like. dig ixfr=<slave-serial> zone @master > Sten Carlsen <st...@s-carlsen.dk> wrote: > > It has sometimes been seen that the files that are updated are not the > files actually loaded, this could be such a case? > > On 29/03/12 10:58, RYAN M. vAN GINNEKEN wrote: > > > > Hello all i have what is to me a very strange bind 9 master slave > > transfer issue. > > > > When i update a zone file on the master the file updates correctly > > the notifies are sent and every thing seems to work perfectly > > except it transfers 0 bytes to the slave. Checking the slave > > confirms that indeed thier was no transfer and that the slave is > > still serving the old zone, i have gon as far as to completely > > delete the zone files from the slave and restart bind to my > > suprise it puts back all the old files. What is going on? Below > > is an example of one of the files that is not updating correctly > > there are many and some of file I have updated more recently are > > not even showing up in the logs of the server. > > > > On the server Ubuntu 8.04 LTS running BIND 9.4.2-P2.1 chrooted > > 29-Mar-2012 06:03:39.461 general: info: zone > > jodygamracy.com/IN/external <http://jodygamracy.com/IN/external>: > > loaded serial 2012031501 > > 29-Mar-2012 06:03:39.614 notify: info: zone > > jodygamracy.com/IN/external <http://jodygamracy.com/IN/external>: > > sending notifies (serial 2012031501) > > 29-Mar-2012 06:03:41.761 xfer-out: info: client > > 96.51.192.233#33074: view external: transfer of > > 'jodygamracy.com/IN <http://jodygamracy.com/IN>': IXFR ended > > > > On the slave Ubuntu 10.04 LTS BIND 9.7.0-P1 > > 29-Mar-2012 00:03:41.666 general: info: zone > > jodygamracy.com/IN/external <http://jodygamracy.com/IN/external>: > > Transfer started. > > 29-Mar-2012 00:03:41.706 xfer-in: info: transfer of > > 'jodygamracy.com/IN/external <http://jodygamracy.com/IN/external>' > > from 204.244.122.132#53: connected using 96.51.192.233#33074 > > 29-Mar-2012 00:03:41.782 xfer-in: info: transfer of > > 'jodygamracy.com/IN/external <http://jodygamracy.com/IN/external>' > > from 204.244.122.132#53: Transfer completed: 0 messages, 1 > > records, 0 bytes, 0.076 secs (0 bytes/sec) > > > > As a side not i have both machines firewalled, but have port 53 > > open on both machines, and have ports set using this in these > > lines in the named.conf. file > > query-source address * port 53; > > transfer-source * port 53; > > notify-source * port 53; > > > > and see this in the dameon logs > > /etc/named.conf:9: using specific query-source port suppresses > > port randomization and can be insecure. > > > > Computer King CaN-Mail > > Surveillance King > > http://computerking.ca http://canmail.org > > http://surveillanceking.net > > > > Surveillance - Sales Service - Hosting Backup > > Internet Based Surveillance Systems > > Custom Service Pac kages > > Secure IMAP Email - Automated Remote Backups - Photo Blogs - > > Online ERP and Accounting Packages > > > > > > _______________________________________________ > > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > > unsubscribe from this list > > > > bind-users mailing list > > bind-users@lists.isc.org <mailto:bind-users@lists.isc.org> > > https://lists.isc.org/mailman/listinfo/bind-users > > > > > > Enlarge your serial! > > > > -- > > AP > > > > I've tried that had this problem for awhile that is why serial was not > > dated today just picked a random zone file anyways i updated the > > serial with todays date and still get the same behaviour. Strange but > > the times are messed up i checked the time/date on both machines they > > are very similar what is with the wierd log times? > > . > > 29-Mar-2012 08:44:06.883 notify: info: zone > > jodygamracy.com/IN/external: sending notifies (serial 2012032901) > > 29-Mar-2012 08:44:09.093 xfer-out: info: client 96.51.192.233#43819: > > view external: transfer of 'jodygamracy.com/IN': IXFR ended > > > > > > > > 29-Mar-2012 02:41:45.829 xfer-in: info: transfer of > > 'jodygamracy.com/IN/external' from 204.244.122.132#53: Transfer > > completed: 0 messages, 1 records, 0 bytes, 0.072 secs (0 bytes/sec) > > > > I get lots of these 0 bytes transfers everytime i try to edit a zone > > file now they keep poping up and zones never get updated on the slave > > it just keeps trying and getting 0 bytes > > > > > > _______________________________________________ > > Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscri > be from this list > > > > bind-users mailing list > > bind-users@lists.isc.org > > https://lists.isc.org/mailman/listinfo/bind-users > > -- > Best regards > > Sten Carlsen > > No improvements come from shouting: > > "MALE BOVINE MANURE!!!" > > _______________________________________________ > 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 -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org _______________________________________________ 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