Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SRX] Example - Configuring Dynamic DNS (DDNS) to remain accessible during IP address changes

0

0

Article ID: KB28971 KB Last Updated: 15 Apr 2014Version: 1.0
Summary:

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.

Symptoms:

How does a user configure Dynamic DNS (DDNS) so that the servers protected by the device remain accessible despite dynamic IP address changes?

Cause:

Solution:

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:

  • Hostname: Internal DNS Hostname of the registered client
  • Server: DDNS server name (members.ddnsserver.org or ddnsserver.jp) that allows dynamic DNS clients to update the IP address changes associated with the registered hostname.
  • Agent: Name of the DDNS agent
  • Interface: Interface whose IP address is mapped to the registered domain name.
  • username: Specifies the dynamic DNS server username
  • password: Specifies the password

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.

Verification:

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

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search