<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffcc" text="#000000">
    How did you tell the primary server who to notify?<br>
    <br>
    It should be listed in a NS RR. You can also look at the
    also-notify  option.<br>
    <br>
    Is the slave allowed to transfer the zone, if not even a notify will
    not work.<br>
    <br>
    <br>
    On 01/12/10 21:09, Sean Thomas Caron wrote:
    <blockquote
      cite="mid:20101201150904.12436urfka8d8usc@web.mail.umich.edu"
      type="cite">Hi folks,
      <br>
      <br>
      We have an ISC DHCP server here feeding dynamic DNS updates to a
      BIND 9 machine and it has generally been working fine.
      <br>
      <br>
      Now I am trying to add a slave nameserver to the zone and it works
      fine for the static hosts but none of the dynamic DNS updates seem
      to propagate to the slave.
      <br>
      <br>
      On the master, I have the dynamic sub-domain configured as
      follows:
      <br>
      <br>
      zone "ddns.sph.umich.edu" in {
      <br>
          type master;
      <br>
          file "/etc/bind/ddns.sph.umich.edu.hosts";
      <br>
          notify yes;
      <br>
          allow-update { key dhcpupdate; };
      <br>
      };
      <br>
      <br>
      This works great; the DHCP server feeds updates to the primary DNS
      server, no problem.
      <br>
      <br>
      On the slave, I set it up as so:
      <br>
      <br>
      zone "ddns.sph.umich.edu" in {
      <br>
          type slave;
      <br>
          masters { 141.211.51.166; };
      <br>
          notify no;
      <br>
          file "/etc/bind/ddns.sph.umich.edu.hosts";
      <br>
      };
      <br>
      <br>
      When a host comes up on DHCP, the primary server picks it up fine:
      <br>
      <br>
      <blockquote type="cite">server 141.211.51.166
        <br>
      </blockquote>
      Default server: 141.211.51.166
      <br>
      Address: 141.211.51.166#53
      <br>
      <blockquote type="cite">sph-2006-0090-test.ddns.sph.umich.edu
        <br>
      </blockquote>
      Server:        141.211.51.166
      <br>
      Address:    141.211.51.166#53
      <br>
      <br>
      Name:    sph-2006-0090-test.ddns.sph.umich.edu
      <br>
      Address: 141.211.11.190
      <br>
      sph-2006-0090-test.ddns.sph.umich.edu    text =
      "31ce446f626045a4f8fe4933f448b613c6"
      <br>
      <blockquote type="cite">
        <br>
      </blockquote>
      <br>
      <br>
      But it never seems to propagate over to the slave:
      <br>
      <br>
      <blockquote type="cite">server 141.211.51.66
        <br>
      </blockquote>
      Default server: 141.211.51.66
      <br>
      Address: 141.211.51.66#53
      <br>
      <blockquote type="cite">sph-2006-0090-test.ddns.sph.umich.edu
        <br>
      </blockquote>
      Server:        141.211.51.66
      <br>
      Address:    141.211.51.66#53
      <br>
      <br>
      ** server can't find
      sph-2006-0090-test.ddns.sph.umich.edu.sph.umich.edu: SERVFAIL
      <br>
      <blockquote type="cite">
        <br>
      </blockquote>
      <br>
      I used 'rndc freeze' on the DDNS sub-domain then edited the zone
      file to have a really short refresh interval:
      <br>
      <br>
      ddns.sph.umich.edu    IN SOA    dns.sph.umich.edu.
      hostmaster.sph.umich.edu. (
      <br>
                      2007024409 ; serial
      <br>
                      3600       ; refresh (1 hour)
      <br>
                      1800       ; retry (30 minutes)
      <br>
                      2419200    ; expire (4 weeks)
      <br>
                      86400      ; minimum (1 day)
      <br>
                      )
      <br>
      <br>
      <br>
      Then re-enabled it with 'rndc unfreeze' but it still doesn't seem
      to have made a difference. Even after waiting an hour, the
      additions to the dynamic DNS zone never propagate to the slave.
      I'm not even sure if those values are honored when dynamic DNS is
      enabled.
      <br>
      <br>
      Most sites that I have seen discussing dynamic DNS only use one
      DNS server, so I am not exactly sure how this should be set up, or
      if this was ever intended to work this way. Is it possible? Or
      should I just make only the master a NS for the dynamic subdomain
      and leave the slave for static stuff only?
      <br>
      <br>
      I feel like if it was going to work, I have it set up correctly..
      <br>
      <br>
      Thanks,
      <br>
      <br>
      -Sean
      <br>
      <br>
      <br>
      _______________________________________________
      <br>
      bind-users mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards

Sten Carlsen

No improvements come from shouting:

       "MALE BOVINE MANURE!!!" 
</pre>
  </body>
</html>