LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   /etc/network/interfaces - dhcp with specific DNS servers (https://www.linuxquestions.org/questions/linux-networking-3/etc-network-interfaces-dhcp-with-specific-dns-servers-4175446197/)

\/4A 01-18-2013 10:41 AM

/etc/network/interfaces - dhcp with specific DNS servers
 
Hi,

I'm trying to modify the /etc/network/interfaces in Ubuntu Server 12.04 minimal using command line interface.

The current settings are
Code:

# The primary network interface
auto eth0
iface eth0 inet dhcp

However, I want to maintain DHCP while setting specific values for DNS servers.

How would I go about with this?

bathory 01-18-2013 11:11 AM

Hi,

I guess this is what you want

Cheers

\/4A 01-18-2013 12:00 PM

Quote:

Originally Posted by bathory (Post 4873000)
Hi,

I guess this is what you want

Cheers

Thanks.
Exactly what I needed.


All times are GMT -5. The time now is 11:47 PM.