HomeFreeBSD

Fix _dns_ghbyname() to return NS_TRYAGAIN instead of NS_NOTFOUND
rS127909Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Fix _dns_ghbyname() to return NS_TRYAGAIN instead of NS_NOTFOUND
on temporary nameserver failure. This is necessary to get
getipnodebyname(3) to correctly return h_errno=TRY_AGAIN instead
of HOST_NOT_FOUND.

Reviewed by: green, thomas
MFC after: 1 week

Details

Provenance
pbAuthored on
Parents
rS127908: MFC rev. 1.141: the lenght of the port list is limited to 30 entries
Branches
Unknown
Tags
Unknown

Event Timeline