From owner-freebsd-bugs  Thu Jul  3 06:45:32 1997
Return-Path: <owner-bugs>
Received: (from root@localhost)
          by hub.freebsd.org (8.8.5/8.8.5) id GAA10373
          for bugs-outgoing; Thu, 3 Jul 1997 06:45:32 -0700 (PDT)
Received: from venus.star.net (root@venus.star.net [199.232.114.5])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA10366
          for <freebsd-bugs@freebsd.org>; Thu, 3 Jul 1997 06:45:28 -0700 (PDT)
Received: from tenagra.initium (shib@bos227p.star.net [199.232.112.227]) by venus.star.net (8.8.5/8.7.3) with SMTP id JAA22782 for <freebsd-bugs@freebsd.org>; Thu, 3 Jul 1997 09:45:04 -0400
Received: by tenagra.initium with Microsoft Mail
	id <01BC8795.AB849140@tenagra.initium>; Thu, 3 Jul 1997 09:44:15 -0400
Message-ID: <01BC8795.AB849140@tenagra.initium>
From: Frank DiPrete <frankd@star.net>
To: "'freebsd-bugs@freebsd.org'" <freebsd-bugs@freebsd.org>
Subject: nslookup/subnet mask bug
Date: Thu, 3 Jul 1997 09:43:23 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id GAA10367
Sender: owner-bugs@freebsd.org
X-Loop: FreeBSD.org
Precedence: bulk

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 ?