Defensive domain registrations
The Ministry of Justice (MoJ) and associated organisations (Executive agencies, non-departmental public bodies and so on) maintain varying levels of ‘online presence’ using domain registrations. This are a fundamental part of the organisation’s identity on the public internet. An example is the justice.gov.uk
email domain used for contacting other government organisations, partners and members of the public.
Each MoJ organisation must identify a core set of internet domains it considers critical to its internet identity. Each MoJ organisation must then defensively register a small number of obvious variations (for example, justice.gov.uk
may justify justicegov.uk
, justice.co.uk
and justice.uk
where already not used for legitimate purposes).
These registrations will help protect the organisation, as well as its partners and members of the public, from illegitimate parties pretending to be the organisation when they are not. Failing to register these domains can cause problems, such as phishing emails using what seem to be plausible domains.
Limiting the permutations to register
Domain permutations for defensive registration should be limited to the organisation’s core identity, as opposed to tertiary campaigns/identities, in order to keep costs and management overheads down.
Some domain registrars have methods to detect malicious registrations of overtly government-associated domains through the use of misspellings and so on. Unless there are strong justifications as to why misspellings must be covered, organisations should only defensively register .uk
and .co.uk
top-level domain variants and visual manipulations. For example, the removal of one dot from justice.gov.uk leads to justicegov.uk which could be a registerable domain and one that looks a lot like justice.gov.uk during a casual inspection.
Mandatory features for defensively registered domains
The following features are required when registering a defensive domain:
Functional nameservers
The defensively registered domain must have a functional nameserver configuration.
Sender Policy Framework (SPF)
There must be an SPF record which uses strict configurations to indicate whether the domain is expected by the owner to send emails, or not.
Example ‘no permitted sender’ record:
v=spf1 -all
Additional SPF implementation guidance is available on GOV.UK.
Domain-based Message Authentication, Reporting and Conformance (DMARC)
There must be a DMARC record configured in line with published DMARC guidance on GOV.UK.
Example ‘reject’ policy record:
v=DMARC1;p=reject;rua=mailto:<example dmarc email address>;
Mail Exchanger (MX)
There must be a nullified MX record in order to ensure any attempt to send emails to the defensive domain to instantly failed.
Example nullified record:
MX priority 0
with host name .
DomainKeys Identified Mail (DKIM)
There must be a nullified DKIM record in explicitly highlight that any outbound email attempts are likely invalid.
Example nullified record:
v=DKIM1; p=
DNS Certification Authority Authorization (CAA)
There must be a DNS CAA record(s) to indicate restrictions so that certificate authorities that certificates should not be issued for these domains.
Example nullified record:
issue ";"
Example iodef notification record:
iodef "mailto:certificates@digital.justice.gov.uk"
Automated renewals
Defensively registered domains should be configured to automatically renew by default.
Web services/redirects
Web services/redirects must not be functional or available for defensively registered domains.
The www.
should not be created. The apex @
record, if required and created, should not respond to TCP/80 (HTTP) or TCP/443 (HTTPS).
Mail services/redirects
Mail services/redirects must not be functional or available for defensively registered domains.
Registering and maintaining a defensive domain
MoJ organisations should contact domains@digital.justice.gov.uk for assistance with defensive domain registrations and operations.
Decommissioning a domain
When a service is no longer provided or required, any domain name used to access that service is no longer required. This means that the domain can be decommissioned. Technically, decommissioning a domain is easy: simply cancel the registration.
But it’s important to check whether the domain is still required, even when the service is no longer provided.
How long should a domain be kept?
The answer depends on how the original domain was used in practice.
For example, if the domain was only used internally within the MoJ, and all references to it have already been updated to point to the new or replacement service, then the old domain name probably does not need to be kept for more than 12 months.
However, there are circumstances where it is important to keep a domain for longer periods of time. For example:
- The domain was heavily used internally, and there might be old emails or documents referring to it.
- The domain was used externally.
- The domain would be attractive for ‘domain squatting’.
In general, unless there is a good case for saying that a domain name does not need to be kept for defensive purposes:
- A domain associated with a decommissioned service must be maintained for at least five years after the corresponding service is decommissioned.
- The domain registration must be reviewed again not less than 12 months before it is due to expire, to determine if the registration should still be maintained.
Feedback
If you have any questions or comments about this guidance, such as suggestions for improvements, please contact: itpolicycontent@digital.justice.gov.uk.