Description
Issue Description:
When enabling wildcard domains, DNS clients on Windows intermittently receive a TTL of 0 seconds for the resolved records. This behavior causes DNS resolution failures lasting 10 to 30 seconds. Interestingly, this issue does not occur on Linux systems.


Related Issue:
A similar problem was discussed in hickory-dns issue #1849.
Proposed Solution:
The problem appears to be resolved by merging PR #1850. Although Trust-DNS v0.23.0 includes the fix from this PR, the project author does not use dns-over-openssl
, which leads to build issues for zeronsd
.
My Solution:
- Created a new forked project to merge the above PR:
Forked repository with fix. - Updated
zeronsd
to reference the forked Trust-DNS implementation:
Commit inzeronsd
.
Results:
After applying the fix, DNS resolution on Windows no longer encounters Failures, and clients receive valid TTL values.

Request:
Please merge PR #1850 to address this issue.