This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tracing Linux hostname resolution


On 1/11/2011 11:04 AM, Andreas Schwab wrote:
Jeff Blaine<jblaine@kickflop.net> writes:

On 1/11/2011 10:47 AM, Andreas Schwab wrote:
Jeff Blaine<jblaine-GbE5gUWZ6k7k1uMJSBkQmQ@public.gmane.org> writes:

I figured I'd take this full-circle and subscribe here
to mention this, as it seems a little odd in practice:


http://www.kickflop.net/blog/2011/01/02/tracing-linux-hostname-resolution/

Don't use the obsolete gethostbyname interface.

Andreas,


"I" am not. My trace is of glibc's getent binary.

You are requesting it to use the obsolete gethostbyname interface.

Andreas, your terseness isn't really all that informational, although I appreciate that someone is replying.

Can you explain how *I* am requesting anything?

I'm running *glibc's getent binary* (from nss/getent.c)
built against glibc.

My control points in that situation are:

   a) my arguments to getent ("hosts www.google.com")
   b) my OS configuration files

Neither of which state "use the obsolete gethostbyname
interface in glibc"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]