-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add DNS zone via web interface #390
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
To elaborate on @alvussar -- I have a similar use-case where up until now I've been using CoreDNS for my home network and several Docker Swarm mode clusters. I use CodeDNS for two purposes (//three really//):
So it would be nice if AdGuardHome also grew the ability to have locally hosted zones, created through the Web Interface, as well as an appropriate API to manage it that way too. It would also be really awesome if this was extended to PTR records for an IN-ARPA zone and integrated in the builtin DHCP server. With this AdGuardHome now becomes a fully fledged and quite powerful tool to: Manage and Filter DNS, Provide DHCP leases (//with where to find name servers//) as well as locally hosted zones (//for those special enough to understand how that's useful//) Thanks heaps! (//also happy to contribute to this as time permits//) |
Hi @prologic, thanks for a detailed explanation! Could you please share an example of the CoreDNS config file you're using? Just for us to better understand your needs. |
Certainly :) It's actually quite simple:
|
I would also like this feature, with the ability to specify custom SRV records in particular to assist my Windows hosts with some service discovery that is not currently possible. Previously I was achieving this with PiHole by including a secondary |
Full DNS support would be amazing. As in, adding A, MX, CNAME, etc, records. I have not found any simple tool that does that, and AdGuardHome is already a DNS server, so it seems like a good fit. That said, for simple stuff, wouldn't just adding a custom rule do the job? Just add something like |
I'd also like to add my support to bring this to adguard home, currently I'm using custom dnsmasq files under dnsmasq.d/ in pihole with docker, and with that I can create any dns record I want. It would be amazing if Adguard could support full dns records. |
Why do you do this manually in pihole? It is natively supported in the GUI for A and AAAA records. The next release of Pi-hole will support CNames (already merged to master but not in latest release). |
Because https://github.com/uklans/cache-domains has a script that exports to dnsmasq files and it's far too many entries to enter into the pi-hole web interface. but I don't just use dnsmasq config files for A records I also use srv and various other records for different things. |
ability to setup dns zone would be great for home and company usage. |
Isn't this largely already supported by the |
does dnsrewrite support MX records? (not A record) |
@kt1024, please read the Wiki section. It answers your question and provides an example: ||example.com^$dnsrewrite=NOERROR;MX;32 example.mail |
got it. thanks |
Since there were no other reactions, I'm inclined to close this issue as complete. If the |
@ainar-g I'm not sure if it lacks functionality but it's not straight forward as everything else Adguard does. I've spend the past week trying to set up a proxy so I can access something like app1.server.lan and app2.server.lan without use of ports or ip address. I had no such luck for my set up. It half worked or not at all. I wondered if Adguard could do it with a DNS rewrite but not how I thought and after looking at issues I found https://github.com/AdguardTeam/AdGuardHome/wiki/Hosts-Blocklists#dnsrewrite. I think it could serve Adguard good and it's users to have an DNS Zone or better rewrite page in the web interface. It would make it easy to understand what is needed for an A, AAA, NX record. I understand how Domain Name System works but when it comes to adding rewrites to Adguard, I am stuck. This is what I have based on information. Any subdomain redirects to the server page. I'm sure you could point out where I've gone wrong, this was to being you my user case to hopefully bring a need for DNS zone.
Sorry for the long read. |
@VampiricAlien, please use Discussions for questions. Alsoif you want the community to help you, it's better to provide examples of queries that work vs. those that don't using e.g. |
@ainar-g I think you missed my whole point, it was more aimed at the need for the web interface to have an area to add DNS zones. I was adding my user case and showing an example of rewrites I was trying to use. If there was a better rewrite system it would make it easier to archive this. |
I see. We might extend the current Filtering → DNS rewrites section in the future, but that's a bit in the air right now. Using |
Hello. I would like to be able to create your DNS zone based on Adguard Home through its interface. In order not to keep a few dns server. Thus, release port 53 for Adguard Home
The text was updated successfully, but these errors were encountered: