Compile Winutil

This commit is contained in:
ChrisTitusTech 2024-07-08 23:32:29 +00:00 committed by github-actions[bot]
parent d261f42ae4
commit af1743066f

View File

@ -2606,6 +2606,7 @@ function Set-WinUtilDNS {
} }
Else{ Else{
Set-DnsClientServerAddress -InterfaceIndex $Adapter.ifIndex -ServerAddresses ("$($sync.configs.dns.$DNSProvider.Primary)", "$($sync.configs.dns.$DNSProvider.Secondary)") Set-DnsClientServerAddress -InterfaceIndex $Adapter.ifIndex -ServerAddresses ("$($sync.configs.dns.$DNSProvider.Primary)", "$($sync.configs.dns.$DNSProvider.Secondary)")
Set-DnsClientServerAddress -InterfaceIndex $Adapter.ifIndex -ServerAddresses ("$($sync.configs.dns.$DNSProvider.Primary6)", "$($sync.configs.dns.$DNSProvider.Secondary6)")
} }
} }
} }
@ -8436,31 +8437,51 @@ $sync.configs.applications = '{
$sync.configs.dns = '{ $sync.configs.dns = '{
"Google": { "Google": {
"Primary": "8.8.8.8", "Primary": "8.8.8.8",
"Secondary": "8.8.4.4" "Secondary": "8.8.4.4",
"Primary6": "2001:4860:4860::8888",
"Secondary6": "2001:4860:4860::8844"
}, },
"Cloudflare": { "Cloudflare": {
"Primary": "1.1.1.1", "Primary": "1.1.1.1",
"Secondary": "1.0.0.1" "Secondary": "1.0.0.1",
"Primary6": "2606:4700:4700::1111",
"Secondary6": "2606:4700:4700::1001"
}, },
"Cloudflare_Malware": { "Cloudflare_Malware": {
"Primary": "1.1.1.2", "Primary": "1.1.1.2",
"Secondary": "1.0.0.2" "Secondary": "1.0.0.2",
"Primary6": "2606:4700:4700::1112",
"Secondary6": "2606:4700:4700::1002"
}, },
"Cloudflare_Malware_Adult": { "Cloudflare_Malware_Adult": {
"Primary": "1.1.1.3", "Primary": "1.1.1.3",
"Secondary": "1.0.0.3" "Secondary": "1.0.0.3",
}, "Primary6": "2606:4700:4700::1113",
"Level3": { "Secondary6": "2606:4700:4700::1003"
"Primary": "4.2.2.2",
"Secondary": "4.2.2.1"
}, },
"Open_DNS": { "Open_DNS": {
"Primary": "208.67.222.222", "Primary": "208.67.222.222",
"Secondary": "208.67.220.220" "Secondary": "208.67.220.220",
"Primary6": "2620:119:35::35",
"Secondary6": "2620:119:53::53"
}, },
"Quad9": { "Quad9": {
"Primary": "9.9.9.9", "Primary": "9.9.9.9",
"Secondary": "149.112.112.112" "Secondary": "149.112.112.112",
"Primary6": "2620:fe::fe",
"Secondary6": "2620:fe::9"
},
"AdGuard_Ads_Trackers": {
"Primary": "94.140.14.14",
"Secondary": "94.140.15.15",
"Primary6": "2a10:50c0::ad1:ff",
"Secondary6": "2a10:50c0::ad2:ff"
},
"AdGuard_Ads_Trackers_Malware_Adult": {
"Primary": "94.140.14.15",
"Secondary": "94.140.15.16",
"Primary6": "2a10:50c0::bad1:ff",
"Secondary6": "2a10:50c0::bad2:ff"
} }
}' | convertfrom-json }' | convertfrom-json
$sync.configs.feature = '{ $sync.configs.feature = '{