smbclient server name resolution

Simon Hyde shyde at
Mon Nov 24 08:35:45 GMT 1997

On Mon, 24 Nov 1997 15:56:35 +1100, you wrote:

>Hello.  I have been looking at smbclient source code and it seems to use
>gethostbyname first to try to resolve a server name and then tries WINS.
>In a dial-in-to-the-ISP situation where the ISP runs the DNS, this may be
>a "gotcha" - particularly as we want to use DHCP for PCs and want to print
>to a printer attached to one of those PCs with smbclient.
>Am I reading this correctly?  Has anyone made this combination work
>without dialing the ISP for every print job?

Try setting 'dns proxy = no' in smb.conf, this should solve your problems.
Either this or setting up your local caching DNS server.

More information about the samba mailing list