/etc/hosts - how does that file work?? - was weird nfs issues.

Mel Flynn mel.flynn+fbsd.questions at mailing.thruhere.net
Thu Jun 4 19:39:36 UTC 2009


On Thursday 04 June 2009 20:48:21 Peter wrote:
> iH,
>   This all started with NFS not mounting at boot....so, testing in VMs:

<snip>

> Why is ping using one IP, and ssh/mount_nfs/showmount using another IP
> from /etc/hosts?

Q: Where is described that name resolution for A or PTR records should be 
returned in a fixed order and that a consumer should always use the first one 
returned?
A: Nowhere. Name servers are encouraged to do round-robin returns if not 
specified otherwise. Applications may sort/pick at their own leisure.

-- 
Mel


More information about the freebsd-questions mailing list