Bug#683061: [pkg-ntp-maintainers] Bug#683061: bug report #683061

2013-07-02 Thread Thomas Hood
On Tue, Jul 2, 2013 at 1:59 PM, Kurt Roeckx wrote: > Do you know NXDOMAIN returns? I think it returns just the same? > I don't immediately see how getaddrinfo() alone can be used to tell whether or not an actual NXDOMAIN was received. A test with a small C program reveals that retval -11 errno

Bug#683061: [pkg-ntp-maintainers] Bug#683061: bug report #683061

2013-07-02 Thread Kurt Roeckx
On Sun, Jun 30, 2013 at 10:53:16PM +0200, Thomas Hood wrote: > getaddrinfo() returns -11 with errno 2 (EAI_SYSTEM with errno ENOENT) > both when no nameserver can be reached and when the domain name does not > exist. So if you want to behave differently in these two cases you can't do > so based so