danielwertheim

danielwertheim


notes from a passionate developer

Share


Sections


Tags


Disclaimer

This is a personal blog. The opinions expressed here represent my own and not those of my employer, nor current or previous. All content is published "as is", without warranty of any kind and I don't take any responsibility and can't be liable for any claims, damages or other liabilities that might be caused by the content.

Access Ubuntu server using WINS hostname

My journey with Ubuntu continuous. This time, lets look at an option that lets you access your Ubuntu server install (v14.04) using its hostname instead of its IP and without hacking any hosts file.

Now, this is of course nothing I’ve come up with, just google for it and you will see, I just want my journey documented.

Edit:

sudo nano /etc/nsswitch.conf

Change:

hosts: files dns

–>

hosts: files wins dns

Install:

sudo apt-get install winbind

Done.

//Daniel

View Comments