This article explains how to configure Dynamic DNS on SRX devices so that the servers protected by the device remain accessible despite dynamic IP address changes.
How does a user configure Dynamic DNS (DDNS) so that the servers protected by the device remain accessible despite dynamic IP address changes?
SRX maintains the list of changed addresses and their associated domain names. The device updates the DDNS servers with this information periodically, or whenever there is a change in IP addresses.
For example, a protected Web server continues to be accessible with the same hostname, even after the dynamic IP address is changed, because of address reassignment by the Dynamic Host Configuration Protocol (DHCP) or Point-to-Point Protocol (PPP) by the Internet service provider (ISP).
To configure DDNS on SRX, the following parameters must be configured under system services:
members.ddnsserver.org or ddnsserver.jp
Here is a sample syntax file to configure DDNS via the command line interface:
user@host# set system services dynamic-dns client <XYZ.com> agent <Test> server <members.ddnsserver.org> interface <ge-0/0/1.0> username <test_dns> password <test_dns123>
Please note that this feature is introduced in Junos OS Release 12.1X44-D10 and hence D-DNS cannot be configured on earlier releases .
To verify if the configuration is working properly:
user@host show system services dynamic-dns client detail
Hostname : XYZ.com Server : members.ddnsserver.org Agent : Test Last response : success Last update : 2013-11-21 03:09:22 PDT Interface : ge-0/0/1.0