dnsmasq客户端TTL
我有一个情况,我的主机文件不断变化。 因此,我不希望客户端caching使用主机文件parsing的IP地址。 这里是为我启动dnsmasq的命令: /usr/sbin/dnsmasq -K -R -y -Z -b -E -S 8.8.8.8 -l /tmp/dhcp.leases -r /tmp/resolv.conf.auto –stop-dns-rebind –rebind-localhost-ok –dhcp-range=lan,192.168.2.2,192.168.2.249,255.255.255.0,12h -2 eth0 在看这个网站: http : //www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html 我看到-T选项有这样的描述: -T, –local-ttl=<time> When replying with information from /etc/hosts or the DHCP leases file dnsmasq by default sets the time-to-live field to zero, meaning that the requester should not itself […]