WIPIVERSE All articles

Public Suffix List

The Public Suffix List (PSL) is a catalog of internet domain name suffixes under which Internet users can directly register second-level domains. It is primarily used to determine the portion of a domain name that is under the control of a single administrative entity, thereby informing security policies such as cookie scoping, same‑origin checks, and the issuance of TLS certificates.

Definition and Scope

  • Public suffix: The portion of a domain name that is not under the control of the individual domain owner (e.g., com, co.uk, pvt.k12.ma.us). Registrants cannot set policies for the public suffix itself.
  • Public Suffix List: A curated, machine‑readable text file enumerating these public suffixes. The list follows a line‑oriented format with comments (//) and supports wildcards (*) and exceptions (!).

History

  • Initiated in 2009 by the Mozilla Foundation to support the correct handling of HTTP cookies in the Firefox browser.
  • Subsequently adopted by other browsers (Chrome, Safari, Edge) and a variety of software projects (e.g., email clients, certificate authorities, domain registrars).

Governance and Maintenance

  • Hosted on GitHub (github.com/publicsuffix/list) and maintained as an open‑source project.
  • Contributions are accepted via pull requests from the public; changes are reviewed by a small core team consisting of members from Mozilla and other stakeholder organizations.
  • The list is updated regularly; each release includes a version identifier and a timestamp.

Format

  • Plain‑text file encoded in UTF‑8.
  • Each line is either a comment (starting with //) or a rule:
    • Exact rule (e.g., co.uk) denotes a public suffix.
    • Wildcard rule (e.g., *.ck) matches any immediate subdomain of the listed domain.
    • Exception rule (e.g., !city.kawasaki.jp) removes a previously matched rule, indicating that the exception is assignable to end users.

Primary Applications

Application How the PSL Is Used
Web browsers Determines the “effective top‑level domain plus one” (eTLD+1) for cookie partitioning and same‑origin policy enforcement.
TLS/SSL certificate issuance Certificate authorities verify that a requested domain is not a public suffix before issuing a certificate.
Email systems Helps prevent spoofing by identifying the registrable domain part of an email address.
Domain registrars and WHOIS services Assists in validating user‑supplied domain names during registration processes.
Security tools Used by anti‑phishing, malware detection, and DNS filtering services to classify domains.

Notable Features

  • Internationalized Domain Names (IDN): The list includes Unicode entries and their Punycode equivalents to support non‑ASCII top‑level domains.
  • Private domains: Some organizations register private suffixes (e.g., github.io) to delegate subdomains to users; such entries are included to preserve correct security boundaries.
  • Versioning: Each release is tagged (e.g., 2024‑03‑15) and includes a change log describing additions, deletions, and modifications.

Limitations and Criticisms

  • Timeliness: Rapid changes in the domain name ecosystem can lead to brief periods where newly created public suffixes are not yet listed, potentially causing security policy mismatches.
  • Coverage: While extensive, the list may not capture every edge case, especially for newly introduced country‑code top‑level domains (ccTLDs) with complex registration policies.
  • Governance Transparency: The core maintainers are a relatively small group, leading some observers to call for broader community oversight.

Related Concepts

  • Effective Top‑Level Domain (eTLD): The portion of a domain name that is considered the public suffix plus the immediate label beneath it (e.g., example.co.uk where co.uk is the public suffix).
  • Domain Name System (DNS): The hierarchical naming system that underlies the structure for which the PSL provides a policy layer.
  • Same‑Origin Policy: A browser security model that relies on the distinction between public suffixes and registrable domains.

References

  • Mozilla Foundation. Public Suffix List. https://publicsuffix.org/
  • RFC 6265. HTTP State Management Mechanism (defines cookie scope semantics that reference the PSL).
  • Google Chrome Developers. CookieDomainAttribute (implementation notes on eTLD+1 usage).

This entry reflects information available from publicly documented sources as of 2026.

Browse

More topics to explore

    Browse all articles