on the dnsmasq man page, I found the following:
Negative replies from upstream servers normally contain time-to-live
information in SOA records which dnsmasq uses for caching. If the
replies from upstream servers omit this information, dnsmasq does
not cache the reply. This option gives a default value for
time-to-live (in seconds) which dnsmasq uses to cache negative
replies even in the absence of an SOA record.
However, when specifying a local record using, e.g.,
"server=/nxdomaintest.com/" and querying this domain from dnsmasq, it
seems like the clients aren't getting a TTL value with this A/AAAA query.
Is it possible to have dnsmasq sending out a TTL for locally defined
Dnsmasq-discuss mailing list