What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

dnsmasq making requests via VPN tunnel

bassplayerchris

Occasional Visitor
I have an ASUS with multiple VPN tunnels set up - in each case the VPN tunnel provides the address of a VPNreachable DNS server on connection time (which is just a DNS server running on the other side of the VPN server) though I had assumed that this would normally be ignored.

The DNS settings in 'LAN/DHCP Settings' on the router has DNS Server 1 pointing at an upstream address (a normal address that doesn't involve going via the VPN tunnels). DNS Server 2 is unset. Parental Controls/DNS Fitering/Global Filter Mode, is set to "Router" (setting these so that the clients that are permanently routed via one of the tunnels can then have their own DNS queries re-written via the Custom field to the appropriate VPN reachable DNS servers).

I turned on query logging on dnsmasq to solve another issue and notice that, some queries are being directed to the address in 'DNS Server 1', and some are being directed to both this server and one of the VPN addresses.

Why is this? There's nothing in in the config that indicates this behaviour - there's nothing that DNSMASQ is picking up afaict. If i look in nvram I see:

dnsfilter_custom1=10.7.0.1
dnsfilter_custom2=10.8.0.1
dnsfilter_custom3=10.9.0.1

Which is what I'd expect given my settings above (10.9.0.1 is the spurious VPN address being picked up and used by DNSMASQ).

Lastly, slightly different issue. In addition to making requests to the self provided ntp server, the ASUS is also making requests to time.nist.gov (round-robining). Look in the nvram I see:

ntp_server0=0.uk.pool.ntp.org
ntp_server1=time.nist.gov

So I guess that one is hardcoded - as it doesn't appear on the NTP dialogue.

One more note - NTP querying is being done once per hour - virtually on the hour - I suspect best practice would see this varied randomly to avoid spikes in NTP traffic.
 
Just verifying that i'm still seeing this issue. dnsmasq is apparently picking up one of the VPN tunnels DNS server and forwarding queries to it.

However it appears to be doing it via the IP address associated with the routers normal interfaces, and so doesn't get a reply (i have filters running on the other side of the tunnel)
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top