( Webappz | 2009. 06. 29., h – 20:48 )

Milyen verziójú dnsmasq-ot használsz?
Mostanában kísérletezgettem a dnsmasq beállításaival CentOS 5.3 és Fedora 10 alatt.
A konzervatívabb CentOS 5.3 a dnsmasq-2.47-et használja, amelynek a
dnsmasq.conf-jában van olyan opció, hogy local-ttl:

# Normally responses which come form /etc/hosts and the DHCP lease
# file have Time-To-Live set as zero, which conventionally means
# do not cache further. If you are happy to trade lower load on the
# server for potentially stale date, you can set a time-to-live (in
# seconds) here.
local-ttl=300

Nekem az 5 perc elegendő.

Webappz - http://webappz.hu/ && http://sys-admin.hu/