ddns (dhcpv4-pool-config)

DDNS (Dynamic DNS) parameters. Dynamic DNS provides a way to access an individual device in a DHCP serviced network using a static device name.

Depending on the DHCP server‘s configuration, the IP address of a device changes periodically. To ensure continuous accessibility to a device (having a dynamic IP address), the device‘s current IP address is published to a DDNS server that resolves the static device name (used to access the device) with a changing IP address.

The DDNS server must be accessible from outside the network and must be configured as an address resolver.

Supported on the following devices:

Syntax

ddns [domainname|multiple-user-class|server|ttl]
ddns domainname <DDNS-DOMAIN-NAME>
ddns multiple-user-class
ddns server [<IP>|<HOST-ALIAS-NAME>] {<IP1>|<HOST-ALIAS-NAME1>}
ddns ttl <1-864000>

Parameters

ddns domainname <DDNS-DOMAIN-NAME>

domainname <DDNS-DOMAIN-NAME>

Sets the domain name used for DNS updates

The controller uses DNS to convert human readable host names into IP addresses. Host names are not case sensitive and can contain alphabetic or numeric letters or a hyphen. A FQDN (fully qualified domain name) consists of a host name plus a domain name. For example, computername.domain.com.

ddns multiple-user-class

multiple-user-class

Enables the multiple user class options with this DDNS domain

ddns server [<IP>|<HOST-ALIAS-NAME>] {<IP1>|<HOST-ALIAS-NAME1>}

server

Configures the DDNS server used by this DHCP profile

[<IP>|<HOST-ALIAS- NAME>]

Configures the primary DDNS server. This is the default server.

Use one of the following options to specify the primary DDNS server:

  • <IP> – Specifies the primary DDNS server‘s IP address

  • <HOST-ALIAS-NAME> – Specifies a host alias, mapped to the primary DDNS server‘s IP address. The host alias should be existing and configured.

Note: A network host alias maps a name to a single network host. For example, ‘alias host $HOST 1.1.1.100‘. In this example the host alias is ‘$HOST‘ and it maps to a single host ‘1.1.1.100‘. For more information, see alias.

{<IP1>|<HOST-ALIAS -NAME1>}

Optional. Configures the secondary DDNS server. If the primary server is not reachable, this server is used.

Use one of the following options to identify the secondary DDNS server:

  • <IP> – Specifies the secondary DDNS server‘s IP address

  • <HOST-ALIAS-NAME> – Specifies a host alias, mapped to the secondary DDNS server‘s IP address. The host alias should be existing and configured.

ddns ttl <1-864000>

ttl <1-864000>

Configures the TTL (Time To Live) value for DDNS updates

  • <1-86400> – Specify a value from 1- 864000 seconds.

Examples

nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#ddns domainname WID
nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#ddns multiple-user-class
nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#ddns server 192.168.13.9
nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#show context
 dhcp-pool testPool
  address 192.168.13.4 class dhcpclass1
  ddns server 192.168.13.9
  ddns domainname WID
  ddns multiple-user-class
  bootfile test.txt
nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#

Related Commands

no

Resets or disables a DHCP pool's DDNS settings