2.5.4. Dynamic DNS Administrative Web Page

Dynamic DNS (DYNDNS) allows you to make your domain name available to the Internet even though you do not have a fixed IP address.

To use DYNDNS you must first register a subdomain with a DYNDNS provider. Then whenever IPCop connects to the Internet and is given an IP address by your ISP, it must inform the DYNDNS server of that IP address. When a client machine wishes to connect to your domain it will resolve the address by going to the DYNDNS server, which will give it the latest value. If this is up to date then the client will be able to contact you (assuming your firewall rules allow this).

IPCop makes the process of keeping your DYNDNS address up to date easier by providing automatic updates for many of the DYNDNS providers.

2.5.4.1. Settings

The first section has a couple of general settings.

Figure 2.32. Dynamic DNS Settings

Dynamic DNS Settings section

Dynamic DNS provider(s) will receive an IP address for this IPCop from.  Choose 'The classical RED IP used by IPCop during connection' if your IPCop box has a public IP or the IP that you want to be reported. If IPCop fails to detect your public IP choose 'Guess the real public IP with help of an external server'.

Guess the real public IP with help of an external server.  This option is mainly used if your IPCop is behind a router. Do not use this option with Dial on Demand. Your RED IP must be inside one of the three private networks e.g. 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16.

Minimize updates.  Avoid many updates to the dynamic DNS service by comparing the IP registered with your service and the IP that IPCop has detected. As many dynamic DNS services do ban you if you update too often, it is strongly recommended that you select this option.

If your IPCop is connected 24/7, you can use a Scheduled Event to force an update to avoid your account being declared 'dead'. See the section below.

Save After making any changes, press the Save button to apply them.

2.5.4.2. Add a dynamic DNS name

The second section allows you to Add or Edit a record.

Select a DYNDNS provider from the drop down list, and press the Add button. The screen below will appear.

Figure 2.33. Add a dynamic DNS record

Add a dynamic DNS record section

Service You should have already registered with this service.

Enabled.  If this is not ticked then IPCop will not update the information on the DYNDNS server. It will retain the information so you can re-enable DYNDNS updates without re-entering the data.

Enable wildcards.  Enable Wildcards will allow you to have all the subdomains of your dynamic DNS hostname pointing to the same IP as your hostname (e.g. with this checkbox enabled, www.ipcop.dyndns.org will point to the same IP as ipcop.dyndns.org). This checkbox doesn't work with the no-ip.com service, as they only allow this to be activated or deactivated directly on their website.

Some of the following fields may be optional, depending on your DYNDNS provider.

Hostname.  Enter the hostname you registered with your DYNDNS provider.

Domain.  Enter the domain name you registered with your DYNDNS provider.

User Name.  Enter the username/login name you registered with your DYNDNS provider.

Password.  Enter the password for your username.

Add.  When you press the Add button the details are saved.

2.5.4.3. Current dynamic DNS names

This section shows the dynamic DNS records you currently have configured.

Figure 2.34. Current dynamic DNS records

Current dynamic DNS records section

A green entry indicates that the last update was OK, a blue entry indicates it's inactive, and a red entry means a failed update.

To edit an entry click on its Yellow Pencil icon. The entry's data will be displayed in the form above. Make your changes and click the Save button on the form.

You can also toggle the Wildcards and Enabled checkboxes directly from the current hosts list entry.

2.5.4.4. Forcing a Manual Update

You can force IPCop to refresh the information manually by pressing the Instant Update button, however, it is best to only update when the IP address has actually changed, as dynamic DNS service providers don't like to handle updates that make no changes. Once the host entries have been enabled your IP will automatically be updated each time your IP changes.

2.5.4.5. Scheduling an Update

To avoid your account being declared 'dead' due to lack of activity, you can force IPCop to refresh the information automatically by using the Force DynDNS Update Scheduled Event on the Scheduler page.

This mainly applies to IPCop's that run non-stop, and don't change their IP very often.