[Samba] samba resolves wrong wins ip address
John Russell
drjimmy42 at yahoo.com
Fri Jan 2 17:35:14 GMT 2004
> wins provides NETBIOS names - not fqdn names.
>
> DHCP & BIND should be capable of resolving / registering dns names of
> dynamically assigned addresses if configured to do so. 'man dhcpd.conf'
>
> Craig
nsswitch.conf entry on linux machine
hosts: files dns wins
ping attempt to windows machine with DHCP address
mendelssohn:/home/jorussel# ping jorussel-w2ks
PING jorussel-w2ks (161.44.79.220) 56(84) bytes of data.
64 bytes from 161.44.79.220: icmp_seq=1 ttl=128 time=0.503 ms
64 bytes from 161.44.79.220: icmp_seq=2 ttl=128 time=0.798 ms
--- jorussel-w2ks ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1008ms
rtt min/avg/max/mdev = 0.503/0.650/0.798/0.149 ms
remove wins entry in nsswitch.conf
hosts: files dns
mendelssohn:/home/jorussel# ping jorussel-w2ks
ping: unknown host jorussel-w2ks
replace wins entry in nsswitch.conf
hosts: files dns wins
mendelssohn:/home/jorussel# ping jorussel-w2ks
PING jorussel-w2ks (161.44.79.220) 56(84) bytes of data.
64 bytes from 161.44.79.220: icmp_seq=1 ttl=128 time=0.489 ms
64 bytes from 161.44.79.220: icmp_seq=2 ttl=128 time=0.403 ms
--- jorussel-w2ks ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.403/0.446/0.489/0.043 ms
No other changes were made.
However, this is not really my question, but I would like to clear it up.
John
More information about the samba
mailing list