Red Hat Bugzilla – Bug 22078
problem with local networks
Last modified: 2007-04-18 12:30:10 EDT
The caching nameserver is installed
and /etc/resolv.conf is
Many programs (like samba, netstat and etc)
seems doing DNS lookup even on non-routed IPs
They are probably made through caching nameserver.
The cachining nameserver seems doing a lookup of these
addresses and this caused huge delay.
I think the caching nameserver should return the answer right
away, without all these very annoing delays on
non-routed networks when some tools are used.
I think something should be fixed so netstat -a ; ipchains -L and etc
return faster than it is now. Now it is extremely slow.
in the same time netstat -an (-n do not resolve) is extremely fast.
This is as designed.
You should run a full-fledged DNS for those non-routable IP-addresses
or add them to /etc/hosts.
Is there a way to add to /etc/hosts
entire subnet, otherwise it may be too many hosts to add.
In that kind of scenario, I recommend setting up a DNS server. Basically
"distributes" one centrally managed "/etc/hosts" to all systems. You only
need to define those hosts on your server.
There are a few HOWTO's and guides around. The definitions will be in /etc/named.conf
and under /var/named.
*** Bug 224079 has been marked as a duplicate of this bug. ***