Bug 22078 - problem with local networks
problem with local networks
Product: Red Hat Linux
Classification: Retired
Component: caching-nameserver (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
Dale Lovelace
Depends On:
  Show dependency treegraph
Reported: 2000-12-11 16:52 EST by Need Real Name
Modified: 2007-04-18 12:30 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-12-11 16:52:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2000-12-11 16:52:44 EST
The caching nameserver is installed
and /etc/resolv.conf is
search localdomain 

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.
Comment 1 Pekka Savola 2000-12-12 11:30:35 EST
This is as designed.

You should run a full-fledged DNS for those non-routable IP-addresses 
or add them to /etc/hosts.
Comment 2 Need Real Name 2000-12-12 11:53:31 EST
Is there a way to add to /etc/hosts
entire subnet, otherwise it may be too many hosts to add.
Comment 3 Pekka Savola 2000-12-12 12:23:19 EST
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.
Comment 4 Dave Wysochanski 2007-01-23 20:19:40 EST
*** Bug 224079 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.