Operating System - Linux
1825771 Members
2115 Online
109687 Solutions
New Discussion

Can I use WINS address in /etc/resolv.conf?

 
Debbie Fleith
Regular Advisor

Can I use WINS address in /etc/resolv.conf?

I am staging a Linux server for a client that doesn't have a DNS server. I'm not familiar with Windows networking. Can I use their WINS address in the /etc/resolv.conf file on the Linux box?
1 REPLY 1
Ivan Ferreira
Honored Contributor

Re: Can I use WINS address in /etc/resolv.conf?

You can't use resolv.conf, but you can configure the WINS server address in the /etc/samba/smb.conf file. Use the wins server = option.

If you configure winbind, you can use libnss_winbind to resolve host names configuring /etc/nsswitch.conf:

hosts: files wins

See:

http://samba.org/samba/docs/man/manpages-3/winbindd.8.html

You can configure your Linux bos as DNS server.

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?