How to Set Your DNS Servers (Windows)
I (tobor), cover How To set DNS entries manually on your local Windows machine. If you have any questions about this video please leave them in the comments down below. If you haven’t Subscribed yet please do its free! And if you like this video give a thumbs up and share it. Thanks for watching OsbornePro TV!
# Get your DNS Servers
Get-DnsClientServerAddress -AddressFamily IPv4
# Set your DNS Servers
$Index = Read-Host -Prompt “What is the Interface Index number of your interface in the above output? `n[EXAMPLE] 12 `n[INPUT] ”
Set-DnsClientServerAddress -InterfaceIndex $Index -ServerAddresses @(‘1.1.1.2′,’1.0.0.2’)
Official Site of OsbornePro
https://osbornepro.com/
View my Verified Certifications!
https://www.youracclaim.com/users/roberthosborne/badges
Follow us on GitHub!
https://github.com/tobor88
https://github.com/OsbornePro
Give Respect on HackTheBox!
https://www.hackthebox.eu/profile/52286
View PS Gallery Modules!
https://www.powershellgallery.com/profiles/tobor
The B.T.P.S. Security Package
https://btpssecpack.osbornepro.com/
EncypIT Application
https://encrypit.osbornepro.com/
ipv4
I appreciate you also showing how to do it with PowerShell.