On Tue, Sep 20, 2005 at 12:51:43AM +0200, Jeroen van Wolffelaar wrote: > To be honest, I wouldn't know how to most easily invoke gethostname(2) from > the command-line to test... Well, try 'getent hosts foo.example.com', both as root and non-root. getent is part of libc6, and is the userland tool to do nss queries. --Jeroen -- Jeroen van Wolffelaar Jeroen@wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357) http://Jeroen.A-Eskwadraat.nl