using dhclient.conf to set options for resolv.conf

mdg583

Member

Reaction score: 3
Messages: 83

Hello,
I think I have a pretty newbie-type question.

My resolv.conf is defaulting to the following:

Code:
search vs.shawcable.net
nameserver 192.168.0.1


I wanted to change it to default to the following:
Code:
search vs.shawcable.net
nameserver 192.168.0.1
nameserver 4.2.2.1
options timeout 1


But I don't know how to (or if you can) set the "options timeout" thing from dhclient.conf. Here is my dhclient.conf so far:

Code:
interface "wlan0"{
  append domain-name-servers 4.2.2.1;
}


Does anyone have any suggestions?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 9,512
Messages: 34,309

Have the DHCP server serve 2 nameservers in the DHCP response.
 
Top