Jump to content
Not connected, Your IP: 216.73.217.99
Sign in to follow this  
LW4

Proper resolv.conf nameserver?

Recommended Posts

When connecting to an airvpn server, if the tun0 address gets assigned to 10.4.0.179.5, should the nameserver in resolv.conf be 10.4.0.1 or 10.4.179.1?

Share this post


Link to post

Hello!

 

It's 10.4.0.1. It is reachable from any other subnet, even in Generation 2 servers, where subnets are smaller (/24) and unique for each server, port and protocol (a modification which makes multi-homing much simpler).

 

Alternatively, consider to accept the DNS push from the server, if possible. Accepting the DNS push has a relevant advantage: it makes attacks based on DNS hijacking through route injection impossible, because the default VPN gateway address matches the DNS server address.

 

Kind regards

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...