Article Directory
EPP basics
The difference between check and info
-
check
Used to query whether the object (can be multiple) exists, such as whether the domain name has been registered and the contact already exists, no password is required to use this command
-
info
Used to query the specific information of the object (a certain object), such as the contact person corresponding to the domain name, the address of the contact person, a password is required to use this command
The difference between transfer as a query command and a transform command
-
transfer as a query command
The processing status when the query object is transferred to another registrar (such as unprocessed, processing, processing completed)
-
transfer as a transform command
Subject sends a switch registrar command
What is the originating client?
The sponsoring client can be regarded as a registrar in the EPP protocol.
What is a repository?
The repository can be regarded as a registry in the EPP protocol.
What is ROID?
roid is the identifier of the repository object (can be domain name, contact, host), in repository中唯一
. See RFC5730
Relationship between multiple repository objects
The objects of each registry are not related (data of each company is not shared). For example, after host host.com is created in com, if you want to use host.com in .cash, you also need to create a host.com host in .cash, but you can’t set ip like in .com. .
If each object (domain name, host, contact) wants to be used in the registry, it needs to be created in the corresponding registry.
The role of authorization information
- When info, unauthorized clients carry authorization information, and you can also info to all the information
- It will be used when the object is transferred
Host related
Host? Slave host? Internal/external host?
-
Host:
The host is the host object created in the repository, which is authorized to host the domain name in the repository.
In DNS, the host is used as the name server by the domain name.
-
Slave host:
Subordination refers to the relationship between the host object and the domain name for which the host object has hosting rights. If the host name belongs to a subdomain of the domain name, or the domain name itself, the host is said to be a subordinate host of the domain name.
-
Internal/external host:
Internal and external refer to the relationship between the host object and the repository. If the host name belongs to the subdomain of the repository, the host is said to be the internal host of the repository; otherwise, it is the external host.
内部
The host必须
specifies the ip when it is created (used to generate Glue records), and the外部
host不能
specifies the ip when it is created .Reason: In the repository, creating a host is equivalent to creating an available ns record. When linking a domain name with a host, it creates an ns record for the domain name in the repository. If it is an internal host, in order to avoid a recursive endless loop, a Glue record needs to be created, so the ip address must be specified when creating an internal host. The external host does not belong to the repository, that is, it is not managed by the registry, so its ip address should not appear. The repository to which the external host belongs needs to provide this responsibility.
Constraints of the domain name object on the host object
-
create
The corresponding domain name object must be available before the subordinate host of the domain name can be created, that is, the host object belongs to the domain name object (rfc5732). If you want to create the host exm.baidu.com, you must first create the domain name baidu.com or exm.baidu.com.
-
delete
When deleting a host, the corresponding host will also be deleted.
-
Transfer
When the host is transferred, the corresponding host will also be transferred (the host itself has no transfer operation) (therefore, the host does not need authorization information)
What is the difference between domain:host and domain:ns?
<domain:ns> element: It contains the fully qualified name of the delegated host object or host attribute (name server) associated with the domain object. That is, the host added as ns for the domain name (the subordinate host of the domain name is not necessarily the ns of the domain name, it must be added).
<domain:host> element: It contains 从属主机对象
the fully qualified name that exists under this parent domain object . That is, all subordinate hosts of the domain name (regardless of whether it is the ns of the domain name)
Contact related
The relationship between the contact object and the domain name object
Contact objects and domain name objects under a registry can belong to different registrars.
Domain name, host, contact: difference in status value
domain name | Host | Contact person | |
---|---|---|---|
Identifier | |||
State value | |||
Date and time | |||
Authorization information | clientHold, serverHold,inactive | ----- | |
Other own information | Validity period, other DNS resource record attributes | ip address | Descriptive information of the contact person and organization |
Life cycle related
The life cycle of a domain name?
Domain Name Life Cycle-Figure 1
Domain name life cycle-Figure 2 The
upper two diagrams show the life cycle of gTLD domain names (the two diagrams can be combined to understand).
note:
- Some states of the domain name life cycle
可以同时出现
(such as some EPP states and RGP states, and some RGP states can appear at the same time), some states绝对不能同时出现
(see the introduction of domain name states in rfc5731 for details) - The example diagram of the domain name life cycle only introduces the state transition of the domain name in the natural use state. There may also be cases where the registrar actively deletes the domain name and directly enters the expired state.
What is the significance of setting a grace period?
Setting a grace period is to set aside a period of regret for the registrant/registrar's misoperations of the domain name (including registration, renewal, transfer, and deletion). During this period, the registry can charge no fees or be the original registrant /Registrar retains ownership of the domain name.
What are EPP status and RGP status?
-
EPP status (see RFC5731 for details , that is, in
创建后到过期前
theActive
status of the domain name (that is, the time range of the first green arrow in the first figure of the domain name declaration cycle), the status of the domain name. These statuses appear in the<domain:status>
label, including:- Normal use status:
ok - Unauthorized status:
inactive - The status when the registrar and registrar restrict the domain name:
clientHold, serverHold
clientRenewProhibited, serverRenewProhibited
clientUpdateProhibited, serverUpdateProhibited
clientDeleteProhibited, serverDeleteProhibited
clientTransferProhibited, serverTransferProhibited - The registry receives the corresponding order, and the status of the domain name until the domain name is in another state:
pendingCreate, pendingDelete, pendingRenew, pendingTransfer, pendingUpdate
- Normal use status:
-
The RGP status (see
RFC3915 for details ) is宽限期相关
the various statuses of the domain name and . These statuses扩展字段<rgp:rgpStatus>
displayed in the EPP command include:addPeriod autoRenewPeriod renewPeriod transferPeriod redemptionPeriod pendingRestore pendingDelete
Although RGP is the abbreviation of Redemption Grace Period (Redemption Grace Period), mentioning RGP status not only includes the redemption grace period, but also other grace periods. In the EPP command, a
<rgp:rgpStatus>
label is also used to indicate the status of all grace periods.
example:
references
RFC3915 RFC5730 RFC5731 RFC5732 RFC5733 RFC5734
https://icannwiki.org/RGP Understanding of RGP
https://sg.godaddy.com/zh/help/what-does-the-status-of-a-domain-name-mean-594 Brief introduction of all statuses of domain names
https://www.ymw.cn/news/viewnews-1676.html understanding of pendingDelete