<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><style>p { margin: 0; }</style><div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000">I think what you are asking is if i update a file (changing a serial #) on the master does it get updated on the master? if this is the question then yes the file on the master updates correctly.  So i do not think i have to go searchin my file system but i might just to make sure as both machines do run chroot<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Sten Carlsen" <stenc@s-carlsen.dk><br><b>To: </b>"Computer King" <ryan@computerking.ca><br><b>Cc: </b>bind-users@lists.isc.org<br><b>Sent: </b>Thursday, 29 March, 2012 3:59:25 PM<br><b>Subject: </b>Re: slave not updating or creating ofd zone files<br><br>
  
    
  
  
    First find out if that IS the case: on master, is SOA serial updated
    when FILE serial is (after reload)? If so, no problem.<br>
    <br>
    If not, chroot is oneof the usual culprits, you update file in
    /var/named/..., but bind loads file in
    /var/named/chroot/var/named/data/...<br>
    <br>
    So in your filesystem, find ALL "zone" files, check which are used
    by bind and which you update.<br>
    <br>
    This is not rocket science, just normal file management. Usually the
    file in /var/named/... is a link to the file in
    /var/named/chroot/var/named/... - maybe you managed to break that
    link by editing the wrong file, go searchin your own file structure.<br>
    <br>
    <br>
    <br>
    On 29/03/12 20:39, Computer King wrote:
    <blockquote cite="mid:odtaorjx8ward06i15qkp0jy.1333046377071@email.android.com">
      <pre>OK but how do I correct the issue 
Sent from my Nexus 1

Sten Carlsen <a class="moz-txt-link-rfc2396E" href="mailto:stenc@s-carlsen.dk" target="_blank"><stenc@s-carlsen.dk></a> 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:
</pre>
      <blockquote>
        <pre>    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 <a class="moz-txt-link-rfc2396E" href="http://jodygamracy.com/IN/external" target="_blank"><http://jodygamracy.com/IN/external></a>:
    loaded serial 2012031501
    29-Mar-2012 06:03:39.614 notify: info: zone
    jodygamracy.com/IN/external <a class="moz-txt-link-rfc2396E" href="http://jodygamracy.com/IN/external" target="_blank"><http://jodygamracy.com/IN/external></a>:
    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 <a class="moz-txt-link-rfc2396E" href="http://jodygamracy.com/IN" target="_blank"><http://jodygamracy.com/IN></a>': 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 <a class="moz-txt-link-rfc2396E" href="http://jodygamracy.com/IN/external" target="_blank"><http://jodygamracy.com/IN/external></a>:
    Transfer started.
    29-Mar-2012 00:03:41.706 xfer-in: info: transfer of
    'jodygamracy.com/IN/external <a class="moz-txt-link-rfc2396E" href="http://jodygamracy.com/IN/external" target="_blank"><http://jodygamracy.com/IN/external></a>'
    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 <a class="moz-txt-link-rfc2396E" href="http://jodygamracy.com/IN/external" target="_blank"><http://jodygamracy.com/IN/external></a>'
    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
    <a class="moz-txt-link-freetext" href="http://computerking.ca" target="_blank">http://computerking.ca</a>     <a class="moz-txt-link-freetext" href="http://canmail.org" target="_blank">http://canmail.org</a>    
     <a class="moz-txt-link-freetext" href="http://surveillanceking.net" target="_blank">http://surveillanceking.net</a>

    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 <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to
    unsubscribe from this list

    bind-users mailing list
    <a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:bind-users@lists.isc.org" target="_blank"><mailto:bind-users@lists.isc.org></a>
    <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a>


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 <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list

bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a>
</pre>
      </blockquote>
      <pre></pre>
    </blockquote>
    <br>
    <pre class="moz-signature">-- 
Best regards

Sten Carlsen

No improvements come from shouting:
       "MALE BOVINE MANURE!!!"
</pre>
  

</div><br></div></div></body></html>