What's new

Use router as (external) DNS server

  • 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!

Shira

Occasional Visitor
I have an RT-AC68U with Merlin and Diversion installed, is there any way I can use the router as a DNS server for other devices outside of my LAN? (i.e mobile phone on data)
 
Why couldn't you just port forward 53 to the RT-68U and set your clients' DNS servers to your WAN IP?
 
Because running a publicly accessible DNS server would be a magnet for bots/people wanting to abuse it. e.g. DNS amplification attacks. Same reason you don't host a publicly accessible email server.
I agree it's a bad idea. It's not as difficult as it might sound to set up a VPN server and keep your mobile devices connected to the LAN via VPN at all times. That's how I operate.
 
I agree it's a bad idea. It's not as difficult as it might sound to set up a VPN server and keep your mobile devices connected to the LAN via VPN at all times. That's how I operate.

I tried that but Diversion doesn't seem to work through VPN.
 
Two things:

1. Is your VPN server advertising your router as the DNS server for clients to use?
sSurmh9.png


2. Are your VPN clients are using the DNS server advertised by your VPN server (which should be the same as regular LAN clients use)?
 
https://www.aaflalo.me/2019/03/dns-over-tls/ there are instructions to setup your own DNS server, but you would have to adapt it to your setup ALOT, and you would have to have the skills and know how to do it. It is not something as simple as forwarding a port and exposing your connection to attack.

VPN is the better option, Let the DNS server gurus be the dns server gurus, while you be the regular home user is usually the better option.
 
Just reading about DNS amplification attacks. Is it safe to assume that Merlin default settings would not expose our routers to such an attack?
I did the dig test outlined on this page: http://openresolver.com/ using the WAN IP of my router and got
";; connection timed out; no servers could be reached"
so I guess I'm okay?
 

Similar 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!
Top