From ffdeb77e8461a112b98d29eacf4da28194256c2b Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Thu, 10 Nov 2011 11:40:18 +0000 Subject: [PATCH] admin-full: Expose bogusnxdomain setting in DHCP / DNS configuration (#339) --- .../admin-full/luasrc/model/cbi/admin_network/dhcp.lua | 9 +++++++++ 1 file changed, 9 insertions(+) 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 4bdbf1dfc..561f82abd 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("DNS 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 -- 2.25.1