Pull request: 4865-dhcp-rewrites
Updates #4865. Squashed commit of the following: commit b26575b72299126f2ce7535104800cc6750698f3 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Sep 2 16:47:25 2022 +0300 dnsforward: imp code, docs, logs commit c60942c1432175866ac1d182709de33429534de0 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Sep 2 16:24:44 2022 +0300 dnsforward: process unknown queries in dhcp domain
This commit is contained in:
@@ -248,7 +248,7 @@ func TestServer_ProcessDHCPHosts_localRestriction(t *testing.T) {
|
||||
name: "local_client_unknown_host",
|
||||
host: "wronghost.lan",
|
||||
wantIP: nil,
|
||||
wantRes: resultCodeFinish,
|
||||
wantRes: resultCodeSuccess,
|
||||
isLocalCli: true,
|
||||
}, {
|
||||
name: "external_client_known_host",
|
||||
@@ -358,7 +358,7 @@ func TestServer_ProcessDHCPHosts(t *testing.T) {
|
||||
host: "example-new.lan",
|
||||
suffix: defaultLocalDomainSuffix,
|
||||
wantIP: nil,
|
||||
wantRes: resultCodeFinish,
|
||||
wantRes: resultCodeSuccess,
|
||||
qtyp: dns.TypeA,
|
||||
}, {
|
||||
name: "success_internal_aaaa",
|
||||
|
||||
Reference in New Issue
Block a user