Jump to content
Not connected, Your IP: 3.141.38.5
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.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

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.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


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

×
×
  • Create New...