DNS resolver resolves LAN IPs

Peter Skvarka <[email protected]>
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
Hello,

Has anybody similar problem or what is set incorrectly ?

I have fresh installation NetBSD 10.1, with static LAN IPv4 address and 
defaultroute.

Problem is that OS first tries to resolve LAN IP to DNS even when I try 
to ping to IP target.
When I try ping to LAN neighbor (for example gateway 192.168.1.1) then 
it tries first to resolve 192.168.1.1 to DNS name (query PTR 
1.1.168.192.in-addr-arpa which fails after approx.15 seconds) and then 
starts pinging and receives replies.
When I stop ping and start again the result is the same also the same 
when trying to ping behind router.
When I comment DNS server in resolv.conf then ping starts quickly, all 
is ok.
On machine I have another two network cards and behavior is the same. I 
have not this problem with another NetBSD 10.1 installation on notebook.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.