admin-full: Expose bogusnxdomain setting in DHCP / DNS configuration (#339)
authorManuel Munz <freifunk@somakoma.de>
Thu, 10 Nov 2011 11:40:18 +0000 (11:40 +0000)
committerManuel Munz <freifunk@somakoma.de>
Thu, 10 Nov 2011 11:40:18 +0000 (11:40 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua

index 4bdbf1dfc14bcdd380715c8a7bff9344fdf7086d..561f82abd27bef63266ac67e5ba92ec8e6df8da1 100644 (file)
@@ -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