Date: Tue, 20 Dec 2011 18:04:16 GMT From: Eugen Konkov <kes-kes@yandex.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/163482: IP address is not round robined if DNS name has many IPs Message-ID: <201112201804.pBKI4GR5066141@red.freebsd.org> Resent-Message-ID: <201112201810.pBKIACw1079367@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163482 >Category: misc >Synopsis: IP address is not round robined if DNS name has many IPs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 20 18:10:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eugen Konkov >Release: >Organization: ISP FreeLine >Environment: >Description: # nslookup > set debug > vpn.in Server: 127.0.0.1 Address: 127.0.0.1#53 ------------ QUESTIONS: vpn.in, type = A, class = IN ANSWERS: -> vpn.in internet address = 10.11.19.54 ttl = 10 -> vpn.in internet address = 10.5.0.17 ttl = 10 AUTHORITY RECORDS: -> vpn.in nameserver = vpn.in. ttl = 10800 ADDITIONAL RECORDS: ------------ Name: vpn.in Address: 10.11.19.54 Name: vpn.in Address: 10.5.0.17 > ^C # date Tue Dec 20 19:56:31 UTC 2011 # ping vpn.in PING vpn.in (10.11.19.54): 56 data bytes 64 bytes from 10.11.19.54: icmp_seq=0 ttl=64 time=0.173 ms 64 bytes from 10.11.19.54: icmp_seq=1 ttl=64 time=0.167 ms ^C --- vpn.in ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.167/0.170/0.173/0.003 ms # date Tue Dec 20 19:57:04 UTC 2011 flux# ping vpn.in PING vpn.in (10.11.19.54): 56 data bytes 64 bytes from 10.11.19.54: icmp_seq=0 ttl=64 time=0.149 ms 64 bytes from 10.11.19.54: icmp_seq=1 ttl=64 time=0.194 ms ^C --- vpn.in ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.149/0.171/0.194/0.023 ms but if I ping vpn.in with interval 15 sec from Windows (that machine has same DNS server as this one) I get different IPs for domain name vpn.in >How-To-Repeat: >Fix: add zone "vpn.in" { type master; file "/etc/namedb/master/vpn.in.fwd"; }; to /etc/namedb/named.conf create file /etc/namedb/master/vpn.in.fwd $TTL 3h ;Serial, Refresh, Retry, Expire, Neg. TTL @ SOA localhost. nobody.in. 2011122001 1d 2h 100d 3h NS @ 10 A 10.5.0.17 10 A 10.11.19.54 set resolve.conf nameserver 127.0.0.1 or set the IP address the bind is listening on. On windows host add DNS server to host with this bind. Try to ping from FreeBSD and Windows >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112201804.pBKI4GR5066141>