How can I block a Top Level Domain (TLD) in a Smoothwall web filter policy?

Article #: Product Castle
1832 Guardian All


This article explains how to block a TLD in the Guardian web filter.


Typically, companies use a different top-level domain (TLD), or country code, for customers in different countries, for example, typically for the US and for the UK.

Sometimes it may be desirable to block a full TLD with the Smoothwall web filter, for example, to block all websites from a particular country.


  1. Create a custom category, adding the TLD to block to the Domain/URL filtering field— see
    The Domain/URL filtering field automatically infers a wildcard and a dot (.) to entries placed in it, that is, entries are assumed to be *.<text>.
    For example, to block all UK web sites which have the top level TLD of uk, it is only necessary to add uk to the category. So adding uk is the equivalent of the more familiar *.uk format, just as an entry of is equivalent to *
  2. Create the necessary filtering block rules as required — see


Last updated: Author: Contributions by:
29 July 2016