Example: Domain Name System and Dynamic Host Configuration Protocol on the same iSeries server

This example depicts Domain Name System (DNS) and Dynamic Host Configuration Protocol (DHCP) on the same server.

The configuration can be used to update DNS zone data dynamically when DHCP assigns IP addresses to hosts.

The following figure depicts a small subnet network with one iSeries™ server acting as a DHCP and DNS server to four clients. In this work environment, suppose that the inventory, data entry, and executive clients create documents with graphics from the graphics file server. They connect to the graphics file server by a network drive to its host name.

Figure 1. DNS and DHCP on the same iSeries server
DNS and DHCP on the same iSeries server.

Previous versions of DHCP and DNS were independent of each other. If DHCP assigned a new IP address to a client, the DNS records had to be manually updated by the administrator. In this example, if the graphics file server's IP address changes because it is assigned by DHCP, then its dependent clients will be unable to map a network drive to its host name because the DNS records will contain the file server's previous IP address.

With the OS/400® V5R1 DNS server based on BIND 8, you can configure your DNS zone to accept dynamic updates to DNS records in conjunction with intermittent address changes through DHCP. For example, when the graphics file server renews its lease and is assigned an IP address of 10.1.1.250 by the DHCP server, the associated DNS records will be updated dynamically. This allows the other clients to query the DNS server for the graphics file server by its host name without interruption.

To configure a DNS zone to accept dynamic updates, complete the following tasks:

If you run DNS and DHCP on different servers, there are some additional configuration requirements for the DHCP server.

Related concepts
Dynamic updates
Determine domain structure
Related tasks
Configuring DHCP to send dynamic updates
Related reference
Example: DNS and DHCP on different iSeries servers