Jump to content
Not connected, Your IP: 54.80.173.217
devidd55

How to setup resolv.conf to use AirVPN DNS servers?

Recommended Posts

Open /etc/resolv.conf with elevated privileges.

sudo texteditorhere /etc/resolv.conf

Insert a # before every line, then enter a new line and type

nameserver 10.4.0.1

Save and try surfing somewhere.

 

Alternatively, use the AirVPN client. It will even restore your previous resolv.conf after disconnection.


» I am not an AirVPN team member. All opinions are my own and are not official. Refer to Staff postings for the official word.

» These are the community forums, not the support portal. You're writing with other users here.

» New here? LZ1's New User Guide to AirVPN. Use the search function, Luke!

» Tor exits behind a VPN connection are discouraged. Using Tor on the other hand is not.

 

» Privacy is like alcohol: Drink a little and it can help you stay unnoticed. Drink a lot and everyone will notice you.

» I cannot give you the solution to all your issues. But I can guide you to it. The rest is up to you.

Share this post


Link to post

Any input is greatly appreciated

 

Manual changes will generally be lost because whatever DHCP client is in use will overwrite /etc/resolv.conf when a license is obtained or renewed.

 

See these posts for options:

 

https://airvpn.org/topic/9608-how-to-accept-dns-push-on-linux-systems-with-resolvconf/?p=10827

 

https://airvpn.org/topic/19420-iptables-resolvconf-questions/?p=48390

 

https://airvpn.org/topic/19420-iptables-resolvconf-questions/?p=48405

Share this post


Link to post

Manual changes will generally be lost because whatever DHCP client is in use will overwrite /etc/resolv.conf when a license is obtained or renewed.

 

Apparently not always. My resolv.conf doesn't change for example.


» I am not an AirVPN team member. All opinions are my own and are not official. Refer to Staff postings for the official word.

» These are the community forums, not the support portal. You're writing with other users here.

» New here? LZ1's New User Guide to AirVPN. Use the search function, Luke!

» Tor exits behind a VPN connection are discouraged. Using Tor on the other hand is not.

 

» Privacy is like alcohol: Drink a little and it can help you stay unnoticed. Drink a lot and everyone will notice you.

» I cannot give you the solution to all your issues. But I can guide you to it. The rest is up to you.

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...