Re: [Dnsmasq-discuss] Round Robin ping

2012-07-30 Thread Jan-Piet Mens
Relying on round-robin has short-comings: e.g. getaddrinfo() which obsoletes gethostbyname() orders results. See [1]. -JP [1] http://daniel.haxx.se/blog/2012/01/03/getaddrinfo-with-round-robin-dns-and-happy-eyeballs/ ___ Dnsmasq-discuss

Re: [Dnsmasq-discuss] Round Robin ping

2012-07-29 Thread Simon Kelley
On 25/07/12 21:21, James Brown wrote: Hello, I've had a hard time finding any info about this on the internet. I have a round robin hostname set up in my hosts file, and my resolv.conf is set to dnsmasq. Nslookup queries come back correctly (it shows all four ips) but when I ping the name it

Re: [Dnsmasq-discuss] Round Robin ping

2012-07-26 Thread richardvo...@gmail.com
Need more information about the `ping` implementation you are using. Does it re-lookup the name for each echo request? Usually it will look up the name once and use that single address for all outgoing ICMP packets. On Wed, Jul 25, 2012 at 3:21 PM, James Brown james.br...@ipsoft.com wrote:

Re: [Dnsmasq-discuss] Round Robin ping

2012-07-26 Thread James Brown
Message- From: richardvo...@gmail.com [mailto:richardvo...@gmail.com] Sent: Wednesday, July 25, 2012 5:08 PM To: James Brown Cc: dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re: [Dnsmasq-discuss] Round Robin ping Need more information about the `ping` implementation you are using. Does it re

[Dnsmasq-discuss] Round Robin ping

2012-07-25 Thread James Brown
Hello, I've had a hard time finding any info about this on the internet. I have a round robin hostname set up in my hosts file, and my resolv.conf is set to dnsmasq. Nslookup queries come back correctly (it shows all four ips) but when I ping the name it only pings the first one listed. Is