I have this problem where my Mikrotik router keeps hitting the pi-hole with thousands of requests every day for www.mikrotik.com.
This is apparently due to the local TTL of 2 seconds, Change the TTL?
I noticed this setting in the man page for dnsmasq:
Add A, AAAA and PTR records to the DNS. This adds one or more names to the DNS with associated IPv4 (A) and IPv6 (AAAA) records. A name may appear in more than one --host-record and therefore be assigned more than one address. Only the first address creates a PTR record linking the address to the name. This is the same rule as is used reading hosts-files. --host-record options are considered to be read before host-files, so a name appearing there inhibits PTR-record creation if it appears in hosts-file also. Unlike hosts-files, names are not expanded, even when --expand-hosts is in effect. Short and long names may appear in the same --host-record, eg. --host-record=laptop,laptop.thekelleys.org,192.168.0.1,1234::100
If the time-to-live is given, it overrides the default, which is zero or the value of --local-ttl . The value is a positive integer and gives the time-to-live in seconds.
The last sentence seemed to offer hope.
So I tried making the file
..hoping and half-expecting it to work, but it didn't work. I am still getting the constant requests coming from the router.
Is there any way of getting this to work? Is this option supported by pihole-FTL?