Configuring HostBill DNS Helper in DirectAdmin
To begin, you need to install Plesk Extension DirectAdmin Plugin that is shipped with Plesk DirectAdmin module for HostBill.
- Copy extension zip plugin .tar.gz file from includes/modules/Hosting/plesk12directadmin2/pleskmoduleplugin/dist directory directory of your HostBill installation. ie: hostbill-dns-1.0-1.zip to your plesk server
Login to your plesk sshDirectAdmin panel, and install extension as instructed in https://docs.plesk.com/en-US/onyx/extensions-guide/extensions-management-utility.73617/
Code Block title Sample of extension install plesk bin extension -i /root/hostbill-dns-1.0-0.zip
- Once extension is installed, click "Go to extension" next to it:
- Configure connection to HostBillSelect your Plesk master IP address (used by primary nameserver on Plesk)
plugin
Add a plugin: Extra Features → Plugin Manager → Add
- Select File in Upload Method
- Select the hostbill_dns.tar.gz file and check the Install after upload option
- Install
- Once plugin is installed, click Extra Features → HostBill DNS Helper:
- Configure connection to HostBill
- Enter URL to HostBill API endpoint (described in section below)
- Enter Secret to HostBill API (save it for later)
- In field Slave IPs to whitelist, enter comma separated list of IP addresses of your slave servers that should be added to Plesk DNS ACL.
This is required if target DNS server (configured in HostBill, read below) you will be exporting zones to should be responsible for storing slave zones, while Plesk DNS will serve as storage for master zones. - Submit with OK
- Submit with Save Changes button
You can now verify connection to your HostBill by clicking Test Connection button. If connection succeeds, you should see following message:
Configuring
PleskDirectAdmin module in HostBill
Make sure that any Plesk DirectAdmin you will be synchronizing data from have configured connection in HostBill → Connect with app (read more about configuration in: Plesk DirectAdmin).
Especially ensure that following fields:
- IP address
- Secret for DNS toolPrimary nameserver IPs
are configured in your Plesk DirectAdmin connection in HostBill.
Configuring
PleskDirectAdmin DNS Tool in HostBill
- Find and activate Plesk DirectAdmin DNS Tool plugin in your HostBill → Extras → Plugins
- Once activated proceed to Extras → Plugins → Plesk DirectAdmin DNS Tool to configure the module
- Copy HostBill API endpoint URL to be used on Plesk extension DirectAdmin plugin configuration
- Select Target DNS server you wish zones coming from your Plesk DirectAdmin installations should be hosted on
If you'd like your clients to manage their DNS zones in HostBill DNS manager - tick "The module has additional options that are checked during zone synchronization
Try to assign
imported zone to existing HostBill
DNS management account
Sync DNS only if HostBill domain exist
Check if zone exist in target DNS before attempting to creating it
Transfer A/CNAME only for free subdomains
Do not synch/import zones that already exists in target DNS server
Replace/set NS records for zone using target DNS App settings
- Copy HostBill API endpoint URL to be used on Plesk extension DirectAdmin plugin configuration
Info | ||
---|---|---|
| ||
This option should be used with caution, possibly only for PowerDNS Slave module. If you enable this option, client will "see" imported zone in DNS management section. If customer would then update anything directly on DNS server, his changes may later be overwritten by another synchronization made with |
DirectAdmin DNS tool. It's best to have clients manage their DNS directly on |
DirectAdmin or via HostBill client portal, using |
DirectAdmin DNS management function |