Re: WML and not unnecessary (?) DNS lookups.
Denis Barbier <[email protected]> Tue, 18 Nov 2003 00:42:39 +0100
| Newsgroups | gmane.comp.web.wml |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Nov 17, 2003 at 05:01:15PM +0100, Artur Meski wrote: > When I execute 'wmk -a', something connected with WML does a lot of > queries to DNS about host from which I'm logged into the server. > > > [...] > Nov 13 19:00:22.563 client 111.111.111.111#2593: query: REMOTEHOST IN A > Nov 13 19:00:22.568 client 111.111.111.111#2594: query: REMOTEHOST IN AAAA > [...] > > > $ env | grep REMOTEHOST > REMOTEHOST=REMOTEHOST > > REMOTEHOST has nothing to do with that host (where I use > WML) excluding the fact that I'm logged in from this host. > > > I couldn't find out what's guilty -- perl or WML itself. Does it make > any sense to do so many DNS lookups? Can I somehow disable them? [...] I believe that it can be caused by the getpwuid perl function. You may edit /etc/nsswitch.conf and see if this problem disappears when modifying some settings. -- Denis Barbier WML Maintainer _____________________________________________________________________ Website META Language (WML) http://thewml.org User Support Mailing List [email protected] Automated List Manager [email protected]