Hi, Le Thu, 28 Jul 2016 06:46:51 +0800 "水静流深" <1248283...@qq.com> a écrit:
> Dnsmasq have been installed on my os. > cache-size=1024 was written in /etc/dnsmasq.conf. > 1.how to list all the dns cache on my dnsmasq? See the dnsmasq manpage for the log-queries option (note that if you intend on processing the cache dump, you may want to configure your system so that the log from dnsmasq is directed to a specific file where no other process logs anything, or even avoid the system log altogether and instead feed the dnsmasq output directly to some process). > 2.how to keep the dns cache expiration till 3600 seconds on dnsmasq? The dnsmasq manpage lists all TTL-related options. Watch out, dnsmasq does not give you full control on the TTL, though. Amicalement, -- Albert. _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss