Maintained by: NLnet Labs

[Unbound-users] Unbound and Round Robin DNS

Gareth Hopkins
Fri Aug 21 12:13:02 CEST 2009


Hi,

I am in the process of testing unbound and have found the following with
round robin dns entries.

Using www.cnn.com as an example, unbound gives me the same answer
(157.166.255.19) everytime whereas bind gives me the intended different
answers. Example below.

Command used was while true; do date; nslookup www.cnn.com| head -n6 ; sleep
1; done

Unbound
Version 1.3.3
linked libs: event 1.4.12-stable, ldns 1.6.0_20090714, OpenSSL 0.9.8e 23 Feb
2007
linked modules: validator iterator

Fri Aug 21 12:01:28 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.255.19
Fri Aug 21 12:01:29 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.255.19
Fri Aug 21 12:01:30 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.255.19
Fri Aug 21 12:01:31 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.255.19
Fri Aug 21 12:01:32 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.255.19
Fri Aug 21 12:01:33 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.255.19

Bind version
BIND 9.4.3-P3

Fri Aug 21 12:06:47 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.224.25
Fri Aug 21 12:06:48 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.255.19
Fri Aug 21 12:06:49 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.255.18
Fri Aug 21 12:06:50 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.226.26
Fri Aug 21 12:06:51 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.226.25
Fri Aug 21 12:06:52 SAST 2009
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   www.cnn.com
Address: 157.166.224.26

Is there something I need to set in unbound to get it to return the random
answers like bind does?

Thanks

Gareth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20090821/2b31ec47/attachment.htm>