Hi, it would be useful (at least for me), to have a "min-cache-ttl" variant that's no affecting all but only very specific domains, e.g.:
min-cache-ttl=/example.net/600 Afaik dnsmasq treats this generally as domain suffixes for matching, which I dislike. I think for this this in particular but also e.g. for "address" it would be useful to be able to not match only suffixes but also single addresses, e.g. restricting the TTL of "example.net" but not "www.example.net". Given that it almost looking like an regexp, what about this for single domain matching: min-cache-ttl=/^example.net/600 (Just kidding, that syntax would probably cause confusion, but single domain matching would still be nice.) The same could apply for "neg-ttl", "max-ttl" and "max-cache-ttl" I assume. Thanks! Tobias _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss