zeronsd icon indicating copy to clipboard operation
zeronsd copied to clipboard

Enabling Wildcard Domain Causes Clients to Receive Zero TTL and DNS Resolution Failures on Windows

Open eritpchy opened this issue 10 months ago • 0 comments

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:

  1. Created a new forked project to merge the above PR:
    Forked repository with fix.
  2. Updated zeronsd to reference the forked Trust-DNS implementation:
    Commit in zeronsd.

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.

eritpchy avatar Nov 30 '24 09:11 eritpchy