DNS Should Reply multiple
Opened this issue · 0 comments
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
Problem
I noticed an unexpected behavior with DNS rewrites using wildcards in AdGuard Home.
When multiple records are configured with the same wildcard, the DNS query returns only one answer, instead of all configured ones.
Steps to reproduce
- Configure two rewrites with a wildcard, for example:
*.dom.example.com A 1.1.1.1
*.dom.example.com A 2.2.2.2
- Run a query with
nslookup:
nslookup test.dom.example.com <AdGuardHome-IP>
Name: test.dom.example.com
Address: 1.1.1.1
only the first record is returned.
Expected behavior
Just like with rewrites without wildcard, I would expect AdGuard Home to return all configured records.
Working example without wildcard:
pluto.dom.example.com A 1.1.1.1
pluto.dom.example.com A 2.2.2.2
Qwery:
nslookup pluto.dom.example.com <AdGuardHome-IP>
Name: pluto.dom.example.com
Addresses: 1.1.1.1
2.2.2.2
Proposed solution
Summary
- With wildcard → only one record is returned.
- Without wildcard → all records are returned (desired behavior).
I would like to know if this is a bug or a current limitation in the wildcard handling of AdGuard Home.
It would be very useful to have consistent behavior when using wildcards.
Thanks a lot!
Alternatives considered and additional information
No response