freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Peter Deacon <peterd AT iea-software.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: [freetds] DNS lookups not working with freetds
- Date: Tue, 26 Apr 2016 17:17:26 -0700 (Pacific Daylight Time)
Tried current freetds and name lookups are not working at all with some older Linux systems for me. Everything that isn't an IP address returns -2 (EAI_NONAME)
The problem is triggered by setting ai_flags = AI_ADDRCONFIG in hints field of getaddrinfo and resolved by setting ai_flags = 0.
From what I've read in various man pages for getaddrinfo when set to 0defaults are designed to be reasonable usually including AI_ADDRCONFIG anyway.
Would switching to default for ai_flags break anything for anyone?
thanks,
~Peter
-
[freetds] DNS lookups not working with freetds,
Peter Deacon, 04/26/2016
-
Re: [freetds] DNS lookups not working with freetds,
Frediano Ziglio, 04/27/2016
- Re: [freetds] DNS lookups not working with freetds, Peter Deacon, 04/29/2016
-
Re: [freetds] DNS lookups not working with freetds,
Frediano Ziglio, 04/27/2016
Archive powered by MHonArc 2.6.24.