-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
106.0 fails to resolve local domain names #3028
Comments
Same issue here... Cant resolve any .lan domain in etc/hosts. Changing domain to .anything-else worked for me. |
Same here. AGH is ignoring this:
this works though:
I actually find this Private DNS stuff pretty confusing, I was more than fine using a config like this in the upstream servers:
|
same issue, i change all
and private DNS to MikroTik DNS |
According to https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration, there is a new config So changing this config to something else may be a workaround for now. |
Having the same problem after updating to 106.0 Tried every possible solution but only local IP's (PTR) will be resolved. For the record: I'm using a different DHCP server in my network, not using the DHCP server on ADH. |
I have tried everything I can think of, which to be honest isn't much. I'm working from home and the prospect of renaming all the shortcuts I use to access my home server & NAS and then having to revert them back is not very appealing. So I have reverted back to 105.2 for now. Just for the record and not trying to labour the point but 105.2.... Name: diskstation.geek.lan |
How did you easily revert back to 105.2 ? (will do the same...) |
I did a clean installation, 5-10 mins to get it setback up again. |
If you did the upgrade through the UI, it creates an |
That I knew and as I don't have a complex setup reinstalling was just as easy. |
Hello everyone and sorry for the confusion. It seems like we have UI and documentation issues. The addresses from the “Private DNS servers” input are used mostly to resolve PTR requests for local IP addresses as opposed to hostnames. That is, if you do something like It was added to replace rules such as At the very least we should improve the UI and documentation on these topics, and we will in v0.106.1. Again, apologies for the confusion. |
Thanks Ainar ! And what happened with the Thanks ! |
@ainar-g Resolving “machine01.panja.lan” will give me a NX domain. Where before I got the right internal IP address. So this is def. affected somewhere in the code. |
@ainar-g I never added anything to the host file. |
No, I'm not using AGH's dhcp server ... I've an x86_64 OpenWRT router with AGH deployed on it. OpenWRT handles the dhcp and assigns hostnames based on the
I have something similar with the IPs assigned in the VPN:
and was working fine with 0.106.0, it was just messing up with the Thanks ! |
My router takes care of DHCP and there we no entries in /etc/hosts of my local domain name. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback 127.0.1.1 adguard |
Updates #3028. Squashed commit of the following: commit 49d3ca5 Author: Ainar Garipov <[email protected]> Date: Thu Apr 29 15:35:32 2021 +0300 all: do not check local domains when dhcp srv is off
Updates #3028. Squashed commit of the following: commit a44f1b7 Author: Ainar Garipov <[email protected]> Date: Thu Apr 29 17:36:20 2021 +0300 client: imp private dns resolver docs
We've pushed a fix for |
Good stuff @ainar-g |
I just updated my docker and this causes an issue with my .lan as well, can we get a new docker image pushed with this fix... this took down my local network. I tried to revert to an older tag but the format changed and my old config is not compatible. |
Thanks for your speed in providing a fix. But in light of the chaos it caused with my local network and issues with timemachine backups, my Plex server and access to my home server etc. to mention a few of problems I’ll be extremely cautious of installing for now. |
Is there any ETA for v0.106.1 @ainar-g ? |
I have the same issue with resolving my local domain names with a non .lan domain and I am using AGH as the DHCP server. I've found that changing the dns.local_domain_name to anything other than my actual domain allows it to work! |
Updates #3028. Squashed commit of the following: commit 49d3ca5 Author: Ainar Garipov <[email protected]> Date: Thu Apr 29 15:35:32 2021 +0300 all: do not check local domains when dhcp srv is off
Updates #3028. Squashed commit of the following: commit a44f1b7 Author: Ainar Garipov <[email protected]> Date: Thu Apr 29 17:36:20 2021 +0300 client: imp private dns resolver docs
v0.106.1 has been released. It includes the fix for the |
Has this fixed the issue where AGH fails to resolve any domain you list in local domain name even where used as a DHCP server or if it's it just for .lan? |
This fixed my issue thank you. |
@ainar-g |
@jbrodriguez I still have to put |
The It seems like the main issue with |
I fixed this myself yesterday by changing |
This issue still persists as it seems. My AGH installation is used as DHCP server but as soon as I change |
Exactly the same here |
Can confirm, having the exact same issue. |
Same issue here! |
@shawly, apologies, your message seems to have slipped through the cracks. Is |
Same issue here too... sometimes name resolution of internal addresses like "xyz.local" works, but other times only "xyz" without anything works. Really spotty tho what does and what doesn't... |
If you don't want a local domain ( You need to add your router as the first Upstream DNS server, I did it with a UDM-SE (Unifi) and with a PfSense and they both worked fine. Just remember to flush your local dns on your machine once you push theses changes. Windows:
MacOS:
For Linux it depends what you're using, if it's Ubuntu-like:
|
Updates AdguardTeam#3028. Squashed commit of the following: commit 49d3ca5 Author: Ainar Garipov <[email protected]> Date: Thu Apr 29 15:35:32 2021 +0300 all: do not check local domains when dhcp srv is off
Updates AdguardTeam#3028. Squashed commit of the following: commit a44f1b7 Author: Ainar Garipov <[email protected]> Date: Thu Apr 29 17:36:20 2021 +0300 client: imp private dns resolver docs
No luck with any previous recommendations whatsover. I'm using HAProxy to guide my own domain, whenever it is used within my LAN, to redirect it directly to local services: so the IP of someservice.mydomain.com will not be 99.111.123.23 or whatever, but 192.168.1.3 Now, after changing my Unbound DNS port from 53 to 5353, it doesn't work anymore. I've followed the steps like entering 192.168.1.1:5353 as private reverse dns server and adding that one to the upstream dns servers, but no luck whatsoever. Also adding [/subdomain.mydomain.com/]192.168.1.1:5353 to upstream dns servers, didn't work. For now I've disabled Adguard, until anyone has a possible solution? |
Have a question or an idea? Please search it on our forum to make sure it was not yet asked. If you cannot find what you had in mind, please submit it here.
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Issue Details
Version of AdGuard Home server:
How did you install AdGuard Home:
If it's a router or IoT, please write device model:
Raspberry Pi 4B
Operating system and version: *
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
Expected Behavior
nslookup diskstation.geek.lan
Actual Behavior
nslookup diskstation.geek.lan
Server: 192.168.1.10
Address: 192.168.1.10#53
** server can't find diskstation.geek.lan: NXDOMAIN
nslookup diskstation.geek.lan 192.168.1.10
Server: 192.168.1.10
Address: 192.168.1.10#53
** server can't find diskstation.geek.lan: NXDOMAIN
nslookup diskstation.geek.lan 192.168.1.1
Server: 192.168.1.1
Address: 192.168.1.1#53
Name: diskstation.geek.lan
Address: 192.168.1.20
nslookup 192.168.1.20
Server: 192.168.1.10
Address: 192.168.1.10#53
20.1.168.192.in-addr.arpa name = diskstation.geek.lan.
Screenshots
Screenshot:
Additional Information
I have used diskstation.geek.lan as a typical example. I cannot resolve any local domain name on my local network.
Domain name resolution worked as expected in the previous release 105.x.
The text was updated successfully, but these errors were encountered: