Disassembler0 / Win10-Initial-Setup-Script

PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019
MIT License
4.7k stars 1.08k forks source link

Suggestion: Change DNS to Cloudflare's #215

Closed ghost closed 5 years ago

ghost commented 5 years ago

I'd like to suggest to add an option that changes DNS to Cloudflare's https://1.1.1.1/ Get-NetAdapter -Physical | Set-DnsClientServerAddress -ServerAddresses 1.1.1.1,1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001

AnubisMann commented 5 years ago

I'd like to suggest to add an option that changes DNS to Cloudflare's https://1.1.1.1/ Get-NetAdapter -Physical | Set-DnsClientServerAddress -ServerAddresses 1.1.1.1,1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001

It is much better to always configure the DNS in the Router and not in the operating system. Configure the DNS inside the router.

ghost commented 5 years ago

It is much better to always configure the DNS in the Router and not in the operating system. Configure the DNS inside the router.

Not if you are not connected to your home access point, or you simply just can't do that because it's automatically set.

AnubisMann commented 5 years ago

It is much better to always configure the DNS in the Router and not in the operating system. Configure the DNS inside the router.

Not if you are not connected to your home access point, or you simply just can't do that because it's automatically set.

Inside the router configuration set DNS manually. I have router and access point and it works perfectly with my DNS for all my devices and PCs....

ghost commented 5 years ago

Inside the router configuration set DNS manually. I have router and access point and it works perfectly with my DNS for all my devices and PCs....

Problem is some doesn't give that possibility, including mine.

Disassembler0 commented 5 years ago

DNS setting is heavily a matter of personal preference and it's not just enable/disable as most of the tweaks in the script are. If I add CloudFlare, I may as well add Google, OpenDNS, Quad9 and others for people with different needs and preferences which is something I certainly don't want to do, mainly simply because it relies on 3rd party products and services.

This is a perfect example for a tweak to be added to custom tweak library which are supported by the script.