EPP (Extensible Provisioning Protocol) Client Library for Domain Registration and Management.
Description
epp-client is a client library for Internet domain registration and management for domain registrars.
It supports the following basic Domain, Contact, Host, and Message management calls, with plans to add more calls and other EPP extensions in the future, and to eventually be RFC compliant with the EPP protocol.
-
Domain Check -
EppDomainCheck
-
Domain Create -
EppDomainCreate
-
Domain Info -
EppDomainInfo
-
Domain Update -
EppDomainUpdate
-
Domain Delete -
EppDomainDelete
-
Domain Renew -
EppDomainRenew
-
Domain Transfer -
EppDomainTransferRequest
-
Contact Check -
EppContactCheck
-
Contact Create -
EppContactCreate
-
Contact Info -
EppContactInfo
-
Contact Update -
EppContactUpdate
-
Contact Delete -
EppContactDelete
-
Host Check -
EppHostCheck
-
Host Create -
EppHostCreate
-
Host Info -
EppHostInfo
-
Host Update -
EppHostUpdate
-
Host Delete -
EppHostDelete
-
Message Poll -
EppMessagePoll
-
Message Ack -
EppMessageAck
Prerequisites
To use the library, you must have an epp-client/epp-client.toml
config file with the relevant registry
credentials in your default user configuration directory on your OS. For Linux, this is the XDG user directory
,
usually located at $HOME/.config
or defined by the XDG_CONFIG_HOME
environment variable.
An example config looks like this:
[]
= 'epp.verisign-grs.com'
= 700
= 'username'
= 'password'
# service extensions
= []
[]
# the full client certificate chain in PEM format
= '/path/to/certificate/chain/pemfile'
# the RSA private key for your certificate
= '/path/to/private/key/pemfile'
Operation
Once the config is set correctly, you can create a mut variable of type [EppClient
] to transact
with the domain registry
use EppClient;
use ;
use generate_client_tr_id;
async