Whitelist a DDNS hostname
Use a DDNS hostname when an administrator’s public IP changes. With IPDB protection enabled, cPFence v4+ resolves saved hostnames and refreshes their owned whitelist addresses hourly.
Add the hostname
Section titled “Add the hostname”- Create a hostname with your chosen DDNS provider and configure its updater for your current public IP.
- As root on the licensed target server, add the actual hostname:
cpfence --add-whitelist-ddns admin.example.com --webui- Read the resolved-address and access results. On your main control panel server,
--webuialso requests browser access; omit it when only an IPDB whitelist is needed. - Check the IP policy and browser access from the intended address.
Remove the hostname
Section titled “Remove the hostname”cpfence --del-whitelist-ddns admin.example.comRemoval releases this hostname’s owned grants; other manual or feature-owned policies may remain.
