1

I am a complete new-be when it comes to Linux and even more so when it concerns Ubuntu.

I want to configure the IPv4 settings to have automatic assigning of IP address but manual assigning for DNS. How do I do it?

Please teach me how to do it step by step.

Please take a look at the image to get an idea of what I am asking.

Thank you in advance.

Windows DNS settings example:

image

Videonauth
  • 33,815

1 Answers1

1

Assuming you are using resolvconf

Open resolvconf config in gedit via

gksudo gedit /etc/resolvconf/resolv.conf.d/original

This should result in a dialog asking for your password and then open the UI texteditor Gedit with the following file: /etc/resolvconf/resolv.conf.d/original

This file usually contains a line like that

nameserver 8.8.8.8 8.8.4.4

This would mean there are to nameserver configured: - 8.8.8.8 and - 8.8.4.4

Edit the file to your needs and save & quit gedit.

Finish with

sudo resolvconf -u

UPDATE:

Just realized this post covers the topic way better then i did.

dufte
  • 14,198
  • 5
  • 41
  • 43