diff options
author | Manuel Munz <freifunk@somakoma.de> | 2011-11-10 11:40:18 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2011-11-10 11:40:18 +0000 |
commit | ffdeb77e8461a112b98d29eacf4da28194256c2b (patch) | |
tree | 1a9629aff14d61dd6079f6b51c308d948514892e /modules/admin-full/luasrc/model/cbi | |
parent | fbaef58943104e4b98c2506c7522fd81fe5c80e0 (diff) |
admin-full: Expose bogusnxdomain setting in DHCP / DNS configuration (#339)
Diffstat (limited to 'modules/admin-full/luasrc/model/cbi')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua b/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua index 4bdbf1dfc1..561f82abd2 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua @@ -79,6 +79,7 @@ s:taboption("advanced", Flag, "filterwin2k", translate("Filter useless"), translate("Do not forward requests that cannot be answered by public name servers")) + s:taboption("advanced", Flag, "localise_queries", translate("Localise queries"), translate("Localise hostname depending on the requesting subnet if multiple IPs are available")) @@ -104,6 +105,14 @@ s:taboption("advanced", Flag, "strictorder", translate("<abbr title=\"Domain Name System\">DNS</abbr> servers will be queried in the " .. "order of the resolvfile")).optional = true + +bn = s:taboption("advanced", DynamicList, "bogusnxdomain", translate("Bogus NX Domain Override"), + translate("List of hosts that supply bogus NX domain results")) + +bn.optional = true +bn.placeholder = "67.215.65.132" + + s:taboption("general", Flag, "logqueries", translate("Log queries"), translate("Write received DNS requests to syslog")).optional = true |