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

DNS64 prefix not being synthesized for some IPv4-only domains #7514

Open
4 tasks done
awatson2012 opened this issue Dec 19, 2024 · 3 comments
Open
4 tasks done

DNS64 prefix not being synthesized for some IPv4-only domains #7514

awatson2012 opened this issue Dec 19, 2024 · 3 comments

Comments

@awatson2012
Copy link

Prerequisites

Platform (OS and CPU architecture)

FreeBSD, AMD64 (aka x86_64)

Installation

Other (please mention in the description)

Setup

On a router, DHCP is handled by the router

AdGuard Home version

107.55

Action

Enabled DNS64 on AdGuard Home and specified the default DNS64 prefix as follows:
use_dns64: true
dns64_prefixes:
- 64:ff9b::/96

My AdGuard Home server is running on an OPNsense router and is using quad9 DNScrypt as its upstream resolver.

Expected result

IPv4-only domains should include the synthesized DNS64 address.

Actual result

Some IPv4-only domains included the DNS64 address in the response (in this case completion.amazon.com). Others did not include the DNS64 prefix (www.reddit.com). It appears that the issue occurs when the requested domain is an alias to another name.

Screenshot 2024-12-19 123210

Additional information and/or screenshots

No response

Copy link

Potential duplicates:

@L2jLiga
Copy link

L2jLiga commented Feb 24, 2025

Hello @awatson2012, I've recently faced with same issue and it prevents me from adding DHCP option 108.

I've created issue in dnsproxy: AdguardTeam/dnsproxy#438
and PR fixing it as well: AdguardTeam/dnsproxy#439

after that I've build latest version of AdGuardHome with my changes:

git clone https://github.com/AdguardTeam/AdGuardHome.git
cd AdGuardHome
make
go mod edit -replace="github.com/AdguardTeam/dnsproxy@v0.75.0=github.com/L2jLiga/dnsproxy@dns64-fix"
go mod tidy
make
systemctl stop AdGuardHome
mv /opt/AdGuardHome/AdGuardHome /opt/AdGuardHome/AdGuardHome.bak
cp ./AdGuardHome /opt/AdGuardHome/AdGuardHome

@L2jLiga
Copy link

L2jLiga commented Feb 24, 2025

As of now I don't have any troubles with my IPv6-mostly network - DNS64 works as expected, NAT64 via Jool also =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants