Thanks for your suggestions! It turns out what I needed was this pair
of entries in /etc/named.conf:
zone "0.0.127.in-addr.arpa" {
type master;
file "domains/127.0.0";
};
zone "localhost" {
type master;
file "domains/127.0.0";
};
I already had the former entry (it's also in the DNS-HOWTO), but not the
latter.
My 127.0.0 now has:
@ IN SOA localhost. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS localhost.
1 IN PTR localhost.
to avoid any attempts to look anything else up (like linux.host. or my
network.home.).
Anyway, with these tweaks, the problem seems solved. Before, emacs and
other programs would freeze up doing a lookup to try to use how my
DISPLAY was defined; now the delay's gone, and it gets an immediate
answer back from named on my box.
Oh, I believe I'm running the bind that's in RH6.2, though I am using
glibc 2.1.2 instead of glibc 2.1.3.
I'm going to give Mandrake 7.1 a try, but otherwise don't feel drawn to
a 6.2 upgrade yet since things otherwise are working fine, having
already gone through the necessary tweaks. Now I'm just waiting for
RH7.2 or 7.3 before I try it (or fall in love with Mandrake).
All the best,
B
--
Brendan Kehoe
CTO of Nobie.com (http://www.nobie.com/)
-- Finally true Net marketing in .ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!