Thanks Ishwor

That's answered my question. If I manage to recompile gethostbyname appropriately, I'll report some results here.

Cheers,
b


Send slug mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.slug.org.au/listinfo/slug
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of slug digest..."
------------------------------------------------------------------------

Today's Topics:

   1. Re: debugging dns resolution issues with RES_OPTIONS="debug"
      (Ishwor Gurung)
------------------------------------------------------------------------

Subject:
Re: [SLUG] debugging dns resolution issues with RES_OPTIONS="debug"
From:
Ishwor Gurung <[email protected]>
Date:
Wed, 27 Jan 2010 22:35:10 +1100
To:
[email protected]

To:
[email protected]


2010/1/27 Ben Burke <[email protected]>:
Rick,

Thanks - yes, that will help, though I don't think I'll get close enough to
the problem to decide if it's ip communications or a windows dns server
issue. (I could do other connectivity tests to the dns servers, same result)

I came across these options when working with a really nasty performance
problem, involving AIX dns clients, resolving names on win2k3 servers. At
the time, I was being pushed to populate hosts files on dozens of unix
hosts, rather than get to the bottom of what was going on. Eventually, we
found that the AIX version in use would attempt ipv6 style dns client
behaviour several times, before failing back to ipv4 behaviour. At the time,
IBM gave us no support what so ever - just blamed microsoft. As usual, the
way to solve a vendor war is, get to the root of the problem.

I'm pretty clueless on where gethostbyname lives in the os. My guess would
be, a shared library that many programs link against, rather than part of
the kernel.. This was the kind of info I was looking for.

Hi Rick
gethostbyname is part of GNU libc implementation. Therefore, you'd
have to check out its resolver library to do anything serious with
`options debug` on your /etc/resolv.conf (its disabled by default for
some reason). Other implementations such as AIX which you use has it
enabled by default. AFAIK, most BSDs have them enabled too. HTH

[...]
--
Regards
Ishwor Gurung
Key id:0xa98db35e
Key fingerprint:FBEF 0D69 6DE1 C72B A5A8  35FE 5A9B F3BB 4E5E 17B5

------------------------------------------------------------------------

--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to