Skip to content

Instantly share code, notes, and snippets.

@giganteous
Created January 16, 2018 12:07
Show Gist options
  • Save giganteous/f660c2a57b27a300be3567da90ba0bed to your computer and use it in GitHub Desktop.
Save giganteous/f660c2a57b27a300be3567da90ba0bed to your computer and use it in GitHub Desktop.
dnsdist.conf snippet for filtering the pirate bay domains
addAction(OrRule({
QNameRule("accesspiratebay.co.uk"),
QNameRule("hyperproxy.net"),
QNameRule("ikwilthepiratebay.org"),
QNameRule("kanyebay.co.uk"),
QNameRule("pirateaccess.info"),
QNameRule("piratebayaccess.co.uk"),
-- snipped most of it for brevity
QNameRule("www.proxybay.date"),
QNameRule("www.thehiddenbay.bid"),
QNameRule("www.thehiddenbay.date"),
QNameRule("www.thehiddenbay.faith"),
QNameRule("www.thehiddenbay.men") }), SpoofAction('194.109.6.92', '2001:888:0:18::80'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment