diff --git a/config/dns.json b/config/dns.json index f661ef0a..8f5ca14c 100644 --- a/config/dns.json +++ b/config/dns.json @@ -1,30 +1,50 @@ { "Google":{ "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":{ "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":{ "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":{ "Primary": "1.1.1.3", - "Secondary": "1.0.0.3" - }, - "Level3":{ - "Primary": "4.2.2.2", - "Secondary": "4.2.2.1" + "Secondary": "1.0.0.3", + "Primary6": "2606:4700:4700::1113", + "Secondary6": "2606:4700:4700::1003" }, "Open_DNS":{ "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":{ "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" } } \ No newline at end of file diff --git a/functions/private/Set-WinUtilDNS.ps1 b/functions/private/Set-WinUtilDNS.ps1 index 314a5ac8..0810e6d2 100644 --- a/functions/private/Set-WinUtilDNS.ps1 +++ b/functions/private/Set-WinUtilDNS.ps1 @@ -24,6 +24,7 @@ function Set-WinUtilDNS { } 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.Primary6)", "$($sync.configs.dns.$DNSProvider.Secondary6)") } } } @@ -31,4 +32,4 @@ function Set-WinUtilDNS { Write-Warning "Unable to set DNS Provider due to an unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file