1. DNS/DomainNames

1.1. RFC 1034

/grep

2.1.

The terms "domain" or "domain name" are used in many contexts beyond the
DNS described here.  Very often, the term domain name is used to refer
to a name with structure indicated by dots, but no relation to the DNS.

This is particularly true in mail addressing [Quarterman 86].

whois情報に現れることばの使い方  Domain name terms and definitions

domain name に使える文字についての制限は各レジストリに任されているようだ。

https://rrdg.centr.org/projects/standards/registration-metrics/

1.2. NAMEPREP

https://en.wikipedia.org/wiki/Nameprep

Nameprep is the process of case-folding to lowercase and removal of some generally invisible code points before it is suitable to represent a domain name, or other such canonical name.

It is used by the Internationalizing Domain Names in Applications (IDNA) standard, using the Unicode standard for NFKC normalization. 

Preparation of Internationalized Strings ("stringprep") https://tools.ietf.org/html/rfc3454

https://tools.ietf.org/html/rfc7564

PRECIS Framework: Preparation, Enforcement, and Comparison of Internationalized Strings in Application Protocols https://tools.ietf.org/html/rfc8264

1.3. JPRS 日本語ドメイン名

https://jprs.jp/about/jp-dom/character/

全角ひらがな・カタカナ・漢字・半角英数字(A~Z、0~9)・半角のハイフン「-」

全角・半角に関係なく、1文字以上15文字以下 *英数字のみの文字列は「英数字ドメイン名」となります。

日本語JPドメイン名のPunycode変換・逆変換 https://punycode.jp/

1.4. JPRS 英数字ドメイン名

英数字ドメイン名 半角英数字(A~Z、0~9)・半角のハイフン「-」

1.5. 長さ

What is the maximum length of a DNS name https://stackoverflow.com/questions/32290167/what-is-the-maximum-length-of-a-dns-name/32294443

ASCII characterしか想定できない世界の人たちの議論だが。

1.6. 長いドメイン名

63文字(英字)のラベルをもつドメイン名は存在する。

http://abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk.com/index.php

$ dig abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk.com

; <<>> DiG 9.14.0 <<>> abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50352
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk.com. IN        A

;; ANSWER SECTION:
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk.com. 14400 IN A198.204.255.114

;; Query time: 478 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: 土  8月 10 15:38:50 JST 2019
;; MSG SIZE  rcvd: 112

MoinQ: DNS/DomainNames (last edited 2022-06-24 12:56:44 by ToshinoriMaeno)