What's new

Custom DNS aliases?

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

guss77

New Around Here
I've just installed Merlin on a new RT-AX58U, as a replacement to an older router that was running Fresh Tomato, and I'm wondering if there is a way to set up custom DNS aliases like I could do in Fresh Tomato by setting custom dnsmasq configuration rules through the UI. I didn't find anything obvious in the Merlin UI.

The reason I'm interested in this is that I want a split-horizon DNS: I expose some services from my DMZ home server to the internet HTTP named virtual hosting and static IP, and I want to access the same services on the local lan, directly (i.e. not go through the router) with the same host name (also, its named virtual hosting - I kind of need to have multiple names resolvable to the same IP address).

Is this possible with the DNS on the Merlin firmware?
 
I've created a file `/jffs/configs/dnsmasq.conf.add`, with content like this:

Code:
local=/local.mydomain.com/
address=/service/service.local.mydomain.com/service.mydomain.com/192.168.50.70
address=...
...

And that looks to be working fine ✌️
 

Latest threads

Sign Up For SNBForums Daily Digest

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