Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 1997 09:43:23 -0400
From:      Frank DiPrete <frankd@star.net>
To:        "'freebsd-bugs@freebsd.org'" <freebsd-bugs@freebsd.org>
Subject:   nslookup/subnet mask bug
Message-ID:  <01BC8795.AB849140@tenagra.initium>

next in thread | raw e-mail | index | archive | help
Using: FreeBSD 2.1.7.1-RELEASE

I have a problem with "nslookup" and "DNS". I am using an IP addressing scheme proved by an ISP which has the class C network subnetted down to 16 hosts. Here is a brief description of the bug:

DNS server is up and running
DNS server resolves for the domain.
nslookup on pc clients works perfectly.
nsllokup on the freebsd machine fails to find the server.
Secondary DNS server fails to find the primary server (it can ping it)

IP Information:

IP address and subnet mask:
network=209.61.45.96 mask=255.255.255.240 host=209.61.45.98

ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 209.61.45.98 netmask 0xfffffff0 broadcast 209.61.45.111 

Ping tests (hostname is "shaka")
PING shaka.initium.com (209.61.45.98): 56 data bytes
64 bytes from 209.61.45.98: icmp_seq=0 ttl=255 time=0.349 ms   

resolv.conf file:
shaka% cat resolv.conf
domain  initium.com

nameserver 209.61.45.96  

nslookup failure:
shaka% nslookup
*** Can't find server name for address 209.61.45.96: No response from server
*** Default servers are not available   

Now, further testing reveals that when I point thefreebsd client to 0.0.0.0 nslookup works fine.

shaka% cat resolv.conf
domain  initium.com

nameserver 0.0.0.0   

shaka% nslookup
Default Server:  shaka.initium.com
Address:  0.0.0.0

> shaka
Server:  shaka.initium.com
Address:  0.0.0.0

Non-authoritative answer:
Name:    shaka.initium.com
Address:  209.61.45.98 

Is this a bug or a configuration error ?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BC8795.AB849140>