client: update DNSConfig type (#8916)

This PR adds DNSFilterURL to the DNSConfig type to be used by
control changes to add DNS filtering logic

Fixes #cleanup

Signed-off-by: Richard Castro <richard@tailscale.com>
This commit is contained in:
Richard Castro
2023-08-16 14:54:17 -07:00
committed by GitHub
parent 37c0b9be63
commit 57da1f1501
4 changed files with 6 additions and 0 deletions
+2
View File
@@ -1403,6 +1403,8 @@ type DNSConfig struct {
//
// Matches are case insensitive.
ExitNodeFilteredSet []string `json:",omitempty"`
// DNSFilterURL contains a user inputed URL that should have a list of domains to be blocked
DNSFilterURL string `json:",omitempty"`
}
// DNSRecord is an extra DNS record to add to MagicDNS.