Jump to content

Name server resolution Ubuntu 16.04


brent
 Share

Recommended Posts

Ubuntu has changed the way that resolv.conf works. In ubuntu server 16.04 you have to add the name server to the interfaces file.

 

 

/etc/network/interfaces

Here is an example of what mine looks like.

iface eth0 inet static
     
      address 192.168.1.105
      netmask 255.255.255.0
      broadcast 192.168.1.255
      gateway 192.168.1.254
      dns-nameserver 192.168.1.105  
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...