LAN DNS not working

LAN DNS not working

LAN DNS not working
LAN DNS not working
22 hours ago - last edited 20 hours ago
Tags: #DNS
Model: OC200  
Hardware Version: V1
Firmware Version: latest

Configured LAN DNS under Site > Network Config > LAN > LAN DNS. 

I added two records with domains that need to resolve to the same LAN IP (a web server with virtual hosts).

 

[Record 1]

Domain name: domain1.internal

Type: IP

IP: 192.168.1.200

Apply to LAN: Private LAN (default)

 

[Record 2]

Domain name: domain2.internal

Type: IP

IP: 192.168.1.200

Apply to LAN: Private LAN (default)

 

Whatever I try, I can't get it to work. On connected LAN computers these domains cannot be resolved.

All computers use DHCP. In the Omada controller the DHCP settings are all default, so the assigned DNS address is the one of the router (ER707-M2, fw 1.3.1).

Looked up a few topics here on the community forums, but to no result unfortunately. Due to the extremely poor performance of the OC200, I migrated my entire controller to a virtual one but with the same end results.

 

nslookup results: *** UnKnown can't find x.local: Non-existent domain

 

Any suggestions?

ER707-M2, SG3218XP-M2, EAP772's & EAP245's
  0      
  0      
#1
Options
8 Reply
Re:LAN DNS not working
21 hours ago - last edited 20 hours ago

  @Theedoek 

 

This might be a browser issue.  On my main computer, the first time I access a LAN domain name I need to type in "http://name.domain" for it to resolve correctly.  After that, I only need to type in "name.domain" in the address bar.  Another thing...  You should be able to ping the local domain name from the PC if everything on the gateway is working correctly.  The nslookup should also work.

 

1x ER7406 1x OC300 4x SG2008 1x EAP610 3x EAP650-Desktop
  0  
  0  
#2
Options
Re:LAN DNS not working
20 hours ago - last edited 20 hours ago

  @jra11500 i have not tried with http prefix, but that should not be necessary. 

Pinging doesn't work because LAN DNS is failing and the domain is not resolved into an IP address.

Happens from all computer in my network, so this is not a caching issue either.

Pinging the target host (web server with vhosts) directly is no issue at all.

ER707-M2, SG3218XP-M2, EAP772's & EAP245's
  0  
  0  
#3
Options
Re:LAN DNS not working
20 hours ago - last edited 20 hours ago

  @Theedoek 

 

When using nslookup, you should see the DNS server address in the response.  If it is OK (i.e. the router's address), then you might try a different domain, such as ".home" or ".local".  I just tried to add a test name in my controller with the ".internal" domain and the controller says it is not valid.  ICANN officially reserved ".internal" in 2024 for private network use but apparently it is a reserved domain (within Omada) even though there is no documentation to support this.

 

 

1x ER7406 1x OC300 4x SG2008 1x EAP610 3x EAP650-Desktop
  0  
  0  
#4
Options
Re:LAN DNS not working
18 hours ago

  @jra11500 

Even with different domains it is not working.

 

I am running the following command in a Powershell window: nslookup domain1.mydomain

 

The reply is:

Server:  UnKnown
Address:  192.168.0.1

 

*** UnKnown can't find domain1.mydomain: Non-existent domain

 

All info is good, but it just won't resolve...

Is there a relation between the LAN network's domain name (e.g. "lan") and the domain name entered in the LAN DNS? I would not expect so, but still...

ER707-M2, SG3218XP-M2, EAP772's & EAP245's
  0  
  0  
#5
Options
Re:LAN DNS not working
18 hours ago

  @Theedoek 

 

Everything looks OK to me.  I am out of ideas and the experts will have to look into this.

 

1x ER7406 1x OC300 4x SG2008 1x EAP610 3x EAP650-Desktop
  0  
  0  
#6
Options
Re:LAN DNS not working
10 hours ago - last edited 9 hours ago

  @jra11500  I have regualary the same issue with my ER8411, when I set up Lan DNS, e.g. today I setted up my new Mediaserver, no problem at all Mediaserver.mydomain, I changed it's IP and now it always outputs me the public IP (meaning the router ignores Lan DNS at all, for me it means as well that I can not access the media server since I only allowed local access). 

All already set up Lan DNS rules work fine just the edited one not, I tried recreating and all that did not change anything, same for restarting and reapplying the configuration.

 

As long as I don't touch it works, if it works, but when applying something new boom. "never change a running system"

EDIT:
Something else I experienced is that error code when turning it off/ re-enabling it/ changing something.

Home: 1x ER8411, 1x SG3428X-M2, 2x ES205GP, 1x EAP772 EU, 2x EAP653 EU, 1x 650 Desktop EU Test setup: 1x ER7412-M2
  0  
  0  
#7
Options
Re:LAN DNS not working
2 hours ago

  @Julian2111 Update, the issue is caused, by the port profile, is the device has selected the profile VLAN1 and I say in the Lan-DNS apply on VLAN1 and VLAN2 the setting gets ignored, when I say port profile "all" or profile VLAN1+VLAN2 and reapply the configuration to the gateway it works. Maybe for you @Theedoek it is the same issue.

Home: 1x ER8411, 1x SG3428X-M2, 2x ES205GP, 1x EAP772 EU, 2x EAP653 EU, 1x 650 Desktop EU Test setup: 1x ER7412-M2
  0  
  0  
#8
Options
Re:LAN DNS not working
an hour ago - last edited an hour ago

@Julian2111

Where do you see this error? I looked at logs but could not find anything similar.

 

I don't quite get how this is related to a specific port and its port profile. Are you referring to the LAN port that connects the router to the network, or another one?

I will test with the "All" assignment instead of a specific one. It is not what I want, but fine for a short test.

 

ER707-M2, SG3218XP-M2, EAP772's & EAP245's
  0  
  0  
#9
Options