Last active
April 7, 2018 10:39
-
-
Save id4ehsan/e61e3a9d7f0e9e8c19a476e160a92f12 to your computer and use it in GitHub Desktop.
add all Public DNS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM | |
REM DNS.bat | |
REM add all Public DNS in Windows Os | |
REM | |
REM Created by Ehsan Ghasemlou on 04/03/17. | |
REM Copyright © 2017 Ehsan Ghasemlou. All rights reserved. | |
REM XMMMWMMM@MMMMMMMMMi | |
REM 7MMMMMMMMMMMMMMMMMMW, | |
REM MMMMMMMMMM0W@@80MMMMMMi | |
REM SMM@Xrrri:, ,rWMMM7 | |
REM .MM2. ,8MMB | |
REM XMW . i@MM: | |
REM SM2.. iBMM: | |
REM rM0. . :MMM. | |
REM MM:rXr;:. .;SZZZaS; XMM | |
REM XW700MMMM2rXZMBMB22X..M7,. | |
REM :77.r2r@7Sr :7;2Xr7, ai,; | |
REM rX; .,.. : . ... .;.i | |
REM ,;i. ., , ..:,i, | |
REM ;;:... :i ::, . ..,i:,. | |
REM i;;:. . ;S77X;, ....,,: | |
REM :;.... .:: ,.,.:: | |
REM i:.:r7;i:;;77:....:;,S | |
REM ,;:,:::ii:,.:,,,,;r @B, | |
REM r;:,,,::,,,..,iSr :MWM2: | |
REM 87;,,. .:XWX BB08B@M8X: | |
REM :M7rrrr;;;;rXa0r 0W8ZZZZBMMMM0X, | |
REM .XW ra8:;rXXSS2XXr;: ZW8ZZZZZBWB0WWM@ | |
REM .78MMM7 ;7MX,iiiiiii;,iS SM8ZZZ8880W000088 | |
REM ,rZMMMMM@M7..:ZWii;i;i;;i rr;@088Z880ZBB0Z088Z | |
REM XMMMMMWWWWW@MM:,;SX;i;rr;r,,.r@0Z08008888B8008ZZ | |
REM .aMM@WWWWW@WWWMMrr: iiii::,;, aBZ88008Z0Z80008ZZZ | |
netsh interface ip set dns name="Wi-Fi" static 209.244.0.3 | |
netsh interface ip add dns name="Wi-Fi" 209.244.0.4 index=2 | |
netsh interface ip add dns name="Wi-Fi" 64.6.64.6 index=3 | |
netsh interface ip add dns name="Wi-Fi" 64.6.65.6 index=4 | |
netsh interface ip add dns name="Wi-Fi" 8.8.8.8 index=5 | |
netsh interface ip add dns name="Wi-Fi" 8.8.4.4 index=6 | |
netsh interface ip add dns name="Wi-Fi" 84.200.69.80 index=7 | |
netsh interface ip add dns name="Wi-Fi" 84.200.70.40 index=8 | |
netsh interface ip add dns name="Wi-Fi" 8.26.56.26 index=9 | |
netsh interface ip add dns name="Wi-Fi" 8.20.247.20 index=10 | |
netsh interface ip add dns name="Wi-Fi" 208.67.222.222 index=11 | |
netsh interface ip add dns name="Wi-Fi" 208.67.220.220 index=12 | |
netsh interface ip add dns name="Wi-Fi" 156.154.70.1 index=13 | |
netsh interface ip add dns name="Wi-Fi" 156.154.71.1 index=14 | |
netsh interface ip add dns name="Wi-Fi" 199.85.126.10 index=15 | |
netsh interface ip add dns name="Wi-Fi" 199.85.127.10 index=16 | |
netsh interface ip add dns name="Wi-Fi" 195.46.39.39 index=17 | |
netsh interface ip add dns name="Wi-Fi" 195.46.39.40 index=18 | |
netsh interface ip add dns name="Wi-Fi" 216.146.35.35 index=19 | |
netsh interface ip add dns name="Wi-Fi" 216.146.36.36 index=20 | |
netsh interface ip add dns name="Wi-Fi" 37.235.1.174 index=21 | |
netsh interface ip add dns name="Wi-Fi" 37.235.1.177 index=22 | |
netsh interface ip add dns name="Wi-Fi" 198.101.242.72 index=23 | |
netsh interface ip add dns name="Wi-Fi" 23.253.163.53 index=24 | |
netsh interface ip add dns name="Wi-Fi" 77.88.8.8 index=25 | |
netsh interface ip add dns name="Wi-Fi" 77.88.8.1 index=26 | |
netsh interface ip add dns name="Wi-Fi" 91.239.100.100 index=27 | |
netsh interface ip add dns name="Wi-Fi" 89.233.43.71 index=28 | |
netsh interface ip add dns name="Wi-Fi" 74.82.42.42 index=29 | |
netsh interface ip add dns name="Wi-Fi" 109.69.8.51 index=30 | |
netsh interface ip set dns name="Ethernet" static 209.244.0.3 | |
netsh interface ip add dns name="Ethernet" 209.244.0.4 index=2 | |
netsh interface ip add dns name="Ethernet" 64.6.64.6 index=3 | |
netsh interface ip add dns name="Ethernet" 64.6.65.6 index=4 | |
netsh interface ip add dns name="Ethernet" 8.8.8.8 index=5 | |
netsh interface ip add dns name="Ethernet" 8.8.4.4 index=6 | |
netsh interface ip add dns name="Ethernet" 84.200.69.80 index=7 | |
netsh interface ip add dns name="Ethernet" 84.200.70.40 index=8 | |
netsh interface ip add dns name="Ethernet" 8.26.56.26 index=9 | |
netsh interface ip add dns name="Ethernet" 8.20.247.20 index=10 | |
netsh interface ip add dns name="Ethernet" 208.67.222.222 index=11 | |
netsh interface ip add dns name="Ethernet" 208.67.220.220 index=12 | |
netsh interface ip add dns name="Ethernet" 156.154.70.1 index=13 | |
netsh interface ip add dns name="Ethernet" 156.154.71.1 index=14 | |
netsh interface ip add dns name="Ethernet" 199.85.126.10 index=15 | |
netsh interface ip add dns name="Ethernet" 199.85.127.10 index=16 | |
netsh interface ip add dns name="Ethernet" 195.46.39.39 index=17 | |
netsh interface ip add dns name="Ethernet" 195.46.39.40 index=18 | |
netsh interface ip add dns name="Ethernet" 216.146.35.35 index=19 | |
netsh interface ip add dns name="Ethernet" 216.146.36.36 index=20 | |
netsh interface ip add dns name="Ethernet" 37.235.1.174 index=21 | |
netsh interface ip add dns name="Ethernet" 37.235.1.177 index=22 | |
netsh interface ip add dns name="Ethernet" 198.101.242.72 index=23 | |
netsh interface ip add dns name="Ethernet" 23.253.163.53 index=24 | |
netsh interface ip add dns name="Ethernet" 77.88.8.8 index=25 | |
netsh interface ip add dns name="Ethernet" 77.88.8.1 index=26 | |
netsh interface ip add dns name="Ethernet" 91.239.100.100 index=27 | |
netsh interface ip add dns name="Ethernet" 89.233.43.71 index=28 | |
netsh interface ip add dns name="Ethernet" 74.82.42.42 index=29 | |
netsh interface ip add dns name="Ethernet" 109.69.8.51 index=30 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# add all public DNS in macOSX | |
# XMMMWMMM@MMMMMMMMMi | |
# 7MMMMMMMMMMMMMMMMMMW, | |
# MMMMMMMMMM0W@@80MMMMMMi | |
# SMM@Xrrri:, ,rWMMM7 | |
# .MM2. ,8MMB | |
# XMW . i@MM: | |
# SM2.. iBMM: | |
# rM0. . :MMM. | |
# MM:rXr;:. .;SZZZaS; XMM | |
# XW700MMMM2rXZMBMB22X..M7,. | |
# :77.r2r@7Sr :7;2Xr7, ai,; | |
# rX; .,.. : . ... .;.i | |
# ,;i. ., , ..:,i, | |
# ;;:... :i ::, . ..,i:,. | |
# i;;:. . ;S77X;, ....,,: | |
# :;.... .:: ,.,.:: | |
# i:.:r7;i:;;77:....:;,S | |
# ,;:,:::ii:,.:,,,,;r @B, | |
# r;:,,,::,,,..,iSr :MWM2: | |
# 87;,,. .:XWX BB08B@M8X: | |
# :M7rrrr;;;;rXa0r 0W8ZZZZBMMMM0X, | |
# .XW ra8:;rXXSS2XXr;: ZW8ZZZZZBWB0WWM@ | |
# .78MMM7 ;7MX,iiiiiii;,iS SM8ZZZ8880W000088 | |
# ,rZMMMMM@M7..:ZWii;i;i;;i rr;@088Z880ZBB0Z088Z | |
# XMMMMMWWWWW@MM:,;SX;i;rr;r,,.r@0Z08008888B8008ZZ | |
#.aMM@WWWWW@WWWMMrr: iiii::,;, aBZ88008Z0Z80008ZZZ | |
networksetup -setdnsservers Wi-Fi 209.244.0.3 209.244.0.4 64.6.64.6 64.6.65.6 8.8.8.8 8.8.4.4 84.200.69.80 84.200.70.40 8.26.56.26 8.20.247.20 208.67.222.222 208.67.220.220 156.154.70.1 156.154.71.1 199.85.126.10 199.85.127.10 81.218.119.11 195.46.39.39 195.46.39.40 96.90.175.167 193.183.98.154 208.76.50.50 208.76.51.51 216.146.35.35 216.146.36.36 37.235.1.174 37.235.1.177 198.101.242.72 23.253.163.53 77.88.8.8 77.88.8.1 91.239.100.100 89.233.43.71 74.82.42.42 109.69.8.51 | |
networksetup -getdnsservers Wi-Fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment