Personal tools

From HEXONET Wiki

Jump to: navigation, search

The SetDomainRepositoryProperties command is used to set repository related configuration properties.
For example: To set monitoring thresholds, to set WHOIS output format and template, ...
The parameter TRIGGER is required if the RegistarOC handler is not assigned to the user (or one of his subusers) requested the command.



[COMMAND]

  (required)
  command = SetDomainRepositoryProperties
  repository = (REPOSITORY)
  propertytype0 = (TEXT)
  propertyvalue0 = (TEXT)
  propertytype1 = (TEXT)
  propertyvalue1 = (TEXT)
...

EOF


[RESPONSE]

  (required)
  code = (CODE)
  description = (DESCRIPTION)

EOF



The following PROPERTYTYPE values are available:

WHOIS_OUTPUT_FORMAT:

Define the WHOIS service output format. Possible values are:

  • DEFAULT: to use the default format
  • CUSTOM: to use your own format (you have to specify a whois output template text - see WHOIS_OUTPUT_TEMPLATE)



WHOIS_OUTPUT_TEMPLATE:

Define the WHOIS output template. Template text for the whois service on Port 43 TCP.
The text has to be transmitted URL-encoded to the API.
The following template tags (template variables) are available:

Parameter
Description
Mandatory
{REGISTRARNAME}
Name of the Registrar
no
{DOMAINNAME}
Name of the Domain
yes
{REGISTRARURL}
URL of the Registrar
no
{CREATEDDATE}
Created date of the Domain
yes
{UPDATEDDATE}
Updated date of the Domain
yes
{EXPIRATIONDATE}
Expiration date of the Domain
yes
{OWNERORGANIZATION}
Organization of owner
yes
{OWNENAME}
Name of owner
yes
{OWNERSTREET}
Street of owner
yes
{OWNERCITY}
City of owner
yes
{OWNERSTATE}
State of owner
no
{OWNERZIP}
Zip of owner
yes
{OWNERCOUNTRY}
Country of owner
yes
{OWNERPHONE}
Phone number of owner
yes
{OWNERFAX}
Fax number of owner
no
{OWNEREMAIL}
Email address of owner
yes
{ADMINORGANIZATION}
Organization of admin contact
yes
{ADMINNAME}
Name of admin contact
yes
{ADMINSTREET}
Street of admin contact
yes
{ADMINCITY}
City of admin contact
yes
{ADMINSTATE}
State of admin contact
no
{ADMINZIP}
Zip of admin contact
yes
{ADMINCOUNTRY}
Country of admin contact
yes
{ADMINPHONE}
Phone number of admin contact
yes
{ADMINFAX}
Fax number of admin contact
no
{ADMINEMAIL}
Email address of admin contact
yes
{TECHORGANIZATION}
Organization of technical contact
yes
{TECHNAME}
Name of technical contact
yes
{TECHSTREET}
Street of technical contact
yes
{TECHCITY}
City of technical contact
yes
{TECHSTATE}
State of technical contact
no
{TECHZIP}
Zip of technical contact
yes
{TECHCOUNTRY}
Country of technical contact
yes
{TECHPHONE}
Phone number of technical contact
yes
{TECHFAX}
Fax number of tech
no
{TECHEMAIL}
Email address of technical contact
yes
{BILLINGORGANIZATION}
Organization of billing contact
no
{BILLINGNAME}
Name of billing contact
no
{BILLINGSTREET}
Street of billing contact
no
{BILLINGCITY}
City of billing contact
no
{BILLINGSTATE}
State of billing contact
no
{BILLINGZIP}
Zip of billing contact
no
{BILLINGCOUNTRY}
Country of billing contact
no
{BILLINGPHONE}
Phone number of billing contact
no
{BILLINGFAX}
Fax number of billing contact
no
{BILLINGEMAIL}
Email address of billing contact
no
{NAMESERVER[0-9]}
{NAMESERVER[0-9]|<TEXT>}
Nameserver from 0 until 9
If the value for NAMESERVER[0-9] is not set or empty the output is the content of <TEXT>
yes (NAMESERVER[0-2])
 


Example:

: This data is provided by {REGISTRARNAME}
; for information purposes, and to assist persons obtaining information
; about or related to domain name registration records.
; {REGISTRARNAME} does not guarantee its accuracy.
; By submitting a WHOIS query, you agree that you will use this data
; only for lawful purposes and that, under no circumstances, you will
; use this data to
; 1) allow, enable, or otherwise support the transmission of mass
;    unsolicited, commercial advertising or solicitations via E-mail
;    (spam); or
; 2) enable high volume, automated, electronic processes that apply
;    to this WHOIS server.
; These terms may be changed without prior notice.
; By submitting this query, you agree to abide by this policy.

DOMAIN: {DOMAINNAME}

RSP: {REGISTRARNAME}
URL: {REGISTRARURL}

created-date: {CREATEDDATE}
updated-date: {UPDATEDDATE}
registration-expiration-date: {EXPIRATIONDATE}

owner-organization: {OWNERORGANIZATION}
owner-name: {OWNERNAME}
owner-street: {OWNERSTREET}
owner-city: {OWNERCITY}
owner-state: {OWNERSTATE}
owner-zip: {OWNERZIP}
owner-country: {OWNERCOUNTRY}
owner-phone: {OWNERPHONE}
owner-fax: {OWNERFAX}
owner-email: {OWNEREMAIL}

admin-organization: {ADMINORGANIZATION}
admin-name: {ADMINNAME}
admin-street: {ADMINSTREET}
admin-city: {ADMINCITY}
admin-state: {ADMINSTATE}
admin-zip: {ADMINZIP}
admin-country: {ADMINCOUNTRY}
admin-phone: {ADMINPHONE}
admin-fax: {ADMINFAX}
admin-email: {ADMINEMAIL}

tech-organization: {TECHORGANIZATION}
tech-name: {TECHNAME}
tech-street: {TECHSTREET}
tech-city: {TECHCITY}
tech-state: {TECHSTATE}
tech-zip: {TECHZIP}
tech-country: {TECHCOUNTRY}
tech-phone: {TECHPHONE}
tech-fax: {TECHFAX}
tech-email: {TECHEMAIL}

billing-organization: {BILLINGORGANIZATION}
billing-name: {BILLINGNAME}
billing-street: {BILLINGSTREET}
billing-city: {BILLINGCITY}
billing-state: {BILLINGSTATE}
billing-zip: {BILLINGZIP}
billing-country: {BILLINGCOUNTRY}
billing-phone: {BILLINGPHONE}
billing-fax: {BILLINGFAX}
billing-email: {BILLINGEMAIL}

nameserver: {NAMESERVER0|--}
nameserver: {NAMESERVER1|--}
nameserver: {NAMESERVER2|--}
nameserver: {NAMESERVER3|--}
nameserver: {NAMESERVER4|--}



WHOIS_LIMIT_IP:

Number of queries that are allowed for a client ip address.
The time interval is an hour. Setting this value to 0 means no limitation.

WHOIS_LIMIT_DOMAIN:

Number of queries that are allowed for a specific domain name.
The time interval is an hour. Setting this value to 0 means no limitation.