πͺ Add CDN & DNS Server
π Overview
Upon Fresh installation of Load Proxy instance, you need to manually add the Load Proxy Node to the EdgeHit Controller Dashboard. You can add Load Proxy Either as CDN Server or DNS Server to EdgeHit Controller.
The installation process and Syncing Authentication Credential are done Automatically by installasion bash script. But the process of adding Load Proxy to EdgeHit Controller Web Dashboard need to be done manually.
Below are several important file to take note for each component
EdgeHit Controller
-
/usr/local/edgehit/EdgeHit-Controller/directory stores the file belowinstall-info.txtto find Dashboard URL and Default Admin Credential
Load Proxy
-
/usr/local/edgehit/loadproxy/directory stores the file below.serverto find Server UUID and Server Role.envto find Secret Values
-
/etc/anycast-checker/directory stores monitoring script used by healthcheck service/etc/bird/directory stores BIRD config generated by installation script
Reminder
-
Make sure that you had changed
[ $status -eq 999 ]inhttp-healthcheck.shis changed into[ $status -eq 400 ] -
If your setup does not need BGP password, remove the coresponding line in bird.conf
π οΈ Add EdgeHit as CDN Server
-
Login As Admin into the EdgeHit Controller Dashboard
-
Go to the
CDN > Data Centersection
-
Repeat the same process over
CDN > Server ClusterandCDN > Server GroupforServer ClusterandServer GroupsettingsNote
Only Server Group is Applied to A User Plan and effects other configuration. Data Center and Server Cluster only apply as a tag for resource organization
-
Go to
IP Adress > IP Adress Groupsection, and add a properIP Address Groupwith type Static or Anycast depending the setting on the coresponding load proxy node.Abstract
Although the setting up of Load Proxy as CDN Edge Node uses manual defined IP instead of selecting from predefined list of IP , It is recommended that the IP address of Load Proxy is added to IP list as certain config that expect value from IP list instead of manual input will be using that IP Address.
-
Go to the
IP Adress > IP Adress Blocksection. MapIP Address Blockto the desiredIP Address Group, then define the CIDR IP address block -
After Defining IP adress block, on the same page, click on
More Options > Add IP Addressand select the number of IP address to be added under the CIDR block.Note
Only the IP Group setting is a tag that can be assigned to resources. IP block is just to make the IP Address available under IP list to be assigned configured as IP for certain resource.
-
The numbering selects a range of IP in acending order.
- For example, if i want to add 192.168.0.255 i would need to add 256 ip under the CIDR block 192.168.0.0 as i need ip from 0-255 which count as 256 IP
Tip
if you do not want to add so many IP , you can define a /32 CIDR block and add 1 IP under it which coresponds to your Load Proxy IP.
-
-
Go to
CDN > Serversection -
Fill in the Value that coresponds to the Load Proxy node such as Hostname, IP Address. Select relavance tag for the 4 group settings. Server UUID can be found in the
.serverfile. Once done. Click on save changes
-
You can also add in extra configuration such as Asset Tag, Server Location,etc. Below Shows the available config.
clearification
The Country Label in CDN Server Defination is NOT for GeoIP Based Traffic control. Instead, it only act as a reosource tag for logging and management purpose.
Note
When debug mode enabled, information level logs are written to the service logs.
Field Label Description Select Asset Tags Select from dropdown list to assign predefined Tag Value Enabled Toggle switch to enable or disable the Server. Debug Mode Toggle switch to activate debug mode. Country Dropdown to select the country State Input field to enter the state or province. City Input field to specify the city. Longitude Input field for the geographic longitude Latitude Input field for the geographic latitude Description Text field to provide additional details -
After Submitting the Settings, wait around 1 minutes and view details of the created CDN Server. click on Edge Server Status and you should able to see version detail of EdgeHit Server without any error prompted.
Warning
If the Edge Version is not shown in the Edge Server Status and an Error Message is prompted. This means EdgeHit Controller is unable to connect to EdgeHit Server stated in the Settings.
- Ensure that EdgeHit Controller can reach the EdgeHit Server without any Firewall rule blocking and proper redis MTLS setting is present on both side
βοΈ Add EdgeHit DNS as DNS Server
-
Login As Admin into the EdgeHit Controller Dashboard
-
Go to
DNS > Server Groupsection , select.Addbutton to define a new group
-
Define A DNS Group with appropriate Name and Description. Then Click on
Add Record
-
Define the Iniatial Zone Record for the DNS Server Such As NS Record and SOA Record. Each DNS Group Must have one SOA record and AT LEAST one NS record
Note
The Initial Record of A DNS Group Applies to all Domain That is registered under the DNS Group. These record are usually NS record(s) that point to IP Address of one or more Load Proxy Node.
Tip
- if you plan to add multiple DNS Server into the same DNS GROUP, ensure that NS record that map to IP Address of each individual DNS Servers are present in the DNS Record Initialization of the server group
- ensure that initial NS record is also present on Upstream DNS Authoritative Server by adding the record in DNS Provider such as Dynadot, GoDaddy, etc.
-
Continue to add in the Initial DNS Record. Once Done, Click on
Save Changes. An example configuration will be similiar as below:Important Note
If you plan to put Mutliple Load 53 instance under the same DNS Group, Make sure that NS records pointing to all instance are present under the DNS Group
Note
If your Load Proxy node is already defined as a CDN Server, you can skip step 6-8 as ip address list is alraedy defined for the Server's IP
-
Go to
IP Adress > IP Adress Groupsection, and add a properIP Address Groupwith type Static or Anycast depending the setting on the coresponding load proxy node.Abstract
Although the setting up of Load Proxy as CDN Edge Node uses manual defined IP instead of selecting from predefined list of IP , It is recommended that the IP address of Load Proxy is added to IP list as certain config that expect value from IP list instead of manual input will be using that IP Address.
-
Go to the
IP Adress > IP Adress Blocksection. Map theIP Address Blockto the desiredIP Address Group, then define the CIDR IP address block -
After Defining IP adress block, on the same page, click on More Options> Add IP Address and select the number of IP address to be added under the CIDR block.
Note
Only the IP Group setting is a tag that can be assigned to resources. IP block is just to make the IP Address available under IP list to be assigned configured as IP for certain resource.
-
The numbering selects a range of IP in acending order.
- For example, if i want to add 192.168.0.255 i would need to add 256 ip under the CIDR block 192.168.0.0 as i need ip from 0-255 which count as 256 IP
Tip
if you do not want to add so many IP , you can define a /32 CIDR block and add 1 IP under it which coresponds to your Load Proxy IP.
-
-
Nativate to
DNS > Serversection on the side bar. , selectAddbutton to define a new group

-
Key in the proper Hostname and IP Address pointing to the target load proxy instance. Select the Proper IP Address Group and Server Group.
Note
In certain setup, the hostname of Load 53 nodes are resolved by itself and will not work before setting up Domain Zone. It is fine to place the hostname in the server setting first as the actual delivery of setting from CP to load 53 uses IP address.
-
You can also add in extra configuration such as Asset Tag, Server Location,etc. Below Shows the available config.
clearification
The Country Label in DNS Server Defination is NOT for GeoIP Based Traffic control. Instead, it only act as a reosource tag for logging and management purpose.
Note
When debug mode enabled, information level logs are written to the docker logs.
Field Label Description Select Asset Tags Select from dropdown list to assign predefined Tag Value Enabled Toggle switch to enable or disable the Server. Debug Mode Toggle switch to activate debug mode. Country Dropdown to select the country State Input field to enter the state or province. City Input field to specify the city. Longitude Input field for the geographic longitude Latitude Input field for the geographic latitude Description Text field to provide additional details











