gethostbyname(DOTNAME) failing

mlord (mlord@pobox.com)
Sat, 28 Mar 1998 12:14:52 -0500


Starting with 2.1.91 (or was it 2.1.90? mmm..)
using gethostbyname() with a DOTNAME lookup on a locally
defined host (in /etc/hosts only) now takes a LONG TIME
and eventually fails.

Eg.
In /etc/hosts:
10.0.0.1 Foxy.org Foxy ## my local machine
10.0.0.2 Bertha.org Bertha ## another local ethernet machine

In /etc/host.conf:
order hosts,bind
multi off

In /etc/resolv.conf, are my ISP (dial-up PPP) DNS settings:
domain magma.ca
search magma.ca
nameserver 206.191.0.140

Prior to 1.1.91 (or was it 1.1.91?),
hostname lookups for Bertha.org. would return quickly.

Now, though, they take forever, and eventually fail.

I can fix this permanently by disabling DOTNAME support in tcp_wrappers,
but does anyone know why this is suddenly necessary where it wasn't before?

???

-- 
mlord@pobox.com
The Linux IDE guy

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu