Hi Michael,

now that /etc/host.conf is obsoleted it may be worth to add a
reference to /etc/nsswitch.conf to gethostbyname(3).  This is
Debian Bug#308397.

Index: man3/gethostbyname.3
===================================================================
RCS file: /var/cvs/debian/manpages/man3/gethostbyname.3,v
retrieving revision 1.13
diff -u -p -r1.13 gethostbyname.3
--- man3/gethostbyname.3        7 Dec 2005 05:58:39 -0000       1.13
+++ man3/gethostbyname.3        13 Dec 2005 09:09:18 -0000
@@ -231,6 +231,9 @@ resolver configuration file
 .TP
 .I /etc/hosts
 host database file
+.TP
+.I /etc/nsswitch.conf
+name service switch configuration
 .SH "CONFORMING TO"
 4.3BSD.
 .SH "SYSV/POSIX EXTENSION"
@@ -323,6 +326,7 @@ obsolescent. See
 .BR inet_pton (3),
 .BR resolver (3),
 .BR hosts (5),
+.BR nsswitch.conf (5),
 .BR hostname (7),
 .BR named (8),
 .BR resolv+ (8)

-- 
We all know Linux is great... it does infinite loops in 5 seconds.
        -- Linus Torvalds

Please always Cc to me when replying to me on the lists.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to