PFSense
Overview
If you have not yet registered for the service, you can do so by visiting our registration page. To begin the setup, connect to the pfSense web panel and navigate to the Dynamic DNS service configuration.
Configure Dynamic DNS Service
Configure the Dynamic DNS parameters exactly like this:
- Service Type: Choose Custom.
- Interface to monitor: Select WAN.
- Interface to send update from: Select WAN.
- Username: Enter the specific username assigned to your dynamic network inside our dashboard. Do not use your registration email.
- Password: Enter the specific password assigned to your dynamic network.
- Update URL: Paste your specific update URL in this field.
Schedule the Synchronization
You need to set up a cron job to force the public IP synchronization.
- Click on the Diagnostic menu and then on Edit File.
- Click on Browse and open the folder named etc.
- Open the file called crontab and edit it as follows.
- Look for the line ending with /etc/rc.dyndns.update. Edit the first column by entering the string */5. The number following the asterisk and slash characters stands for how often public IP synchronization will be forced in minutes.
- Also edit the second column by entering the character *. In this example, the synchronization will be done every 5 minutes.
- Click on the Save button to apply the changes.
Persist the Changes on Reboot
In order to use the Dynamic DNS service correctly, the previous operation is not sufficient since the change made to the crontab file will be lost once the device is restarted. It is necessary to proceed as follows to make your changes persistent:
- Click Browse again and open the file called rc.bootup.
- Look for the configure_cron command. Comment it out by adding the # symbol at the very beginning of that line.
- Click on Save to apply the changes.
Edit the Update Script
As a final step, you need to edit the rc.dyndns.update file located within the etc directory. Proceed as follows:
- Search inside the file for the line containing the exact string / Interface IP address has changed */*.
- Add the unlink command right under it to clear the cache. For example:
unlink("/conf/dyndns_wancustom'checkip'0.cache");In our example, the name of the WAN interface is wancustom, so you will need to adapt the command above based on the actual name of your specific WAN interface.
- Click Save to apply the configuration.
DNS Configuration
Set the following cloud addresses as the primary and secondary DNS on the devices inside your network. You can do this either manually or by distributing them through a DHCP Server:
- Primary DNS: 185.236.104.104
- Secondary DNS: 185.236.105.105