Freuks@lemmy.ml to Privacy@lemmy.ml · 3 months agoHow do you manage your DNS settings ?message-squaremessage-square28fedilinkarrow-up144arrow-down10file-text
arrow-up144arrow-down1message-squareHow do you manage your DNS settings ?Freuks@lemmy.ml to Privacy@lemmy.ml · 3 months agomessage-square28fedilinkfile-text
Do you use one or several providers ? Do you use it at Browser, Device/OS, Router level ? What’s your configuration ?
minus-squaressm@lemmy.sdf.orglinkfedilinkarrow-up3·edit-23 months ago/etc/unwind.conf block list "/var/db/unwind_blocklist" forwarder { X.X.X.X port X DoT X.X.X.X port X DoT } preference { DoT } unwind_blocklist is generated with this script I wrote: #!/bin/sh # Blocklists for unwind(8) blocklist=/var/db/unwind_blocklist [ ! -f $blocklist ] && \ (umask 117; touch $blocklist && chgrp _unwind $blocklist) { ftp -V -o - \ https://blocklistproject.github.io/Lists/alt-version/everything-nl.txt \ http://winhelp2002.mvps.org/hosts.txt \ http://sysctl.org/cameleon/hosts \ https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt \ https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt \ https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/android-tracking.txt echo twitter.com echo www.twitter.com echo www.x.com echo x.com echo facebook.com echo www.facebook.com } | awk -safe ' !/^M|#|(^|\.)[[:blank:]]*$|^definitely_not_porn$/ { if ($1 ~ /127\.0\.0\.1|0\.0\.0\.0/) { $0 = $2 } if ($0 ~ /[[:upper:]]/) { print tolower($0) } else { print $0 } } ' | sort -u >$blocklist rcctl restart unwind Regenerates occasionally with cron.
/etc/unwind.conf
block list "/var/db/unwind_blocklist" forwarder { X.X.X.X port X DoT X.X.X.X port X DoT } preference { DoT }
unwind_blocklist is generated with this script I wrote:
Regenerates occasionally with cron.