Cannot set DNS server to a local subnet address

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Cannot set DNS server to a local subnet address

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Cannot set DNS server to a local subnet address
Cannot set DNS server to a local subnet address
2021-05-07 01:21:05 - last edited 2021-05-17 06:35:29
Model: Archer A6  
Hardware Version: V2
Firmware Version:

I have a self-hosted DNS server on address 192.168.1.20. I cannot set the router (Archer A6) to hand out that as the DNS address via DHCP. When I go to Advanced -> Network -> Internet and set the DNS address to 192.168.1.20, I get an error saying

 

DNS server IP address and LAN IP address cannot be in the same subnet

 

That makes zero sense. Why does it have that arbitrary restriction, and is there a workaround?

  0      
  0      
#1
Options
1 Accepted Solution
Re:Cannot set DNS server to a local subnet address-Solution
2021-05-08 03:40:23 - last edited 2021-05-17 06:35:29

@banana_peroxide 

 

You can configure this local DNS server under Network > DHCP Server:

Recommended Solution
  1  
  1  
#2
Options
6 Reply
Re:Cannot set DNS server to a local subnet address-Solution
2021-05-08 03:40:23 - last edited 2021-05-17 06:35:29

@banana_peroxide 

 

You can configure this local DNS server under Network > DHCP Server:

Recommended Solution
  1  
  1  
#2
Options
Re:Cannot set DNS server to a local subnet address
2021-05-16 16:27:36

@Kevin_Z 

 

Archer C7 firmware does not allow DNS on the same subnet as LAN for no obvious reason (as it was pointed in the past).

  0  
  0  
#3
Options
Re:Cannot set DNS server to a local subnet address
2021-05-16 16:35:30

The correct way to setup a local DNS server is to enter it in DHCP area.

 

  4  
  4  
#4
Options
Re:Cannot set DNS server to a local subnet address
2021-05-17 06:11:40

@michkrom 

 

You are correct. Just as the error message told you, the DNS server address on the Internet page cannot be in the same IP subnet as the router LAN, so you can only configure that DNS server under DHCP server settings page.

  0  
  0  
#5
Options
Re:Cannot set DNS server to a local subnet address
2021-05-17 06:34:01 - last edited 2021-05-17 06:35:00

@michkrom Yeah, it's weird why there are two different settings for DNS. Maybe the one in Network->Internet is what the router uses internally for things like connecting to tp-link cloud, and the one in Network->DHCP is what it actually serves to DHCP clients. If that's the case, I would prefer that it used the local DNS for everything, for privacy reasons. But at least this mostly solves my issue.

  1  
  1  
#6
Options
Re:Cannot set DNS server to a local subnet address
2021-05-17 08:39:01

@banana_peroxide 

 

Your understanding about the two DNS settings on the router is correct, one for the interaction between the router and the internet, the other for the interaction between the router and the clients. On the router settings, it doesn't allow to configure the WAN DNS to be in the same IP subnet as the LAN IP, but this would be optimized in the future firmware updates as confirmed with the developers.

  0  
  0  
#7
Options

Information

Helpful: 0

Views: 6650

Replies: 6

Related Articles