[PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors

Jim Rees rees@umich.edu
Wed Feb 8 14:34:00 GMT 2012


David Howells wrote:

  Define ENAMEUNKNOWN to indicate "Network name unknown".  This can be used to
  indicate, for example, that an attempt was made by dns_query() to make a query,
  but the name server (e.g. a DNS server) replied indicating that it had no
  matching records.

Would this be the same as NXDOMAIN?  That is, does it mean the name server
couldn't find a record, or does it mean that the record doesn't exist?



More information about the Libc-alpha mailing list