> On the new server we can't resolve any name passed into it, although
> nslookup from a shell on the same server can lookup the names
> without a problem.
This sounds like a host configuration issue.
AFAIK nslookup talks directly with your nameserver, whereas the Java
methods you mention (and ultimately gethostbyname() & friends) use
/etc/nsswitch.conf and other files on the host, which may lead to
different results unless the host is configured correctly.
/gordon

Signature
[ don't email me support questions or followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
mclTunes - 09 Feb 2007 19:16 GMT
> > On the new server we can't resolve any name passed into it, although
> > nslookup from a shell on the same server can lookup the names
[quoted text clipped - 12 lines]
> [ don't email me support questions or followups ]
> g o r d o n + n e w s @ b a l d e r 1 3 . s e
Gordon,
Thank you so much! I also found this web resource which addresses
how to configure /etc/nsswitch.conf to use DNS:
http://www.faqs.org/docs/securing/chap6sec71.html
So we changed this line:
hosts: files
to read:
hosts: dns files
and now the code resolves the name. Excellent!
There appear to be performance issues right now, but we have other
things going on with that box that could account for that.
Thanks again for your contribution!
-- Mark