+(dnsforward): added bogus-nxdomain setting
Closes: https://github.com/AdguardTeam/AdGuardHome/issues/1545
This commit is contained in:
@@ -51,7 +51,7 @@ func (s *Server) handleGetConfig(w http.ResponseWriter, r *http.Request) {
|
||||
resp.EDNSCSEnabled = s.conf.EnableEDNSClientSubnet
|
||||
resp.DNSSECEnabled = s.conf.EnableDNSSEC
|
||||
resp.DisableIPv6 = s.conf.AAAADisabled
|
||||
resp.FastestAddr = s.conf.FastestAddrAlgo
|
||||
resp.FastestAddr = s.conf.FastestAddr
|
||||
resp.ParallelRequests = s.conf.AllServers
|
||||
s.RUnlock()
|
||||
|
||||
@@ -170,7 +170,7 @@ func (s *Server) handleSetConfig(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
if js.Exists("fastest_addr") {
|
||||
s.conf.FastestAddrAlgo = req.FastestAddr
|
||||
s.conf.FastestAddr = req.FastestAddr
|
||||
}
|
||||
|
||||
if js.Exists("parallel_requests") {
|
||||
|
||||
Reference in New Issue
Block a user