Pinned post

Don't mind me. Just sharing some useful tools to bypass DNS censorship such as what @stux@mstdn.social and @catgirl@flauschig.social want to happen to rt.com.

Put these functions in your .bashrc and use them to add sites that might get blocked so you will always be able to make up your own mind without interference from the powers-that-be.

dnsbypass() {
# Adds current resolution for domain name to /etc/hosts
mode=add-inactive
if [ $1 == --add-active ]; then
mode=add-active
shift
elif [ $1 == --add-inactive ]; then
mode=add-inactive
shift
fi
getent hosts $1 | while read -r line; do
[ $mode == add-inactive ] && echo -n '#' | sudo tee -a /etc/hosts
echo "$line" | sudo tee -a /etc/hosts
done
}
dnsbypasses() {
if [ $1 == --add-active -o $1 == --add-inactive ]; then
arg=$1
shift
fi
for domain in "$@"; do
dnsbypass $arg $domain
done
}

(Deleted and redrafted to fix loop in first function)

Wistful idea for a #minetest mod about helpful mice, who live inside blocks, and can do cool things like craft stuff for you, organize your storage, transport items around, automining, tree felling, farming... there could even be cute silly story elements like "thank you for saving me from that block! can I live with you and move stuff around?" or whatever.

there's this kitten that's smaller than a plate and i'm about to cry

Lolol, a 14 year old blogger post I wrote was flagged for sensitive content. No idea how anybody found it, there haven't been DNS records for it in over a decade. I can't even tell you what the post was about. Great work, goog, keeping the internet safe.
Show older
berserker.town

A berserker's gateway to the Mastodon social network. Run by a Norwegian, with servers in Finland.