Reply To: Internal Round-Robin DNS

Home Page Forums Network Management Networking Internal Round-Robin DNS Reply To: Internal Round-Robin DNS

#49365

ppalias
Member

I created a test entry called test and added 3 A records. Each time I queried it, it was resolved with a different IP so I believe it should work the way you want.

root@blowfish:~# dig test.trendy.awmn

; < <>> DiG 9.6.1-P2 < >HEADER< <- opcode: QUERY, status: NOERROR, id: 25716
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 1

;; QUESTION SECTION:
;test.trendy.awmn. IN A

;; ANSWER SECTION:
test.trendy.awmn. 86400 IN A 10.14.149.201
test.trendy.awmn. 86400 IN A 10.14.149.202
test.trendy.awmn. 86400 IN A 10.14.149.200

;; AUTHORITY SECTION:
trendy.awmn. 86400 IN NS ns1.trendy.awmn.
trendy.awmn. 86400 IN NS ns2.trendy.awmn.
trendy.awmn. 86400 IN NS ns0.trendy.awmn.
trendy.awmn. 86400 IN NS ns0.nettraptor.awmn.

;; ADDITIONAL SECTION:
ns0.nettraptor.awmn. 3571 IN A 10.21.128.65

;; Query time: 10 msec
;; SERVER: 10.14.149.1#53(10.14.149.1)
;; WHEN: Thu Jan 14 00:56:05 2010
;; MSG SIZE rcvd: 181

root@blowfish:~# ping test
PING test.trendy.awmn (10.14.149.200) 56(84) bytes of data.
From koutsomoura.trendy.awmn (10.14.149.62) icmp_seq=1 Time to live exceeded
From rofos.trendy.awmn (10.14.149.1): icmp_seq=2 Redirect Host(New nexthop: koutsomoura.trendy.awmn (10.14.149.62))
From koutsomoura.trendy.awmn (10.14.149.62) icmp_seq=2 Time to live exceeded
From gw-trendy.nvak.awmn (10.14.145.241) icmp_seq=3 Time to live exceeded
From gw-trendy.nvak.awmn (10.14.145.241) icmp_seq=4 Time to live exceeded
From gw-trendy.nvak.awmn (10.14.145.241) icmp_seq=5 Time to live exceeded
^C
--- test.trendy.awmn ping statistics ---
5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4005ms

root@blowfish:~# ping test
PING test.trendy.awmn (10.14.149.202) 56(84) bytes of data.
From koutsomoura.trendy.awmn (10.14.149.62) icmp_seq=1 Time to live exceeded
From rofos.trendy.awmn (10.14.149.1): icmp_seq=2 Redirect Host(New nexthop: koutsomoura.trendy.awmn (10.14.149.62))
From koutsomoura.trendy.awmn (10.14.149.62) icmp_seq=2 Time to live exceeded
From gw-trendy.nvak.awmn (10.14.145.241) icmp_seq=3 Time to live exceeded
From gw-trendy.nvak.awmn (10.14.145.241) icmp_seq=4 Time to live exceeded
^C
--- test.trendy.awmn ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3003ms

root@blowfish:~# ping test
PING test.trendy.awmn (10.14.149.202) 56(84) bytes of data.
From gw-trendy.nvak.awmn (10.14.145.241) icmp_seq=1 Time to live exceeded
From gw-trendy.nvak.awmn (10.14.145.241) icmp_seq=2 Time to live exceeded
^C
--- test.trendy.awmn ping statistics ---
2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1001ms

root@blowfish:~# ping test
PING test.trendy.awmn (10.14.149.201) 56(84) bytes of data.
From koutsomoura.trendy.awmn (10.14.149.62) icmp_seq=1 Time to live exceeded
From rofos.trendy.awmn (10.14.149.1): icmp_seq=2 Redirect Host(New nexthop: koutsomoura.trendy.awmn (10.14.149.62))
From koutsomoura.trendy.awmn (10.14.149.62) icmp_seq=2 Time to live exceeded
^C
--- test.trendy.awmn ping statistics ---
2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1000ms