Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2013 22:04:15 -0600
From:      Tim Daneliuk <tundra@tundraware.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   OT: What Might Break getbostbyname() ?
Message-ID:  <50F7783F.7020406@tundraware.com>

next in thread | raw e-mail | index | archive | help
This is not really a FreeBSD problem ... in fact, it's happening on
a Solaris 10 machine. But because the TCP stack and its userland
interface came from BSD, I am hoping some kind soul might have
an insight into what's going on ...

The machine in question does DNS lookups fine via dig or nslookup.
I believe these connect directly to the DNS server(s) specified
in /etc/resolv.conf.

However, any program that uses gethostbyname() - like ping - fails
and says it cannot resolve the name.

I'm looking for hints here on why or how gethostbyname() and/or
the network stack could get clobbered so as to not be able to talk
to the DNS servers which I know are reachable via dig and nslookup.

TIA,
-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra@tundraware.com
PGP Key:         http://www.tundraware.com/PGP/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F7783F.7020406>