This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
resolving question
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: resolving question
- From: Arkadiusz Miskiewicz <misiek at pld dot org dot pl>
- Date: Thu, 10 Feb 2000 11:35:38 +0100
Hi,
another question about resolving in glibc:
misiek@dark misiek$ cat /etc/resolv.conf
domain misiek.eu.org
search misiek.eu.org
nameserver 127.0.0.1
misiek@dark misiek$ cat /etc/hosts
127.0.0.1 localhost.misiek.eu.org localhost
192.168.0.1 dark.misiek.eu.org dark
misiek@dark misiek$ host localhost.
localhost has address 127.0.0.1
misiek@dark misiek$ host 127.0.0.1
1.0.0.127.IN-ADDR.ARPA domain name pointer localhost
misiek@dark misiek$ host localhost
Host not found.
misiek@dark misiek$
someone can tell me why ,,localhost'' isn't resolved
while ,,localhost.'' is resolved ??
In my named ,,localhost'' is defined as top level domain:
zone "localhost" IN {
type master;
file "M/localhost.zone";
check-names fail;
allow-update { none; };
allow-transfer { any; };
};
glibc-2.1.2 without nscd running.