[linux-cifs] Re: [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors


  • Previous message:
  • Re: [linux-cifs-client] [PATCH] cifs: hard mount option behaviour implementation
  • Next message:
  • [PATCH 1/2] Define ENOAUTHSERVICE to indicate "Authentication service unavailable" [ver #2]
  • Subject:
  • Re: [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors
  • From:
  • David Howells <dhowells-H+wXaHxf7aLQT0dZR+AlfA <at> public.gmane.org>
  • To:
  • Jim Rees <rees-63aXycvo3TyHXe+LvDLADg <at> public.gmane.org>
  • Cc:
  • dhowells-H+wXaHxf7aLQT0dZR+AlfA <at> public.gmane.org, jmorris-gx6/JNMH7DfYtjvyW6yDsg <at> public.gmane.org, keyrings-6DNke4IJHB0gsBAKwltoeQ <at> public.gmane.org, linux-nfs-u79uwXL29TY76Z2rM5mHXA <at> public.gmane.org, linux-security-module-u79uwXL29TY76Z2rM5mHXA <at> public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA <at> public.gmane.org, linux-cifs-u79uwXL29TY76Z2rM5mHXA <at> public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA <at> public.gmane.org, libc-alpha-9JcytcrH/bA+uJoB2kUjGw <at> public.gmane.org
  • Date:
  • 2012-02-09 10:04:49
Jim Rees  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?

Is there a way to tell the difference?  Can you store a negative record in the
DNS?  Or is it that the DNS has records for the name, just not records of the
type you're looking for (eg. NO_ADDRESS/NO_DATA from gethostbyname())?

David

This message from: http://www.mailbrowse.com/linux-cifs/5425.html
Previous message: Re: [linux-cifs-client] [PATCH] cifs: hard mount option behaviour implementation
Next message:[PATCH 1/2] Define ENOAUTHSERVICE to indicate "Authentication service unavailable" [ver #2]