ドメイン名とは?Domain、TLD、WHOISの仕組みを解説
ドメイン名は、google.comのような、人間が読みやすいWebサイトの住所です。裏側ではDNS record、registrar、registry、WHOIS/RDAP、renewal、security controlが連携しています。
目次
ドメイン名とは?
ドメイン名は、Webサイトやinternet resourceを識別する読みやすい名前です。142.250.80.46のようなIP addressの代わりに、google.comと入力できます。
ドメイン名はDomain Name System (DNS)を通じて動作します。DNSは名前をIP addressやその他のrecordへ変換するglobal naming systemです。
登録済みのdomainは、同じ時点では一意です。2人のregistrantが完全に同じdomain nameを同時に所有することはできません。
ドメイン名の構造
DNSは階層構造です。Domain nameは右から左へ、TLD、domain、subdomainといったlevelで解釈されます。
Full URL: https://blog.example.com/article
Protocol: https://
Subdomain: blog
Domain: example
TLD: .com
The registered domain is usually:
example.com
More examples:
mail.google.com -> subdomain: mail, domain: google.com
en.wikipedia.org -> subdomain: en, domain: wikipedia.org
bbc.co.uk -> name: bbc, public suffix: co.uk
docs.github.io -> subdomain: docs, domain: github.ioTop-Level Domainの種類
Top-level domain、つまりTLDは、domain nameの最後のdotより後ろにある部分です。
| Category | 例 | メモ |
|---|---|---|
| Generic TLDs (gTLD) | .com, .org, .net | 汎用、または歴史的にcategoryを表していたextension |
| Restricted TLDs | .edu, .gov, .mil | 対象機関や政府・軍事用途などに制限される |
| Country-code TLDs (ccTLD) | .uk, .de, .jp, .th | 国や地域を表す2文字code |
| Repurposed ccTLDs | .io, .ai, .tv | tech、AI、media brandingで人気になったcountry code |
| New gTLDs | .app, .dev, .shop, .blog | 説明的な新しいextension群 |
Industry-specific: .tech .dev .design .app .cloud
Geographic: .nyc .london .tokyo .berlin
Brand TLDs: .google .apple .amazon .microsoft
Generic: .site .online .store .blog .xyz
Community: .school .club .team .social知っていますか?
.comは今でも最も認知されているTLDですが、.app、.dev、.store、.blogのような説明的TLDを使うprojectも増えています。
Domain Registrationの仕組み
domainを永久に買うわけではありません。通常1年から10年の期間、使う権利をregisterします。
registryはTLDを管理し、registrarは登録を販売し、registrantはdomainを管理する個人または組織です。
domainを維持するには、有効期限前にrenewする必要があります。重要なdomainではauto-renewalを強くおすすめします。
Registration hierarchy:
ICANN
-> Registry manages a TLD such as .com or .org
-> Registrar sells domain registrations to customers
-> Registrant owns the right to use the domain for a term
You do not permanently buy a domain.
You register the exclusive right to use it for 1-10 years.WHOISとRDAP Records
WHOISはdomain ownershipやregistration dataを調べる古いprotocolです。RDAPは、標準化されたJSON responseを返す新しいstructured replacementです。
privacy ruleやregistrar設定により、public recordにはregistrar、creation date、expiration date、nameservers、status code、場合によってregistrant informationが表示されます。
WHOIS privacy protectionは個人のcontact detailsを隠し、spamやsocial engineering riskを減らします。
Example WHOIS/RDAP fields:
Domain Name: example.com
Registrar: Example Registrar, Inc.
Created: 1995-08-14
Expires: 2027-08-13
Nameservers: ns1.example.net, ns2.example.net
Status: clientTransferProhibited
Privacy protection often hides personal registrant details.Domain Age
Domain ageは、domainが最初にregisteredされた時点、または現在のregistration recordが作られてからの期間です。
古いdomainにはhistory、backlinks、trust signals、reputationがある場合がありますが、ageだけでqualityやSEO valueが保証されるわけではありません。
既存domainを買う前に、過去の用途、backlink profile、search penalty、spam利用の有無を確認しましょう。
Domain Lifecycle
Domainにはlifecycleがあります。renewalを忘れると、最終的に他の人が登録できる状態に戻ることがあります。
Typical domain lifecycle:
Available
-> Registered
-> Active registration period
-> Expired
-> Renewal grace period
-> Redemption grace period
-> Pending delete
-> Available again
Exact timing depends on the TLD and registrar policy.重要なdomainを失効させない
Expired domainは競合、domain investor、悪意ある第三者に取得される可能性があります。auto-renewalを有効にし、支払い情報を最新に保ちましょう。
Domain Transfer
Domain transferはdomainを別のregistrarへ移す手続きです。価格、DNS機能、support、管理の集約を目的に行われます。
Registrar transfer process:
1. Unlock the domain at the current registrar
2. Get the EPP/auth code
3. Start transfer at the new registrar
4. Confirm the transfer by email or dashboard
5. Wait for completion, often 5-7 days
Common restrictions:
Cannot transfer within 60 days of registration
Cannot transfer within 60 days of a previous transfer
Domain must be unlocked
EPP/auth code must be validSubdomains
Subdomainはregistered domainの前につくprefixです。DNS recordsで作成し、別のsystemへ向けることができます。
Common subdomain patterns:
www.example.com classic website alias
blog.example.com separate blog
shop.example.com ecommerce storefront
api.example.com API endpoints
staging.example.com pre-production environment
docs.example.com documentation
mail.example.com webmail
app.example.com web applicationDomainとHostingの違い
Domain nameとweb hostingは関連していますが、別のものです。
| 観点 | Domain Name | Web Hosting |
|---|---|---|
| 何か | Webサイトの住所 | Webサイトfilesやappsが動くserver |
| 例え | 住所 | その住所にある家や建物 |
| 購入先 | Domain registrar | Hosting providerまたはcloud platform |
| 接続方法 | DNS records | IP addresses、CNAME、platform settings |
| 分けられるか | 可能 | 可能 |
domainをある会社で登録し、Webサイトを別会社でhostingすることもできます。DNS recordsが両者を接続します。
良いDomainを選ぶベストプラクティス
- 短く覚えやすくすることで、入力や共有が簡単になります。
- 合うなら.comを優先すると、多くのuserがdefaultで想定しやすくなります。
- hyphenや紛らわしい数字を避けると、口頭で伝えるときに間違いが減ります。
- 綴りを簡単にすることで、覚えにくい置き換えや特殊な表記を避けられます。
- trademarkを確認することで、brand関連名の登録前にriskを減らせます。
- 将来の成長を考えることで、projectの方向性を後から制限しにくくなります。
Domain Security
Domainは重要なdigital assetです。管理権を失うと、email、website、apps、brand trustが壊れる可能性があります。
| 対策 | 防げること | 有効化方法 |
|---|---|---|
| Registrar lock | 不正なtransfer | registrar dashboardで有効化 |
| 2FA | registrar account takeover | account security settingsで有効化 |
| WHOIS privacy | 個人contact dataの公開 | 利用可能ならprivacy protectionを有効化 |
| DNSSEC | DNS spoofingとcache poisoning | registrarとDNS providerで設定 |
| Auto-renewal | 意図しない失効 | billing settingsで有効化 |
| Registry lock | 高riskなregistry-level変更 | registrarへ依頼。通常はenterprise feature |
Domain hijackingは実際に起きる
重要なdomainでは、強く一意なpassword、2FA、registrar lock、安全なemail、制限されたaccount accessを使いましょう。
任意のDomain Ageをすぐに確認
無料のDomain Age Checkerで、registration date、expiration date、registrar、nameservers、WHOIS dataを数秒で確認できます。
Domain Age Checkerを開く参考資料
- Mockapetris, P. (1987). RFC 1034 - Domain Names: Concepts and Facilities. https://datatracker.ietf.org/doc/html/rfc1034
- Daigle, L. (2004). RFC 3912 - WHOIS Protocol Specification. https://datatracker.ietf.org/doc/html/rfc3912
- Newton, A., et al. (2019). RFC 7483 - JSON Responses for RDAP. https://datatracker.ietf.org/doc/html/rfc7483
- ICANN. Domain Name Registration Process. https://www.icann.org/resources/pages/register-domain-name-2017-06-20-en
- Verisign. Domain Name Industry Brief. https://www.verisign.com/en_US/domain-names/dnib/index.xhtml