Skip to Content.
Sympa Menu

freetds - [freetds] DNS lookups not working with freetds

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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 0
defaults are designed to be reasonable usually including AI_ADDRCONFIG anyway.

Would switching to default for ai_flags break anything for anyone?

thanks,
~Peter




Archive powered by MHonArc 2.6.24.

Top of Page