This is an example written in PHP allowing users to manage DNS Manager clients, DNS Zones and DNS Records. Download. |
This demonstrative code SHOULD NOT be used in production. It is designed to show how a client application can interact with the DNS Manager SystemAPI. From this perspective, validations and error-checks aiming to demonstrate the most common mistakes are minimal and can be done easily. |
In order to be able to use the SystemAPI PHP example, your system must be compliant with the requirements below:
|
To access the interface, simply visit https://<IP>/<PATH_TO_SYSTEMAPI_TOOL>/index.php.
Please note that you can't access the application unless you set it up before. Otherwise, you will get a warning message with the issues you need to fix, just as shown below:
Once the configuration process is complete, you can access the interface and use it to add clients, DNS Zones and DNS Records.
Using this section of the application you can add client accounts to DNS Manager. The following information can be set using the form:
Parameter | Required | Description |
---|---|---|
Company | No | The company name of the user |
Contact name | Yes | The contact name of the user |
Login | Yes | Username for the new account |
Password | Yes | Password for the new account |
Phone | No | Phone number of the new account |
Fax | No | Fax number of the new account |
Yes | Email of the new account | |
Address | No | Address of the new account |
City | No | City for the new account |
Postal/ZIP code | No | Postal/ZIP code for the new account |
Country | Yes | Select a country from the list of countries |
State/Province | No | Select a state or province |
Notes | No | More notes about the account |
By using this section of the application, you can add DNS Zones to the DNS Manager server. The following information can be set using the form:
Parameter | Description |
---|---|
DNS Zone Name | The name of the DNS Zone |
DNS Zone Type | The type of the DNS Zone. Can be either master, or slave. |
By using this section of the application, you can add DNS Records to the DNS Manager server. The following information can be set using the form:
Parameter | Description |
---|---|
DNS Record Name | The type of the DNS Record |
Host | The host |
Value | The value of the record. |
Primary | Check if you have a primary record. |