xen breaks DNS for me

Ulrich Drepper drepper at redhat.com
Fri Sep 9 16:35:05 UTC 2005


Murray, WJ (Bill) wrote:
> I debugged for a while, and it seems that if I call 'host' twice,
> the first is fine, but the second call breaks dns. Or running the
> rhn_applet_gui breaks it. However, the '/sbin/route' command will
> correctly give the gw name rather than address as many times as you
> like, and presumably is does a dns lookup to find it.

route uses the libc name resolution (NSS).  host uses the resolver
library code directly.  NSS (if nscd is running) caches the results so
it is no wonder that route continues to provide the correct information.

Look at the log files and if necesary run host under strace to see why
the network syscalls fail.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050909/4d3d2ec0/attachment-0001.sig>


More information about the fedora-list mailing list