Skip to content

Instantly share code, notes, and snippets.

@ehsahil
Last active January 2, 2019 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ehsahil/39f2a6bfcb7507e6e52726fa8fdb6998 to your computer and use it in GitHub Desktop.
Save ehsahil/39f2a6bfcb7507e6e52726fa8fdb6998 to your computer and use it in GitHub Desktop.
#!/bin/bash
cloudflare_dns_service="1.1.1.1"
echo "Enter DNS Service you like>"
read input
user_dns_service=$input
if [ "$cloudflare_dns_service" == "$user_dns_service" ];then
echo "This is Cloudflare DNS service :) "
else
echo "This is NOT Cloudflare DNS service :("
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment