Closed marcelo321 closed 3 years ago
Unfortunately the algorithm used by puredns to detect wildcards does not work when SERVFAIL is returned. This is the reason why SERVFAIL answers are discarded. I'd probably just use massdns directly to keep all SERVFAIL domains.
SERVFAIL follow the same pattern that any other wildcard, if abc.domain.com is a servfail, then *.abc.domain.com will probably give servfail too, so only the first one to respond servfail should be in the output.
Would be awesome to solve it here but I understand if it goes against how puredns was built
@d3mondev,
With the last version of massdns there isn't a reliable way of doing it even with massdns directly. Do you have any reccomendations?
Wanted to ask if it would be possible to add a flag to not discard subdomains that respond to SERVFAIL? but are unique and not wildcards?
The reason is, a subdomain can be vulnerable to takeover while responding to SERVFAIL, and wanted to not discard those subdomains with puredns