-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Make autohost TLDs configurable #2393
Comments
This would be a fantastic feature. Would like this a lot. Glad I found this issue. As far as "no consensus" goes, I had read this thread. Now I'd like to go the The cool thing about using a FQDN you own is that you can get certificates for private use, via Let's Encrypt's DNS challenge, for example using Caddy. This works without the requesting machine having to be publicly accessible. In theory, this would upgrade the home network quite a bit and stop browsers from throwing tantrums about untrusted local HTTPS, or unsecured HTTP sites. Could this feature become a YAML config option? Would prefer that over a GUI approach. Are these the relevant two lines with AdGuardHome/internal/dnsforward/dns.go Lines 169 to 172 in 9f75725
If this were Python, I'd have a crack at it... |
@alexpovel, yeah that's the piece. You could try, but be aware that PRs are unfortunately taking a lot of time to get reviewed right now, and the code is also a bit… macaroney with the configuration. |
Changing dhcp option in the config files under dhcp->dhcpv4->options by setting |
@Lenart12 , The interesting part would be if other values work, or what it says in cat /var/lib/dhcp/dhclient.*leases on one of your machines that received a DHCP lease with that |
Updates #2393. Squashed commit of the following: commit 8703413 Author: Ainar Garipov <[email protected]> Date: Thu Mar 25 15:48:46 2021 +0300 dnsforward: fix commit abf3a1c Author: Ainar Garipov <[email protected]> Date: Thu Mar 25 15:21:11 2021 +0300 dnsforward: imp code, validation commit fac389b Author: Ainar Garipov <[email protected]> Date: Thu Mar 25 14:54:45 2021 +0300 all: add validation, imp docs, tests commit 21b4532 Author: Ainar Garipov <[email protected]> Date: Wed Mar 24 19:09:43 2021 +0300 all: custom autohost tlds
Updates #2393. Squashed commit of the following: commit 5ea4d3c Author: Ainar Garipov <[email protected]> Date: Thu Mar 25 17:01:08 2021 +0300 dnsforward: fix nxdomain for internal aaaa reqs
This is implemented as of snapshot 3764c1d. The Wiki is also updated. Please feel free to file new issues if you have any problems! |
Where in the wiki? I was only able to find this entry which references back this issue as a WIP. |
@alexpovel, it's on the “Configuration” page, in |
Updates AdguardTeam#2393. Squashed commit of the following: commit 8703413 Author: Ainar Garipov <[email protected]> Date: Thu Mar 25 15:48:46 2021 +0300 dnsforward: fix commit abf3a1c Author: Ainar Garipov <[email protected]> Date: Thu Mar 25 15:21:11 2021 +0300 dnsforward: imp code, validation commit fac389b Author: Ainar Garipov <[email protected]> Date: Thu Mar 25 14:54:45 2021 +0300 all: add validation, imp docs, tests commit 21b4532 Author: Ainar Garipov <[email protected]> Date: Wed Mar 24 19:09:43 2021 +0300 all: custom autohost tlds
Updates AdguardTeam#2393. Squashed commit of the following: commit 5ea4d3c Author: Ainar Garipov <[email protected]> Date: Thu Mar 25 17:01:08 2021 +0300 dnsforward: fix nxdomain for internal aaaa reqs
Context.
Currently, our autohost feature uses the
.lan
TLD, but there isn't really a consensus on what TLD is the best for such situations. So, we probably need to make it configurable.The text was updated successfully, but these errors were encountered: