<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic BIND 9 -&amp;gt; double DDNS entries in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/bind-9-gt-double-ddns-entries/m-p/4624198#M82691</link>
    <description>hi&lt;BR /&gt;&lt;BR /&gt;We're using linux with BIND9 &lt;BR /&gt;&lt;BR /&gt;# named -v&lt;BR /&gt;BIND 9.3.4-P1.2&lt;BR /&gt;&lt;BR /&gt;as DDNS server for  WINDOWS clients and servers.&lt;BR /&gt;It works well, WINDOWS server and clients creates their DNS entries on the BIND zone, but there is only one problem.&lt;BR /&gt;If the WINDOWS client or server change its IP address, then we have double entries on the BIND zone, for example:&lt;BR /&gt;&lt;BR /&gt;# nslookup 10.10.2.6&lt;BR /&gt;Server:         127.0.0.1&lt;BR /&gt;Address:        127.0.0.1#53&lt;BR /&gt;&lt;BR /&gt;6.2.10.10.in-addr.arpa  name = SRV1.domain.net.&lt;BR /&gt;&lt;BR /&gt;ns1:~# nslookup 10.10.1.99&lt;BR /&gt;Server:         127.0.0.1&lt;BR /&gt;Address:        127.0.0.1#53&lt;BR /&gt;&lt;BR /&gt;99.1.10.10.in-addr.arpa name = SRV1.domain.net.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;my BIND setiings:&lt;BR /&gt;&lt;BR /&gt;options {&lt;BR /&gt; directory "/var/cache/bind";&lt;BR /&gt;&lt;BR /&gt; #auth-nxdomain no; &lt;BR /&gt;&lt;BR /&gt;        multiple-cnames no;&lt;BR /&gt;        cleaning-interval 720;&lt;BR /&gt; interface-interval 0; &lt;BR /&gt;        datasize default;&lt;BR /&gt;        stacksize default;&lt;BR /&gt;        coresize default;&lt;BR /&gt;        &lt;BR /&gt;        recursion yes;&lt;BR /&gt;        # check-names master ignore;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; listen-on port 53 { 127.0.0.1; 10.10.1.10; };&lt;BR /&gt;&lt;BR /&gt; # listen-on-v6 { any; };&lt;BR /&gt;&lt;BR /&gt; #allow-query { 127.0.0.1; };&lt;BR /&gt;&lt;BR /&gt; notify no;&lt;BR /&gt;}; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Howto configure BIND9 to prevent of double DDNS entries?</description>
    <pubDate>Mon, 26 Apr 2010 22:58:09 GMT</pubDate>
    <dc:creator>'chris'</dc:creator>
    <dc:date>2010-04-26T22:58:09Z</dc:date>
    <item>
      <title>BIND 9 -&gt; double DDNS entries</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bind-9-gt-double-ddns-entries/m-p/4624198#M82691</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;We're using linux with BIND9 &lt;BR /&gt;&lt;BR /&gt;# named -v&lt;BR /&gt;BIND 9.3.4-P1.2&lt;BR /&gt;&lt;BR /&gt;as DDNS server for  WINDOWS clients and servers.&lt;BR /&gt;It works well, WINDOWS server and clients creates their DNS entries on the BIND zone, but there is only one problem.&lt;BR /&gt;If the WINDOWS client or server change its IP address, then we have double entries on the BIND zone, for example:&lt;BR /&gt;&lt;BR /&gt;# nslookup 10.10.2.6&lt;BR /&gt;Server:         127.0.0.1&lt;BR /&gt;Address:        127.0.0.1#53&lt;BR /&gt;&lt;BR /&gt;6.2.10.10.in-addr.arpa  name = SRV1.domain.net.&lt;BR /&gt;&lt;BR /&gt;ns1:~# nslookup 10.10.1.99&lt;BR /&gt;Server:         127.0.0.1&lt;BR /&gt;Address:        127.0.0.1#53&lt;BR /&gt;&lt;BR /&gt;99.1.10.10.in-addr.arpa name = SRV1.domain.net.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;my BIND setiings:&lt;BR /&gt;&lt;BR /&gt;options {&lt;BR /&gt; directory "/var/cache/bind";&lt;BR /&gt;&lt;BR /&gt; #auth-nxdomain no; &lt;BR /&gt;&lt;BR /&gt;        multiple-cnames no;&lt;BR /&gt;        cleaning-interval 720;&lt;BR /&gt; interface-interval 0; &lt;BR /&gt;        datasize default;&lt;BR /&gt;        stacksize default;&lt;BR /&gt;        coresize default;&lt;BR /&gt;        &lt;BR /&gt;        recursion yes;&lt;BR /&gt;        # check-names master ignore;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; listen-on port 53 { 127.0.0.1; 10.10.1.10; };&lt;BR /&gt;&lt;BR /&gt; # listen-on-v6 { any; };&lt;BR /&gt;&lt;BR /&gt; #allow-query { 127.0.0.1; };&lt;BR /&gt;&lt;BR /&gt; notify no;&lt;BR /&gt;}; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Howto configure BIND9 to prevent of double DDNS entries?</description>
      <pubDate>Mon, 26 Apr 2010 22:58:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bind-9-gt-double-ddns-entries/m-p/4624198#M82691</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2010-04-26T22:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: BIND 9 -&gt; double DDNS entries</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bind-9-gt-double-ddns-entries/m-p/4624199#M82692</link>
      <description>Your listing of BIND settings is incomplete. I cannot see any DDNS settings.&lt;BR /&gt;&lt;BR /&gt;In this case, it would be important to know which entity makes the DDNS update requests: is it the DHCP server or the client hosts themselves?&lt;BR /&gt;&lt;BR /&gt;Because a host can legitimately have multiple IP addresses, BIND cannot simply remove an older entry when a new one is requested. Something must explicitly request for the old entry to be removed. The client host can do the unregistration only if it knows in advance that the address is going to be deconfigured: if the network cable is simply disconnected, the client won't know to unregister until it's too late.&lt;BR /&gt;&lt;BR /&gt;If the DHCP server is in charge of making the DDNS updates, it technically could remove the records when the DHCP lease expires, or when the same NIC is assigned a different IP address. I don't know if your DHCP server can actually be configured to work like this... but as far as I can see, it *could* be possible.&lt;BR /&gt;&lt;BR /&gt;In your situation, you have two reverse lookup records (PTR records) pointing to SRV1.domain.net. One has the IP address 10.10.2.6, the other 10.10.1.99. If SRV1.domain.net has 2 IP addresses, this is exactly as it should be.&lt;BR /&gt;&lt;BR /&gt;If only one of those IP addresses is valid (i.e. the other is not currently assigned to any host at all), this is a temporary situation that will fix itself as soon as some other host is assigned to the currently-unoccupied address. &lt;BR /&gt;&lt;BR /&gt;Meanwhile, the old PTR record serves as a kind of documentation: "this used to be the IP address of SRV1.domain.net and hasn't been used for anything else since then." As it is a reverse lookup record, it should not cause any confusion. If it simply offends your sense of neatness, I'm afraid you have to endure it :)&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 27 Apr 2010 05:27:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bind-9-gt-double-ddns-entries/m-p/4624199#M82692</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-04-27T05:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: BIND 9 -&gt; double DDNS entries</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bind-9-gt-double-ddns-entries/m-p/4624200#M82693</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;This might be as simple as latency in the replication of this zone. Do you change the serial number on the zone record when you make changes?&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 27 Apr 2010 13:49:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bind-9-gt-double-ddns-entries/m-p/4624200#M82693</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-04-27T13:49:59Z</dc:date>
    </item>
  </channel>
</rss>

