Local DNS not resolving domain when used with RUT301

Hello,

I have the following case in one of my client’s network.

//
NOTE: I can put only two links in my post :frowning:
So this is MY_IP variable, I’ll use below: 192.168.50.123
//

There is a server with IP: MY_IP. This is a Windows serve with two roles.
Firstly, there is a web app installed on this server that should return some data under /test endpoint: https://mydomain.com/test.
Secondly the same MY_IP server is also a DNS server for the local network. It pops out in WAM configuration from DHCP as a main DHCP server. And it’s responsible to point mydomain[dot]com domain exactly to itself.

Now, when I hook up my computer (Macbook) to this local network I can easily reach this domain and execute the endpoint. There is no issue at all. In between of my computer and the server are a couple of routers from client’s network.
But when I hook up additional Teltonika RUT301 router between my computer and client’s network the domain is not resolved at all. “nslookup” command returns error of not resolved host.
Rebooting (both computer and router) or clearing DNS on Macbook didn’t help. I’ve tried it multiple times.
To fix the issue I had to manually declare IP MY_IP as a route to mydomain.com in Network → DNS → Static addresses settings.
After that it works perfectly fine.

I’m quite sure it’s related to the same server handling the domain and being a DNS, but Macbook is handling that when no Teltonika router is in between.
I’m just wondering why it’s happening?

Try disabling Rebind protection in the RUT301 DNS settings.

Hello,

Add two DNS forwarders to the RUT, via the UI go to Network->DNS->General->Advanced settings:

  • Domain: mydomain.com DNS server: 192.168.50.123
  • Domain: 50.168.192.in-addr.arpa DNS server: 192.168.50.123
    disable “Local service only” and enable “Filter private”.

Regards,

Hello @ninjaMajewski,

Could you please confirm whether the suggestions provided above helped to resolve your issue, or if you’re still experiencing any difficulties?

Best regards,

Disabling Rebind protection helped.
Thanks everyone for help!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.