![]() |
resolv.conf does not save nameservers
So I saved 2 nameservers (DNS) from my router and then OpenVPN connects and i can use it just fine but the next time I connect again, it just won't. I opened resolv.conf and the nameservers were gone. Is this meant to be this way?
thanks! |
Re: resolv.conf does not save nameservers
Quote:
For me, name-servers were gone only after re-flash. They worked reliably before re-flash through several reboots. But I use only two Internet connections: WiFi and USB. |
Re: resolv.conf does not save nameservers
Quote:
|
Re: resolv.conf does not save nameservers
I've solved this issue by using opendns,
just add this lines to /etc/resolv.conf : nameserver 208.67.222.222 nameserver 208.67.220.220 |
Re: resolv.conf does not save nameservers
Thanks for the replies.
hmm well I added 127.0.0.1 in resolv.conf and also removed the default ISP DNS entries that get populated in /var/run/resolv.conf.wlan0 (they don't work with OpenVPN) or rather my vpn provider. I tried the opendns too and 2 provided by my vpn provider still for some odd reason it doesn't store them in resolv.conf, they just vanish :S and the file stays blank. Thx Rob1n, I set static DNS for the AP and resolv.conf now stores them fine so works both when connected and not connected to OpenVPN.. Now I just need to get SIP working with OpenVPN :) i saw a script somewhere. thanks again! |
All times are GMT. The time now is 08:16. |
vBulletin® Version 3.8.8