diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-07-05 17:46:32 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-07-05 17:46:32 +0000 |
commit | 2660f6d8df9f7285aa404950459a8d4562f6727d (patch) | |
tree | d71eb28719027c902e69cd5698c2c59114dfc219 /package/iptables/files | |
parent | d17d4680f0576598c7893d57e3133ef88e2e7370 (diff) | |
download | upstream-2660f6d8df9f7285aa404950459a8d4562f6727d.tar.gz upstream-2660f6d8df9f7285aa404950459a8d4562f6727d.tar.bz2 upstream-2660f6d8df9f7285aa404950459a8d4562f6727d.zip |
Add local TTL option to dnsmasq
-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 requestor should not itself cache the information. This is
the correct thing to do in almost all situations. This option allows a
time-to-live (in seconds) to be given for these replies. This will
reduce the load on the server at the expense of clients using stale
data under some circumstances.
[jow: change -T to --local--ttl to conform with the other options]
Signed-off-by: Andrew Byrne <openwrt@andy.id.au>
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32623 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables/files')
0 files changed, 0 insertions, 0 deletions