<p>That doesn't work with recent versions. BIND discards the duplicates.</p>
<p>-Ben Croswell</p>
<div class="gmail_quote">On Jul 16, 2011 4:28 PM,  <<a href="mailto:dns@cornholio.nl">dns@cornholio.nl</a>> wrote:<br type="attribution">> Hi,<br>> <br>> I’ve got a problem getting weighted round robin dns to work. What I need is<br>
> ip adress 1 getting twice the hits of ip address 2, however making multiple<br>> entries of ip address 1 in my zonefile (according to<br>> <a href="https://lists.isc.org/mailman/htdig/bind-users/2007-April/066196.html">https://lists.isc.org/mailman/htdig/bind-users/2007-April/066196.html</a> ) does<br>
> not seem to help. See below for my troubleshooting configuration and<br>> testing, can anyone tell what’s going wrong ?<br>> <br>> root@Kiwi:/var/named]# cat /etc/named.conf // // named.conf // // Provided<br>
> by Red Hat bind package to configure the ISC BIND named(8) DNS // server as<br>> a caching only nameserver (as a localhost DNS resolver only).<br>> //<br>> // See /usr/share/doc/bind*/sample/ for example named configuration files.<br>
> //<br>> <br>> options {<br>>         listen-on port 53 { 127.0.0.1; };<br>>         listen-on-v6 port 53 { ::1; };<br>>         directory       "/var/named";<br>>         dump-file       "/var/named/data/cache_dump.db";<br>
>         statistics-file "/var/named/data/named_stats.txt";<br>>         memstatistics-file "/var/named/data/named_mem_stats.txt";<br>>         allow-query     { localhost; };<br>>         recursion yes;<br>
> <br>>         dnssec-enable yes;<br>>         dnssec-validation yes;<br>>         dnssec-lookaside auto;<br>> <br>>         /* Path to ISC DLV key */<br>>         bindkeys-file "/etc/named.iscdlv.key";<br>
> <br>>         managed-keys-directory "/var/named/dynamic"; };<br>> <br>> logging {<br>>         channel default_debug {<br>>                 file "data/named.run";<br>>                 severity dynamic;<br>
>         };<br>> };<br>> <br>> zone "." IN {<br>>         type hint;<br>>         file "<a href="http://named.ca">named.ca</a>";<br>> };<br>> <br>> zone "<a href="http://test.nl">test.nl</a>" {<br>
>         type master;<br>>         file "test.nl.hosts";<br>> };<br>> <br>> include "/etc/named.rfc1912.zones";<br>> include "/etc/named.root.key";<br>> <br>> root@Kiwi:/var/named]# cat /var/named/test.nl.hosts $TTL 3600 <a href="http://test.nl">test.nl</a>.     <br>
> IN      SOA     localhost. <a href="http://dns.cornholio.nl">dns.cornholio.nl</a>. (<br>>                           2011061406<br>>                           1800<br>>                           14400<br>>                           604800<br>
>                           3600 )<br>> <a href="http://test.nl">test.nl</a>.             NS     localhost.<br>> <a href="http://test.nl">test.nl</a>.             A      80.57.38.19<br>> test2                   IN      A       1.1.1.1<br>
>                         IN      A       1.1.1.1<br>>                         IN      A       1.1.1.1<br>>                         IN      A       1.1.1.1<br>>                         IN      A       1.1.1.1<br>
>                         IN      A       1.1.1.1<br>>                         IN      A       1.1.1.1<br>>                         IN      A       1.1.1.1<br>>                         IN      A       1.1.1.1<br>
>                         IN      A       2.2.2.2 <br>> <br>> root@Kiwi:/var/named]# nslookup <a href="http://test2.test.nl">test2.test.nl</a><br>> Server:         127.0.0.1<br>> Address:        127.0.0.1#53<br>
> <br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>> Address: 1.1.1.1<br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>> Address: 2.2.2.2<br>> <br>> root@Kiwi:/var/named]# nslookup <a href="http://test2.test.nl">test2.test.nl</a><br>
> Server:         127.0.0.1<br>> Address:        127.0.0.1#53<br>> <br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>> Address: 2.2.2.2<br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>
> Address: 1.1.1.1<br>> <br>> root@Kiwi:/var/named]# nslookup <a href="http://test2.test.nl">test2.test.nl</a><br>> Server:         127.0.0.1<br>> Address:        127.0.0.1#53<br>> <br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>
> Address: 1.1.1.1<br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>> Address: 2.2.2.2<br>> <br>> root@Kiwi:/var/named]# nslookup <a href="http://test2.test.nl">test2.test.nl</a><br>> Server:         127.0.0.1<br>
> Address:        127.0.0.1#53<br>> <br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>> Address: 2.2.2.2<br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>> Address: 1.1.1.1<br>
> <br>> root@Kiwi:/var/named]# nslookup <a href="http://test2.test.nl">test2.test.nl</a><br>> Server:         127.0.0.1<br>> Address:        127.0.0.1#53<br>> <br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>
> Address: 1.1.1.1<br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>> Address: 2.2.2.2<br>> <br>> root@Kiwi:/var/named]# nslookup <a href="http://test2.test.nl">test2.test.nl</a><br>> Server:         127.0.0.1<br>
> Address:        127.0.0.1#53<br>> <br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>> Address: 2.2.2.2<br>> Name:   <a href="http://test2.test.nl">test2.test.nl</a><br>> Address: 1.1.1.1<br>
> <br>> Regards,<br>> <br>> Marc<br>> _______________________________________________<br>> Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
> <br>> bind-users mailing list<br>> <a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>> <a href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</div>