Created
January 2, 2019 05:14
-
-
Save ehsahil/fbbaf9b8177031458f477b4a0903b13b to your computer and use it in GitHub Desktop.
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/bash | |
cloudflare_dns_service="1.1.1.1" | |
google_dns_service="8.8.8.8" | |
echo "Enter DNS Service you like>" | |
read input | |
user_dns_service=$input | |
if [ "$user_dns_service" == "$cloudflare_dns_service" ];then | |
echo "This is Cloudflare DNS service :)" | |
elif [ "$user_dns_service" == "$google_dns_service" ];then | |
echo "This is Google DNS Service :)" | |
else | |
echo "This is Not Cloudflare or Google DNS service :(" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment