Skip to content

Instantly share code, notes, and snippets.

@otsuka752
Last active January 24, 2021 13:02
Show Gist options
  • Save otsuka752/7abbd997ab1056473b07c38715205c68 to your computer and use it in GitHub Desktop.
Save otsuka752/7abbd997ab1056473b07c38715205c68 to your computer and use it in GitHub Desktop.
CreateHostedZone_from_PSL_JP_2020-12-23
・.jp ドメイン名
・国際化ドメイン名(IDN) は省略
・1734 ドメイン名のゾーン作成を試して
・3つのドメイン名のゾーンを作成できた
・3つ以外は下記のエラーで作成できず
 An error occurred (InvalidDomainName) when calling the CreateHostedZone operation: (DOMAIN_NAME).jp is reserved by AWS!
・親子同居による制限ではない
・親子同居のエラーは下記
 An error occurred (DelegationSetNotAvailable) when calling the CreateHostedZone operation: We encountered an error creating delegation set for your hosted zone. Please contact: [email protected]
$ grep jp$ public_suffix_list.dat |grep ^[0-9a-zA-Z] >> ../psl.jp.txt
$ wc -l ../psl.jp.txt
1734 ../psl.jp.txt
$ ./create-hosted-zone.py
...
$ egrep 'InvalidDomainName|"Name": ' hostzone.create.txt |grep -v InvalidDomainName
"Name": "user.aseinet.ne.jp."
"Name": "gehirn.ne.jp."
"Name": "usercontent.jp."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment