Re: Trouble with getbyhostname()



Unruh <unruh-spam@xxxxxxxxxxxxxx> wrote:
Rick Jones <rick.jones2@xxxxxx> writes:
However, for the last, oh five years or so, people should be
migrating to getaddrinfo() rather than gethostbyname()... :)

Which unfortunately has ( or maybe had) a problem in that it would
not use the local hosts file but went out to the dns server for
everything.

I would expect that is had rather than has as I've been using it
without reported trouble (of that sort at least) in netperf for a few
years now.

rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
.



Relevant Pages

  • Re: Moving machines and users
    ... separate tree, in the domain that iam migrating to, so transitive two way ... am migrating from has only a secondary DNS server in the entire domain ... >> mention anything about having to migrate a computer account that is ... >> having trouble with is migrating the machine account from a separate tree ...
    (microsoft.public.windows.server.active_directory)
  • Re: Moving machines and users
    ... >i shouldt have a trust issue becasue the domain that i am migrating from is ... > am migrating from has only a secondary DNS server in the entire domain ... >>> member of the AD domain, and the users log on account or user account ... >>> machine account is in myADdomain.com myADdomain.com is a separate tree ...
    (microsoft.public.windows.server.active_directory)
  • Re: call gethostbyname() after device reacquires IP address
    ... be using getaddrinfo() rather than gethostbyname. ... libraries were caching bogus DNS server information - if DHCP didn't ... provide an IP address to the NIC, it likely didn't provide DNS server ...
    (comp.os.linux.networking)
  • [opensuse] help with dns
    ... i currently have a dns server that resolves about 500 hosts in ... i need to now work towards migrating all current records to ...
    (SuSE)
  • [opensuse] Migrating to a new domain (BIND/DNS)
    ... I currently have a dns server that resolves about 500 hosts in ... I need to now work towards migrating all current records to ...
    (SuSE)