If you have a server attached to a business-class network, the server probably has a static IP address. This means that the network address the server uses does not change from one day to the next. You can easily create Custom DNS records pointing to static IP addresses and they do not require using Dynamic DNS.
However, computers connecting to the Internet through residential Internet service (home fiber, cable modem, DSL, or dial-up) can have dynamic IP addresses. When you connect, the provider assigns an IP address. It may be an address you have used before, or it may be a new IP address. Depending on your Internet service provider, the IP address could change after weeks, days, or even hours.
Dynamic DNS updates DNS records on our name servers within minutes of a change to your IP address. It works by running a simple client on your computer, which connects to us frequently. When we detect that your IP address has changed, we update your DNS records to match.
For a practical example, let’s say you want to access your home computer while you are at work. You set up pair Domains Dynamic DNS. With Dynamic DNS, you can create a host name like yourserver.example.com. This host name will allow you to find your home server even if your IP address changes.
Using Dynamic DNS
To use Dynamic DNS, you need to be using our name servers. Any domain registered with us can use our name servers and Dynamic DNS at no extra cost.
If you are not already using our Custom DNS, please follow these steps to set it up:
Next, you can turn on Dynamic DNS:
Finally, you will need to set up a client on your computer to contact us when your IP address changes. We provide a Web client:
Other Dynamic DNS Clients
You can use other Dynamic DNS clients that support the dyndns2 protocol. When you set up your client, you can enter this information:
Username: pairdomains
Password: dynamic_dns_key
Alias or Host Name: the domain or sub-domain that you want to update
Dynamic DNS Server Name: dynamic.pairdomains.com
Dynamic DNS Server URL: /nic/update?
IP Server Name: myip.pairdomains.com /
The IP Server Name field might need to be entered as “Other Information” or “Other Settings” using this format: ip_server_name myip.pairdomains.com /
Please note: connections should be limited to every 5 minutes (300 seconds).
Direct URL
If you want to call a URL directly, this format will work:
https://pairdomains:dynamic_dns_key@dynamic.pairdomains.com/nic/update?hostname=hostname_to_update
ddclient
ddclient is a Perl based dynamic DNS client available from SourceForge. To run ddclient, you should create a configuration file named ddclient.conf. It should contain this information:
daemon=300 # check every 300 seconds
syslog=yes # log update msgs to syslog
pid=/var/run/ddclient.pid
ssl=yes
use=web,
web=https://myip.pairdomains.com/,
web-skip=’IP Address:’
protocol=dyndns2
server=dynamic.pairdomains.com
login=pairdomains
password=dynamic_dns_key
hostname_to_update
Before running it, make sure that there is a /var/cache directory on your computer. If you do not have one already, you can make one. Then this command can be used to run ddclient:
sudo /full/path/to/ddclient -daemon=0 -file /full/path/to/ddclient.conf
If you run into problems with ddclient, please run this command and send us the full output:
sudo /full/path/to/ddclient -debug -verbose -noquiet -daemon=0 -file /full/path/to/ddclient.conf
Router Software
DD-WRT software can be run directly on some routers. These settings should work:
DDNS Service: Custom DYNDNS
Server: dynamic.pairdomains.com
User Name: pairdomains
Password: dynamic_dns_key
Hostname: hostname_to_update
URL: /nic/update?
Additional DDNS Options: –ip_server_name myip.pairdomains.com /
Do not use external check:
No Force update interval:10
pfSense is an open source firewall/router computer software distribution based on FreeBSD. These settings should work:
Service Type: Custom
Username: [leave blank]
Password: [leave blank]
Update URL: https://pairdomains:dynamic_dns_key@dynamic.pairdomains.com/nic/update?hostname=hostname_to_update