18F/18f.gsa.gov

View on GitHub
_posts/2014-12-18-a-complete-list-of-gov-domains.md

Summary

Maintainability
Test Coverage
---
layout: post

title: "A complete list of .gov domains"

image: /assets/blog/dotgovs/dot-govs-screen.png

description: "We're happy to say that the .gov registry is now releasing the entire set of 5,300 .gov domains, including those outside of the federal executive branch."
excerpt: "We're happy to say that the .gov registry is now releasing the entire set of 5,300 .gov domains, including those outside of the federal executive branch."

authors:
- eric
- gray

tags:
- open data
- open government

---

<figure>
  <img src="{{site.baseurl}}/assets/blog/dotgovs/dot-govs-screen.png" alt="A section of a spreadsheet of the .gov domain list">
  <figcaption>Excerpt of the <a href="https://github.com/GSA/data/blob/master/dotgov-domains/current-full.csv">.gov domain list (CSV)</a></figcaption>
</figure>

There are a lot of `.gov` domains: over 5,300 of them. About 1,300 of these are used by the federal government's executive, legislative, and judicial branches. The rest are spread across states, territories, counties, cities, and native tribes.

For a while now, the public has been able to download a dataset of the [roughly 1,200 .gov domains used by the federal executive branch](https://catalog.data.gov/dataset/gov-domains-api-c9856) from [data.gov](https://www.data.gov), the nation's data catalog.

We're happy to say that the `.gov` registry is now releasing the **entire set of 5,300 `.gov` domains**, including those outside of the federal executive branch.

Some background: the `.gov` registry is a [centrally operated top-level domain](https://domains.dotgov.gov) managed by the [Office of Government-wide Policy](https://www.gsa.gov/portal/content/104550) (OGP), which is part of the [General Services Administration](https://www.gsa.gov/) (GSA). The associated [DotGov.gov](https://domains.dotgov.gov) provides more background, as well as tools such as WHOIS lookup and DNSSEC analysis.

You can download the complete `.gov` domain list in CSV form here:

 * [https://github.com/GSA/data/raw/master/dotgov-domains/current-full.csv](https://github.com/GSA/data/raw/master/dotgov-domains/current-full.csv)

We’re hosting it on GSA's GitHub account, which also allows for [easy in-browser viewing of the full list](https://github.com/GSA/data/blob/master/dotgov-domains/current-full.csv).

We and the Office of Government-wide Policy hope this data is useful to the public, and to anyone helping make the `.gov` landscape better.