Jump to content
Not connected, Your IP: 3.237.94.109
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 to be considered official. Only the AirVPN Staff account should be viewed as such.

» The forums is a place where you can ask questions to the community. You are not entitled to guaranteed answer times. Answer quality may vary, too. If you need professional support, please create tickets.

» If you're new, take some time to read LZ1's New User Guide to AirVPN. On questions, use the search function first. On errors, search for the error message instead.

» If you choose to create a new thread, keep in mind that we don't know your setup. Give info about it. Never forget the OpenVPN logs or, for Eddie, the support file (Logs > lifebelt icon).

» The community kindly asks you to not set up Tor exit relays when connected to AirVPN. Their IP addresses are subject to restrictions and these are relayed to all users of the affected servers.

 

» Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, chances are you will be unique amond the mass again.

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 to be considered official. Only the AirVPN Staff account should be viewed as such.

» The forums is a place where you can ask questions to the community. You are not entitled to guaranteed answer times. Answer quality may vary, too. If you need professional support, please create tickets.

» If you're new, take some time to read LZ1's New User Guide to AirVPN. On questions, use the search function first. On errors, search for the error message instead.

» If you choose to create a new thread, keep in mind that we don't know your setup. Give info about it. Never forget the OpenVPN logs or, for Eddie, the support file (Logs > lifebelt icon).

» The community kindly asks you to not set up Tor exit relays when connected to AirVPN. Their IP addresses are subject to restrictions and these are relayed to all users of the affected servers.

 

» Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, chances are you will be unique amond the mass again.

Share this post


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

×
×
  • Create New...