Skip to content
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

I want to be able to specify the IP address of the DNS servers hostname. #6083

Closed
3 tasks done
xiaoyaoyaowww opened this issue Aug 7, 2023 · 5 comments
Closed
3 tasks done
Labels
duplicate Duplicate or merged issues.

Comments

@xiaoyaoyaowww
Copy link

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to request a feature or enhancement and not ask a question

The problem

Some DNS (especially professional version DNS) may correspond to multiple IP addresses, some of which are not very fast, but these DNS addresses do not support direct use of IP (for example: https://1.12.34.56/dns-query), but only can use hostname (for example: your private ID.doh.pub).

Proposed solution

So I hope Adguard Home can specify the IP address of DNS servers hostname.

Alternatives considered and additional information

Use the following format.
encrypted [DNS-over-HTTPS]:
Use the same hostname.
https://unfiltered.adguard-dns.com:443/dns-query[Specify IP address 1(IPv4/IPv6)]
https://unfiltered.adguard-dns.com:443/dns-query[Specify IP address 2(IPv4/IPv6)]
https://unfiltered.adguard-dns.com:443/dns-query[Specify IP address 3(IPv4/IPv6)]

@fernvenue
Copy link
Contributor

You can use your own bootstrap DNS server to do that, AdGuardHome will respect that.

@ainar-g
Copy link
Contributor

ainar-g commented Aug 7, 2023

If what you're requesting is a way to assign an IP address to a hostname that can be used without a bootstrap server, you can already use /etc/hosts for that. Is that what you're requesting?

@ainar-g ainar-g added waiting for data Waiting for users to provide more data. and removed feature request labels Aug 7, 2023
@xiaoyaoyaowww
Copy link
Author

If what you're requesting is a way to assign an IP address to a hostname that can be used without a bootstrap server, you can already use /etc/hosts for that. Is that what you're requesting?

Not only that, this requesting has the advantage of being able to correspond the same hostname to multiple IPs.

@fernvenue
Copy link
Contributor

@ainar-g AdGuardHome already supports to use /etc/hosts as bootstrap? Sounds great :)

@ainar-g
Copy link
Contributor

ainar-g commented Aug 8, 2023

@yaozijin, that sounds a lot like #5217, so merging into that one.

@fernvenue, it has been supported for quite some time, but we broke it for a few releases and then fixed it. See #5902.

@ainar-g ainar-g closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2023
@ainar-g ainar-g added duplicate Duplicate or merged issues. and removed waiting for data Waiting for users to provide more data. labels Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate or merged issues.
Projects
None yet
Development

No branches or pull requests

3 participants