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

Resolving internal network

Recommended Posts

Is there a way to configure my setup to be able to resolve my internal network hosts when connected to the AIRVPN client?


My Home Network

Laptop - Linux MINT w/AIRVPN client

Workstation - Linux MINT - Role: file server

pfSense running DNS Resolver (Unbound)



I'm trying to write an rsync over SSH script to sync files between my laptop and workstation. My laptop is always connected to VPN and when it is, DNS resolution does not work for my internal hosts. I am still able to reach my workstation by connecting via IP address. I know this is by design to avoid DNS leaks, but am curious to know if it is possible to configure my network to allow internal resolution without compromising security.

Share this post

Link to post

You could give the machines in your LAN names instead of IP addresses using /etc/hosts on your laptop:


But then the IP addresses could change? You could tell your DHCP client to assign a fixed IP based on MAC address.

How do you have names for your machines when the VPN is not up? I don't use pfsense. Does that DNS just support something similar to /etc/hosts?

I guess you are using "local-data"?


Or is that a configuration command? That short description is not a lot of help


Or maybe you are using "Register DHCP leases in the DNS Resolver"? Do those go into some sort of local domain name?

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

  • Create New...