mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-03-11 04:58:34 +03:00
use keyed fields
This commit is contained in:
parent
b3840b5790
commit
b3ae247520
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ func checkDNS(input string) error {
|
||||||
req.Id = dns.Id()
|
req.Id = dns.Id()
|
||||||
req.RecursionDesired = true
|
req.RecursionDesired = true
|
||||||
req.Question = []dns.Question{
|
req.Question = []dns.Question{
|
||||||
{"google-public-dns-a.google.com.", dns.TypeA, dns.ClassINET},
|
{Name: "google-public-dns-a.google.com.", Qtype: dns.TypeA, Qclass: dns.ClassINET},
|
||||||
}
|
}
|
||||||
|
|
||||||
prefix, host := splitDNSServerPrefixServer(input)
|
prefix, host := splitDNSServerPrefixServer(input)
|
||||||
|
|
Loading…
Add table
Reference in a new issue