DNS wildcards in Alias (Hosts)

Started by ArminF, February 04, 2020, 09:01:14 PM

Previous topic - Next topic
Quote from: oc on November 25, 2026, 05:27:41 PMIndeed - and that's something Martin's plugin solves - his plugin is pruning the record after its own original TTL expires (rather than relying on a one-size-fits-all discretionary TTL).

Thanks for pointing this out. I read the README today and it looks like a really good design. I only wish it was part of unbound itself, so that pf rule management becomes part of unbound cache management1 and query source logging could still work. Also, its awkward to run the plugin in "Watched Domains Only" mode if there specific requirements on the authenticity of DNS info, like DNSSEC, because the server the plugin forwards to must be configured in the same way as the local unbound. But it can not be the local unbound, so there are now 3 processes involved in DNS resolution...

1 Support for stale DNS data according to RFC8767 and TTL overrides, e.g. AWS DNS outage in 2025