weird name resolution problem w/ bind
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Tue Jul 6 22:54:51 UTC 2004
Klaus A. Kreil <k067zaaf at unet.univie.ac.at> wrote:
> Hello BIND experts out there,
> I do have a strange behaviour of bind (version 9.2.3 running on SuSE
> 9.1,
> kernel 2.6.5-7.75-smp) as follows:
> ping hp8550 (hp8550 is a local networked printer) from a ssh window
> (putty) times out without resolving the name yielding an error message
> as follows:
> ping: unknown host hp8550
> This is also the case if started with the FQDN (ping
> hp8550.xxxxx.local) to
> resolve for the IP address:
> ping: unknown host hp8550.xxxxx.local
> nslookup hp8550 from the same ssh console returns the correct FQDN
> together
> with the IP-number as follows:
> Note: nslookup is deprecated and may be removed from future releases.
> Consider using the `dig' or `host' programs instead. Run nslookup with
> the `-sil[ent]' option to prevent this message from appearing.
> Server: 192.168.xx.1
> Address: 192.168.xx.1#53
> Name: hp8550.xxxxx.local
> Address: 192.168.xx.64
> Same ping from a XP cmd window of a local PC connected to the local
> domain
> works without any problems: ping hp8550 resolves to the correct IP and
> pings.
An output of "dig hp8550.xxxxx.local" would be vastly superior debug tool.
> All external pings (i.e. hosts not in the local domain) with domain
> names
> resolve for the IP address and work as expected regardless whether
> from XP
> or ssh window. You can substitute bind with telnet, ftp, etc - all do
> not
> resolve correctly if executed from the ssh console.
> BTW the same is true for the linux console
> Setup is as follows:
> authoritative bind for the domain xxxxx.local with "forwarders ..." to
> the
> ISP's name servers with "forward first". Restricted to allow queries
> from
> the local subnet + loopback and listening on dedicated local subnet
> address
> (192.168.xx.1) plus loopback.
Then you can start with removing forwarding. Just make shure you have
a valid root-hints file ( you probably already have one)
> At the moment I am clueless and would appreciate any suggestion.
> Many thanks and best regards,
> Klaus
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
More information about the bind-users
mailing list