Dominik Derigs, DL6ER
2018-02-28 09:40:57 UTC
Dear all,
on the dnsmasq man page, I found the following:
*--neg-ttl=<time>*
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
NXDOMAINs ?
Best regards,
Dominik
on the dnsmasq man page, I found the following:
*--neg-ttl=<time>*
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
NXDOMAINs ?
Best regards,
Dominik