You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched other issues and found no duplicates
I want to request a feature or enhancement and not ask a question
The problem
The DDR response generated with makeDDRResponse can create multiples of the same record due to the generation method relying on dns.bind_hosts value inside AGH configuration:
An example of this can be demonstrated by having a working AGH with encrypted services enabled. Only requirement is having more than one bind_host IP address (and assume that the TLS certificate does not contain any of the configured IP addresses):
dns:
bind_hosts:
# private ip for local operations
- 127.53.53.1# public ipv4 to be used
- 192.0.2.1# public ipv6 to be used
- "100::"
Making sure the DDR record(s) are deduplicated before answered. And ideally remove local IP addresses if a TLS certificate does contain one of the bound IPs.
Alternatives considered and additional information
Issue current as of v0.108.0-b.68. And loosely related to #6487 ((also, maybe no duplicated answers)), considering the h2 value is hardcoded while serve_http3 is not checked in makeDDRResponse.
The text was updated successfully, but these errors were encountered:
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
The DDR response generated with
makeDDRResponse
can create multiples of the same record due to the generation method relying ondns.bind_hosts
value inside AGH configuration:AdGuardHome/internal/dnsforward/process.go
Line 251 in e5d0f0b
AdGuardHome/internal/dnsforward/process.go
Line 273 in e5d0f0b
AdGuardHome/internal/dnsforward/process.go
Line 290 in e5d0f0b
AdGuardHome/internal/dnsforward/config.go
Lines 621 to 622 in e5d0f0b
AdGuardHome/internal/home/dns.go
Lines 325 to 335 in e5d0f0b
AdGuardHome/internal/home/dns.go
Lines 243 to 256 in e5d0f0b
An example of this can be demonstrated by having a working AGH with encrypted services enabled. Only requirement is having more than one bind_host IP address (and assume that the TLS certificate does not contain any of the configured IP addresses):
We can demo this by making the DDR query:
Proposed solution
Making sure the DDR record(s) are deduplicated before answered. And ideally remove local IP addresses if a TLS certificate does contain one of the bound IPs.
Alternatives considered and additional information
Issue current as of
v0.108.0-b.68
. And loosely related to #6487 ((also, maybe no duplicated answers)
), considering theh2
value is hardcoded whileserve_http3
is not checked inmakeDDRResponse
.The text was updated successfully, but these errors were encountered: