6.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 6-3: Connectivity structure for dynamic DNS linkage
Command examples
-
(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.
-
(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.
-
(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
[6.2.2 Configure IP addressing in the same way as "Configure IP Distribution for Clients."
-
(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.
-
(dhcp-config)# dns-server 10.0.0.3
Sets the IP address of the DNS server that the client can use.
-
(dhcp-config)# exit
Switches from DHCP configuration mode to global configuration mode.
-
(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.
-
(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.
-
(config)# ip dhcp dynamic-dns-update
Enables dynamic DNS linkage.