diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-08-05 01:53:32 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-08-05 01:53:32 +0000 |
commit | d49c9edf95ecb4a94ad3800c336d081030e764c1 (patch) | |
tree | c7a615597c12825f9bc358fe3d91c84de111137e /templates/service | |
parent | f6dbf8f85e1bcc2e01810e4b5989ee92345abfe1 (diff) | |
download | vyatta-cfg-quagga-d49c9edf95ecb4a94ad3800c336d081030e764c1.tar.gz vyatta-cfg-quagga-d49c9edf95ecb4a94ad3800c336d081030e764c1.zip |
- add ability to set cache-size for DNS forwarding from CLI
- restart dnsmasq when /etc/hosts is modified from CLI to re-read added or deleted hosts
Diffstat (limited to 'templates/service')
-rw-r--r-- | templates/service/dns-forwarding/cache-size/node.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/service/dns-forwarding/cache-size/node.def b/templates/service/dns-forwarding/cache-size/node.def new file mode 100644 index 00000000..3a73f308 --- /dev/null +++ b/templates/service/dns-forwarding/cache-size/node.def @@ -0,0 +1,4 @@ +type: u32 +default:150 +help: Set DNS forwarding cache size +syntax:expression: ($VAR(@) >=0 && $VAR(@) < 10001) ; "Cache size must be between 0 and 10000" |