Re: getaddrinfo: DNS round robin vs RFC3484 s6 rule 9, for etch
Hi,
Pierre Habouzit wrote:
> > ~/> uname -sr
> > FreeBSD 6.2-STABLE
> > ~/> ping -c 1 ftp.us.debian.org | grep PING
> > PING ftp.us.debian.org (204.152.191.7): 56 data bytes
> > ~/> ping -c 1 ftp.us.debian.org | grep PING
> > PING ftp.us.debian.org (35.9.37.225): 56 data bytes
>
> rather use sth similar than:
>
> $ getent ahosts ftp.us.debian.org
>
> I'm not sure if BSDs know about ahost though.
The machine I have access to doesn't support ahosts. getent host
returns different addresses for ftp.us.debian.org on subsequent calls.
Cheers,
Wolf
--
Wie unser Internet schöner wird: Ich will meine Dateien regelmäßig
zwischenspeic (die tageszeitung)
Reply to: