• No results found

Configuring the Child Server Otherhost

Chapter 5. Growing Your Domain: Creating Subdomains

5.5 Method 2: Adding a Subdomain and Delegating Authority

5.5.5 Configuring the Child Server Otherhost

We are still configuring our name servers for Method 2. In the last few sections, all the configuration took place on the parent server AS1. We are finished configuring Method 2 on AS1 but we still need to configure the child server,

OTHERHOST, to be authoritative for the OTHERDOMAIN.mycompany.com domain.

The steps to do this are similar to the configuration steps completed in Method 1 of this chapter except that these steps are performed on the child server

OTHERHOST instead of the AS1’s name server as we did in Method 1.

If DNS has never been configured on OTHERHOST, the DNS configuration wizard starts.

Perform the following steps on OTHERHOST, the child name server. We are assuming a DNS configuration does not exist on this AS/400 system yet. 1. Open Operations Navigator and double-click on

3. Click + next to Servers. 4. Click + next to OS400.

5. Double-click DNS under the Server Name column.

6. The DNS server configuration wizard starts the first time you enter DNS server configuration. Click Next.

7. Click Next to bypass the Root Server window. We are configuring a root server on this child name server but we do this later in this chapter. For now, bypass the root server window.

8. Enter the name of the primary domain we are configuring:

OTHERDOMAIN.mycompany.com.

9. Click Next.

10.The next window gives you an opportunity to add IP address and host names. We need to configure only the local host for the loopback address of 127.0.0.1 with the wizard. Click Add.

11.Enter localhost as the host name. (We really want you to type the word

localhost here; do not type the TCP/IP host name of the AS/400 system you

are configuring on.)

12.Enter 127.0.0.1 as the IP address. 13.Click OK.

14.Click Finish.

Add the remaining IP addresses and host names outside of the Wizard DNS server configuration.

15. The DNS server configuration with wizard is complete. Continue with Step 16.

Note: If this is not the first time you are configuring DNS with Operations

Navigator, the DNS server configuration wizard is not shown. In this case, use the following unnumbered steps and then proceed with Step 16. Use

Operations Navigator to go into the OTHERHOST’s DNS server configuration. • Right click on the Primary Domain under DNS

server-OTHERHOST.mycompany.com. • Click New Primary Domain.

• In the window that follows, ensure that the Domain field

is:OTHERDOMAIN.mycompany.com. Assuming that this AS/400 system is

configured with that domain name (you can check with the AS/400 CFGTCP command, press Enter, take Option 12, and check the Domain name listed). This should be the default domain in this window. If it is not, type in OTHERDOMAIN.mycompany.com for the Domain Name.

• In the same window, check the box Create and delete reverse mappings by

default to enable this option.

• Click OK.

• Right click OTHERDOMAIN.mycompany.com. • Click New Host.

• Click Add.

• Enter the host name localhost. (We really want you to type in the word

localhost here.)

• Enter the IP address 127.0.0.1. • Click on OK.

18.Ensure that Create and Delete reverse mappings by default is enabled.

19.Click OK.

20.Right click the OTHERDOMAIN.mycompany.com primary domain file. 21.Click Enable.

The following steps add the new hosts (A records) to the

OTHERDOMAIN.mycompany.com primary domain file:

22.Right click on the OTHERDOMAIN.mycompany.com primary domain file.

23.Click New Host. 24.Click Add.

25.Enter the host name otherhost.otherdomain.mycompany.com. (do not forget the trailing period after com).

26.On the same window, enter the IP address: 10.1.1.2. See Figure 101.

Figure 101. Adding OTHERHOST Host to the OTHERDOMAIN Primary Domain File on Child Server

27.Click OK. 28.Click OK.

Notice that the 1.1.10.in-addr.arpa primary domain file is automatically created. At this point, it contains one PTR record for the OTHERHOST host. By the time we finish with these steps, this file will also contain the PTR records for OTHERSERVER

host and OTHERPRINTER host.

29.Repeat steps 22 through 28 to add New Host OTHERPRINTER with an IP address of 10.1.1.9.

30.Repeat steps 22 through 28 again to add New Host OTHERSERVER with an IP address of 10.1.1.7.

31.Right click on the 1.1.10.in-addr.arpa primary domain file. 32.Select Enable to enable the 1.1.10.in-addr.arpa file.

33.Double-click OTHERHOST.OTHERDOMAIN.mycompany.com file. The contents of this file is displayed in the right window.

34.Right click host OTHERSERVER. 35.Select Properties.

36.Click Add.

37.Enter OTHERSERVER’s second IP address: 10.5.69.207. See Figure 83 on page 89 if you need to refresh your memory on the network diagram and the IP

38.Right click 69.5.10.in-addr.arpa file on the child server OTHERHOST. 39.Click Delete.

40.Click Yes to confirm the Delete.

The OTHERDOMAIN.mycompany.com primary domain should look similar to

Figure 102.

41.We need to perform one more configuration step on the child server,

OTHERHOST, in the next section so do not close the DNS window to save the

configuration just yet.

Figure 102. OTHERDOMAIN.mycompany.com Primary Domain on the Child Server OTHERHOST

We almost finished the child server configuration. The next section explains how to configure the child server to resolve queries for domains above itself in the DNS name space tree: the root server configuration.