Enabling WINS lookup
Hi all,
I'm running 10.1 as a client on a pretty old NT server domain which runs WINS rather than DNS to resolve hostnames. I've been messing around all day and can't for the life of me work out how to get suse to resolve hostnames using a WINS server. I've cracked it for samba. I.e. i can see network shares using 'smb://hostname/share'. However, if try from the terminal: tkd@TKDSUSE:~> ping tt100269 I get.. ping: unknown host tt100269 Doing the same using an IP or a hostname which is definitely in DNS is fine too. Can anyone help? |
DNS > WINS :)
Samba can utilize WINS but Linux its self cannot I believe. |
Samba uses NetBIOS lookup, there is a utility in linux that allows you to use this
nmblookup tt100269 will give you an ip address and you can ping the ip address. |
Go into the file nsswitch.conf located at /etc/nsswitch.conf. Find the Line "hosts: files dns". It's missing wins so make it like this "hosts: files dns wins". Then you can ping by NetBIOS name.:)
Swerdna |
All times are GMT -5. The time now is 03:15 PM. |