On 07/10/2021 11:29, Tobias via Dnsmasq-discuss wrote: > 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! >
Difficult to determine if this would be a generally useful feature. I'm interested in the list's opinions. Simon. _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss