server CLI how to fix dns resolution,proxy and to static IP

compdoc compdoc at hotrodpc.com
Tue Jun 12 23:41:13 UTC 2012


>. I want to put my own DNS server and keep getting the IP from DHCP.

 

Create a file:

 

sudo nano /etc/resolvconf/resolv.conf.d/tail

 

 

Paste the following lines to that file. (The first two lines are optional,
and only one nameserver is needed):

 

domain domain.com

search domain.com

nameserver 192.168.10.1

nameserver 192.168.10.50

 

 

control-x to save and exit, and then to activate: 

 

sudo resolvconf -u 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120612/065b2804/attachment.html>


More information about the ubuntu-users mailing list