Skip to content

Instantly share code, notes, and snippets.

@ckuethe
Last active January 30, 2024 05:22
Show Gist options
  • Save ckuethe/499f5deefa16f9438b67e20180f3cdff to your computer and use it in GitHub Desktop.
Save ckuethe/499f5deefa16f9438b67e20180f3cdff to your computer and use it in GitHub Desktop.
# because PiHole can not block TLDs on its own :(
# https://data.iana.org/TLD/tlds-alpha-by-domain.txt
(\.)(ad|bg|br|bz|cd|cf|cl|cm|cn|cz|ec|ga|gq|gt|hu|id|in|iq|ir|ke|kz|la|lt|lv|ml|nf|ng|om|pk|pw|ro|ru|sh|sy|tk|ua|vn|vu|wf|yt|zw|academy|accountant|adult|agency|art|asia|bank|bet|bid|bio|black|blackfriday|business|cab|cafe|cam|capetown|capital|casa|casino|cat|center|cfd|city|claims|click|club|coffee|company|credit|creditcard|cricket|cyou|date|desi|design|digital|direct|dog|download|estate|expert|faith|football|frl|fun|gdn|global|green|group|guide|guru|haus|hospital|host|hosting|house|icu|istanbul|kim|life|limo|link|live|loan|lol|love|management|market|mba|media|men|mobi|moe|mom|moscow|mov|nagoya|one|onion|online|ooo|ovh|party|pet|pink|plus|poker|porn|pro|quest|racing|red|rent|report|rest|review|rip|rocks|run|sale|sbs|science|services|sex|sexy|singles|skin|social|solutions|store|stream|study|style|surf|support|tattoo|tax|today|top|trade|uno|video|vin|vip|vision|wang|watch|webcam|website|win|work|world|xxx|xyz|zip|ad|bg|br|bz|cd|cf|cl|cm|cn|cz|ec|ga|gq|gt|hu|id|in|iq|ir|ke|kz|la|lt|lv|ml|nf|ng|om|pk|pw|ro|ru|sh|sy|tk|ua|vn|vu|wf|yt|zw|academy|accountant|adult|agency|art|asia|bank|bet|bid|bio|black|blackfriday|business|cab|cafe|cam|capetown|capital|casa|casino|cat|center|cfd|city|claims|click|club|coffee|company|credit|creditcard|cricket|cyou|date|desi|design|digital|direct|dog|download|estate|expert|faith|football|frl|fun|gdn|global|green|group|guide|guru|haus|hospital|host|hosting|house|icu|istanbul|kim|life|limo|link|live|loan|lol|love|management|market|mba|media|men|mobi|moe|mom|moscow|mov|nagoya|one|onion|online|ooo|ovh|party|pet|pink|plus|poker|porn|pro|quest|racing|red|rent|report|rest|review|rip|rocks|run|sale|sbs|science|services|sex|sexy|singles|skin|social|solutions|store|stream|study|style|surf|support|tattoo|tax|today|top|trade|uno|video|vin|vip|vision|wang|watch|webcam|website|win|work|world|xxx|xyz|zip)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment