This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

resolving question



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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]