Configuration Guide Vol. 1


36.2.4 Settings for linking dynamic DNS

Points to note

The example below shows how to specify zone information and enable dynamic DNS server linkage so that DNS records associated with a client can be reported to the dynamic DNS server when an IP address is distributed to the client.

Figure 36-3: Connectivity structure for dynamic DNS linkage

[Figure Data]

Command examples

  1. (config)# interface vlan 10

    (config-if)# ip address 10.1.11.1 255.255.255.0

    (config-if)# exit

    Sets a VLAN interface and IP address for subnet 1 in advance.

  2. (config)# interface vlan 20

    (config-if)# ip address 10.0.0.2 255.255.255.0

    (config-if)# exit

    As in step 1, sets a VLAN interface and IP address for the dynamic DNS server.

  3. (config)# service dhcp vlan 10

    (config)# ip dhcp excluded-address 10.1.11.1 10.1.11.120

    (config)# ip dhcp pool Group1

    (dhcp-config)# network 10.1.11.0 255.255.255.0

    (dhcp-config)# default-router 10.1.11.1

    [36.2.2 Configure IP addressing in the same way as "Configure IP Distribution for Clients."

  4. (dhcp-config)# domain-name example.net

    Sets the domain name to be used by the client when DNS is used to resolve the IP address assigned to the client to the domain name.

  5. (dhcp-config)# dns-server 10.0.0.3

    Sets the IP address of the DNS server that the client can use.

  6. (dhcp-config)# exit

    Switches from DHCP configuration mode to global configuration mode.

  7. (config)# ip dhcp zone example.net. primary 10.0.0.3

    Sets a zone for the example.net. domain for forward DNS resolution, and specifies the DNS server defined in step 5 (10.0.0.3) as the dynamic DNS server.

  8. (config)# ip dhcp zone 11.1.10.in-addr.arpa. primary 10.0.0.3

    Sets a zone for the 11.1.10.in-addr.arpa. domain for reverse DNS resolution, and specifies the DNS server defined in step 5 (10.0.0.3) as the dynamic DNS server.

  9. (config)# ip dhcp dynamic-dns-update

    Enables dynamic DNS linkage.