# Re: \[PATCH 2/2\] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors

- From: Alan Cox \<hidden\>
- Date: 2011-03-08 15:25:31 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2011/03/3687230
- Thread: https://ratatoskr.run/linux-arch/2011/03/3687219/t.md

```text
On Tue, 08 Mar 2011 15:09:59 +0000
David Howells [ref] wrote:

> Alan Cox [ref] wrote:
> 
> > > Define ENONAMESERVICE to indicate "Network name service unavailable".
> > > 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) it is
> > > supposed to contact didn't answer or that it couldn't determine the
> > > location of a suitable server.
> > 
> > Are these in glibc and are there glibc patches submitted and accepted for
> > this ?
> 
> No.
> 
> Are you saying that I should push them through glibc first - and then submit
> them to the kernel? 

I was wondering if at least there was some co-ordination going on so that
functions like perror() produced sensible answers. Otherwise it's
debatable if its actually an improvement for the poor end user ?
```
