What's new

Subdomains on DS220+ (LAN only)

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

myStar

New Around Here
Hey over there,

i have following issue, where i want to create a smooth and easy network flow and i am a bit stuck.

I have an Asus ax86u (MerlinWRT 386.3_2) running on 192.168.1.1. Netbios name for example https://router.homelan => works.
I have an Synology DS220+ (DSM7) running on 192.168.1.123. Netbios name for example https://device.homelan => works.

I want to acess for example Synology Calender.
The build in Adress is something cryptic like "https://synology.homelan/caldav.php/{username}.

Goal is to reach it via "https://caldav.synology.homelan".

I had already played around with reverse proxy & nginx reverse proxy in a docker, trying to reroute (especially because the ports-problem).

nslookup test.synology.homelan
Server: 192.168.1.1
Address: 192.168.1.1#53

** server can't find test.synology.homelan: NXDOMAIN

Nslookup tells me, that the request for "caldav.synology.homelan" is not even getting routed to "synology.homelan", because the router interprets it as a new host.

So in my perspective, i have 2 options:

1) adding (all subdomains /wildcard subdomains) in the router (hosts, dnsmasq.conf, [anywhere else])

2) running an own LAN DNS Server (for example on 192.168.1.123 [synology.homelan]), and use it here:

1639410684688.png



So. can someone agree? or are there better (already built in) options, i dont see?


And yes, this is just in LAN. I dont want to expose my Synology to the WAN (yet). Access over OpenVPN (on ax86u.home) with ddns is granted.



Thanks in advance ;)
 
Last edited:
In the mean time, i tried something like this: https://www.stevenrombauts.be/2018/01/use-dnsmasq-instead-of-etc-hosts/. (creating a dnsmasq.d folder [with configs], and tell dnsmasq.conf to use it)

After reboot the config file was overwritten and the folder gone.

So, with a symlink to /rom i can persist the folder. but it would still get ignored due to the system "re-generating" the dnsmasq.conf file.

ideas ? :)
 

Sign Up For SNBForums Daily Digest

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