Skip to content

Option to prioritize IPv6 for dual-stack (IPv4/IPv6) Upstream DNS hostnames #8181

@bbxblue

Description

@bbxblue

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

Currently, when configuring Upstream DNS servers in AdGuard Home using a hostname (e.g., dns.example.com), if the hostname has both IPv4 and IPv6 addresses (dual-stack), AdGuard Home appears to prioritize IPv4 for the connection. There is currently no option to force or prioritize IPv6 for these upstream connections.

Proposed solution

I would like to see an option in the DNS Settings to:

Prefer IPv6: If an upstream hostname resolves to both, use IPv6 first.

IPv6 Only: Only connect via IPv6 if available.

Global or Per-Upstream Toggle: Ideally, a way to specify this preference either globally or by appending a tag to the upstream string (e.g., [/example.com/]tls://dns.google#ipv6_first).

Alternatives considered and additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions