-
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
Allow choosing IP version preference for upstream servers #4262
Comments
Hello. What exactly is the issue you're dealing with? The current algorithm prioritizes IPv4 addresses over IPv6 ones because situations where IPv4 is available but IPv6 isn't are more common than the reverse. |
well, i use ipv6 to bypass some network blocking/interference in china thats why i do this. |
I see, thanks! We'll consider ways we could do that. |
Are you saying that even if you put
as your upstream DNS servers, AGH still sends the request to the Google IPv4 addresses? I too am keen to understand the behaviour of AGH |
@gspannu, from what I can see, those have only IPv6 addresses, so those are used. AdGuard Home merely prioritizes IPv4 addresses. It doesn't completely ignore IPv6 addresses. |
Any updates on this in 2023? DNS traffic originating from AdGuard Home uses 99.99% IPv4, even though the underlying host has native IPv6. Here's data from the Cloudflare peering portal for my ASN, whereby we can see 99% of DNS traffic to them, from my network (AdGuard Home) is IPv4. IPv6 is ignored completely. |
Updates AdguardTeam/AdGuardHome#4262. Squashed commit of the following: commit 0f2c311 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon Apr 3 17:39:16 2023 +0300 all: add ip proto pref
@chemcodex, we've added this feature in the latest Edge release. You can enable IPv6 preference for bootstrapping DoH, DoT, and DoQ upstreams by stopping AGH, setting |
@ainar-g thank you, its working perfectly. wait for it to be pushed to stable channel |
Does this fix only for bootstrapping or also fixes for main DNS queries sent via upstream? @chemcodex/@ainar-g? |
i think it fixes the upstream queries, though the string name is |
@daryll-swer, I'm not sure what you mean, sorry. The change makes it possible to prefer IPv6 addresses of hostnames that you use for DoH, DoT, and DoQ. That is, if you use |
Yes, that's what I meant. I'm unable to test the edge build as I do not have the time, but will surely check it out in stable release. I can easily fetch real-time data from Cloudflare portal for network to verify. |
https://internet.nl/site/dns.adguard-dns.com/2025187/# please can we get tls configuration also fixed? |
@ainar-g So it's been 30 days of testing. As per the data I pulled from Cloudflare peering portal, we can see that indeed AdGuard Home is sending queries over IPv6, however it is still preferring IPv4 most of the time based on the data, even though the underlying IPv6 network and routing is symmetrical and identical to IPv4. AdGuard Home still needs further improvements in this regard. IPv6 when set to preferred should be preferred 100% with v4 as fallback in case v6 is unreachable. |
Will this be pushed to stable any time soon? Cheers. |
@kiwilad-nz I believe it's already on stable now and is enabled by default.
…________________________________
寄件者: kiwilad-nz ***@***.***>
寄件日期: Saturday, August 19, 2023 8:39:28 PM
收件者: AdguardTeam/AdGuardHome ***@***.***>
副本: Ueno Katsura ***@***.***>; State change ***@***.***>
主旨: Re: [AdguardTeam/AdGuardHome] Allow choosing IP version preference for upstream servers (Issue #4262)
Will this be pushed to stable any time soon?
Cheers.
—
Reply to this email directly, view it on GitHub<#4262 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AK3EVQYOSUJMDR3FFQ3BR53XWCXYBANCNFSM5N2RA3IQ>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
I'm on v0.107.36 but don't see that string in my yaml.
I'm also doinf a pftop on the destination ipv4 and ipv6 from my pfsebse but ipv4 are only being used from my wan.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Ueno Katsura ***@***.***>
Sent: Sunday, August 20, 2023 2:16:14 PM
To: AdguardTeam/AdGuardHome ***@***.***>
Cc: kiwilad-nz ***@***.***>; Mention ***@***.***>
Subject: Re: [AdguardTeam/AdGuardHome] Allow choosing IP version preference for upstream servers (Issue #4262)
@kiwilad-nz I believe it's already on stable now and is enabled by default.
________________________________
寄件者: kiwilad-nz ***@***.***>
寄件日期: Saturday, August 19, 2023 8:39:28 PM
收件者: AdguardTeam/AdGuardHome ***@***.***>
副本: Ueno Katsura ***@***.***>; State change ***@***.***>
主旨: Re: [AdguardTeam/AdGuardHome] Allow choosing IP version preference for upstream servers (Issue #4262)
Will this be pushed to stable any time soon?
Cheers.
—
Reply to this email directly, view it on GitHub<#4262 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AK3EVQYOSUJMDR3FFQ3BR53XWCXYBANCNFSM5N2RA3IQ>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub<#4262 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMEXQJ4YITYCBKY7GKGFXPDXWFXO5ANCNFSM5N2RA3IQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Issue Details
v0.107.3
GitHub releases
System
AMD64
Windows 10 21H2
Expected Behavior
Adguard Home communicate with Google DNS(DoT/DoH) in IPv6
Actual Behavior
It just ignore the AAAA record and request with IPv4
The text was updated successfully, but these errors were encountered: