I hereby claim:
- I am andrewimeson on github.
- I am andrewimeson (https://keybase.io/andrewimeson) on keybase.
- I have a public key ASCLygkkyrwEhgEXPBhQhL59lO6klZXL_N_PdbEKTecyqQo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # Quick script to test if names are blocked using CleanBrowsing.org's Family | |
| # Filter DNS servers | |
| DNS_SERVER='185.228.168.168' | |
| BLOCKED_AUTH="cleanbrowsing.rpz.noc.org." | |
| domain_is_blocked() { | |
| for name in "$@"; do | |
| result=$(dig "$name" @${DNS_SERVER}) | |
| if echo "$result" | grep -q 'status: NXDOMAIN'; then |
I hereby claim:
To claim this, I am signing this object:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |