DNS Lookups

Simon Hyde shyde at poboxes.com
Thu Sep 25 15:34:56 GMT 1997

On Thu, 25 Sep 1997 12:09:14 +1000, you wrote:

>V. 1.9.17p1, FreeBSD.
>Why is it that SAMBA will do a DNS lookup for a WINS host (that is not
>in DNS), even though nmblookup returns the IP address straightaway?
>The problem I'm having is that my dialup connection is activated when DNS
>packets are detected.  This seems to happen all the time, even though no
>traffic is destined for the Internet.  SMB seems to work fine.
>Any pointers appreciated.
Try setting up a hosts file (in the same windows subdirectory as hosts.sam on your
PCs and usually /etc/hosts on your Unix system) that way any attempt to lookup the
hostname of a machine will never get as far as DNS if it is in your hosts file.

More information about the samba mailing list