1 |
Am 10.05.2012 10:20, schrieb Grant: |
2 |
>> Try appending this into your /etc/conf.d/net |
3 |
>> > |
4 |
>> > dns_servers_wlan0=208.67.222.222 208.67.220.220 |
5 |
>> > |
6 |
>> > with or without quotes and brackets I am not really sure. |
7 |
>> > |
8 |
>> > dns_servers_wlan0=( "208.67.222.222 208.67.220.220" ) |
9 |
>> > |
10 |
>> > Hope this helps! |
11 |
> Thanks, but I'm actually trying to figure out why the system is using |
12 |
> OpenDNS. I don't see any OpenDNS settings anywhere and yet |
13 |
> resolv.conf has OpenDNS IPs even after a reboot. Shouldn't the |
14 |
> 192.168.0.2 system have 192.168.0.1 in resolv.conf after DHCP? |
15 |
|
16 |
If there is no setting in /etc/conf.d/net that sets the nameservers |
17 |
(like dns_servers_wlan0=...) or if you don't use dhcp, the file |
18 |
/etc/resolv.conf won't be touched. |
19 |
|
20 |
You can try it, edit /etc/resolv.conf by hand, reboot. Then you will see |
21 |
that your changes are still there. |
22 |
|
23 |
If you set an nameserver in /etc/conf.d/net - then resolv.conf will be |
24 |
overwritten when /etc/init.d/net.* gets started. |