NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: DNS resolver resolves LAN IPs



Peter Skvarka <ps%softinengines.com@localhost> writes:

I have redirectred to netbsd-users as this is appropriate there rather
than tech-net.

> Problem is that OS first tries to resolve LAN IP to DNS even when I
> try to ping to IP target.

I suspect your problem is that DNS is misconfigured.   ping does that,
and it's not generally considered a bug.   Read the man page and note
the -n option.

Really you should debug and fix your DNS setup.

Understand if you intend to run your own named, or use something else.
Look at resolv.conf.
Run dig, as in `dig -x 192.168.1.1`.

On a working setup, you will get a NXDOMAIN for the RFC1918 addresses,
and that will be reasonably quick even the first time.

You are likely to need to read a fair bit about DNS and dig in order to
fix this.


Home | Main Index | Thread Index | Old Index