dhcp and dns

Asked by jiml

using 7.04 .

is it possible to set dns servers and at the same time get address using dhcp?

current setup does not seem to allow this.

cox is starting to display there own error page on bad/invalid URL.

They have different DNS addresses if you want standard error pages.

TIA

Jim

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Hanusz leszek
Solved:
Last query:
Last reply:
Revision history for this message
Best Hanusz leszek (leszek-skynet) said :
#1

Hello,

You can make the /etc/resolv.conf file read only so that the dhcp client cannot change it.

You can do this with this command in a terminal:
sudo chmod 444 /etc/resolv.conf

Revision history for this message
jiml (jlundy2001) said :
#2

Thanks will give it a try

Jim