Cannot set DNS server to a local subnet address
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?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
Archer C7 firmware does not allow DNS on the same subnet as LAN for no obvious reason (as it was pointed in the past).
- Copy Link
- Report Inappropriate Content
The correct way to setup a local DNS server is to enter it in DHCP area.
- Copy Link
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
@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.
- Copy Link
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 8559
Replies: 6
Voters 0
No one has voted for it yet.