惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
aimingoo的专栏
aimingoo的专栏
腾讯CDC
WordPress大学
WordPress大学
Apple Machine Learning Research
Apple Machine Learning Research
F
Fortinet All Blogs
G
Google Developers Blog
MongoDB | Blog
MongoDB | Blog
Microsoft Azure Blog
Microsoft Azure Blog
小众软件
小众软件
Engineering at Meta
Engineering at Meta
博客园_首页
B
Blog RSS Feed
D
Docker
M
MIT News - Artificial intelligence
爱范儿
爱范儿
I
InfoQ

Hacker News: Front Page

SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Introducing Claude Opus 4.7 Qwen Studio The Future of Everything is Lies, I Guess: Where Do We Go From Here? GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Ancient DNA reveals pervasive directional selection across West Eurasia [pdf] AI cybersecurity is not proof of work Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. A Better Ludum Dare; Or, How to Ruin a Legacy GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Unexpected €54k billing spike in 13 hours: Firebase browser key without API restrictions used for Gemini requests Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent Codex Hacked a Samsung TV
Setting up a free *.city.state.us locality domain
speckx · 2026-05-13 · via Hacker News: Front Page

tl;dr

In the US, can get a domain name like somename.city.state.us for free. If your town has its own domain, you can get nameservers from Amazon Lightsail, send the Interim .US Domain Template to the delegated manager for your locality to register one, then point DNS entries at your webhost.

What’s a locality domain?

A locality domain is a domain name that’s associated with a location in the United States, such as frederick.seattle.wa.us (which currently redirects to fredchan.org). Locality domains were first created in 1992, and the infrastructure has been maintained under government contract ever since.

To register one, you must be a US citizen or permanent resident, an organization incorporated in the US, or an organization with a bona fide presence in the US that regularly engages in lawful activities or has an office in the US. (For the full verbiage, see the bottom of this form).

Step 1: Choose a locality domain

Registration of many locality domains have been delegated to various companies who actually handle the domain registration. See the list of delegated subdomains for domains you can register under, which also has the contact e-mail for the corresponding registrar as of 2009.

Since this list is quite old and some companies may have restructured/renamed, you may need to hunt for an e-mail for the current incarnation of the registrar. For example, the e-mail listed for seattle.wa.us is domainrq@nwnexus.com belonging to NW Nexus, which is now NuOz Corporation, so the e-mail I contacted was support@nuoz.com.

If you do not live in one of these localities, you can try registering a domain under gen.your-state.us, like next.gen.oh.us, which is officially for general independent entities. The contact should be in the same list.

If the locality domain you’re looking for isn’t on the list (i.e. registration has not been delegated), you’re probably screwed. The manager of all undelegated domains, NeuStar, will only allow local government agencies to register them due to government policy. This is supposed to be temporary, but the policy has remained since 2002.

Step 2: Acquire nameservers

When you get a normal domain, like fredchan.org, your domain registrar usually provides nameservers for you after you buy. These nameservers are where you put DNS records that point your domain to an IP address, like your web host’s IP address. However, in order to register a locality domain, you need to already have nameservers.

The only place I could find that provides free nameservers for non-top level domains (e.g. every locality domain) is Amazon Lightsail. Lightsail is Amazon’s low cost AWS web hosting service. You’re normally supposed to rent a web hosting server from them, but you don’t actually need to do that.

  1. Create an AWS account and go to the Lightsail console.
  2. On the left navigation panel, click Domains & DNS.
  3. Click the Create DNS zone button.
  4. Select Use a domain from another registrar and type in the domain you intend to register later.
  5. Click Create DNS zone.
  6. Take note of the domain names in the Name servers section. You need these when you fill out the domain registration form.

Step 3: Fill out the domain registration form

Now that you have name servers, you can fill out the Interim .US Domain Template v2.0. In this section, I’ll walk you through some of the trickier parts of this form, assuming you are registering a domain for yourself.

2. FULLY-QUALIFIED DOMAIN NAME:

This is the domain you want to register, e.g. frederick.seattle.wa.us.

3. ORGANIZATION INFORMATION

If you are a human being and not an organization, you can fill out sections 3a-e with your own address.

4. DESCRIPTION OF ORGANIZATION/DOMAIN:

Describe what you’re doing with this domain. For example, if you expect to host a website on it, you can say that. You can use it for purposes that you don’t write in the form later on as well.

5. Date Operational......:

You can use your birth date here.

6. ADMINISTRATIVE CONTACT OF ORGANIZATION/DOMAIN and 7. TECHNICAL AND ZONE CONTACT

Both of these can be you. 6i, 7i, and 7j can all be your e-mail address, and if you don’t have a fax number, leave 7k blank.

8. PRIMARY SERVER: HOSTNAME, NETADDRESS and 9. SECONDARY SERVER: HOSTNAME, NETADDRESS

This is where you fill in your name server addresses.

Lightsail will have given you at least 2-4 name server addresses, of which you need to know the IP address of each. You can use an online DNS lookup tool to find their IP addresses or the dig command in your terminal.

Any of the nameservers can be the primary server. Then, for the rest of the servers, you can repeat section 9 as many times as you need until you’ve added all the nameservers.

10. US NEXUS REQUIREMENTS

Instructions for section 10 appear at the bottom of the form. For instance, if the domain is for personal use and you are a US Citizen, your application purpose is (iii) personal use, your Nexus Category is (category 11) Natural person who is a United States Citizen, and you leave Nexus Validator blank.

Step 4: Send the form and wait

Send the form to the domain registrar you identified before for your locality domain. When registering, I wrote “I’d like to register a new locality domain with the following information” and pasted the entire form contents into the e-mail, so they know what the form is for.

This can take days or possibly weeks, since they’re not usually automated. If successful, you’ll get an e-mail confirming that your domain has been registered.

Step 5: Finish setting up DNS in Lightsail

You can now go back to the DNS zone you created in Lightsail, and in the DNS records tab, create DNS records to point your domain to whatever server you want― web servers, Minecraft servers, FTP servers… anything!

For free web hosting, I use GitHub Pages, which has a guide to configuring custom domains. Different web hosts will have slightly different instructions, but they will all involve creating DNS records.

Once your DNS records are configured, you should be able to visit your new locality domain and see your website!

FAQ

Do I actually have to live in my locality domain’s area?

I’m not really sure. Honestly, I doubt anyone cares enough to actually check that you live at the address you supply in the registration form. I know someone who used to live in their locality, moved out of the country, and still has their locality domain. However, your mileage may vary.

Will WHOIS requests leak my address?

Nope. Even though you must supply your address in the registration form, a WHOIS request for your locality domain will only show information about the registrar.

Special thanks

Big thanks goes to sleepless and Minh Nguyen for their guides on registering locality domains. After seeing their guides, I wanted to write my own that would clarify some of the questions I had while following them, which led to the creation of this article!