Configuring a DNS Server to Perform Recursion

MephitisMephitis Banned Posts: 5 ■□□□□□□□□□
I have been using the MCSA Self-Paced Training Kit for my 70-291 preparation.

I have created two virtual machines "servertest" and "servertest2" using VMWare Workstation. "servertest" has two LAN connections. One has been configured as NAT (also can connect to the internet) and the other one as a Host-only. "servertest2" just has one connection configured as NAT. I've been performing the following from one of the lab exercises (have included the steps as mentioned in the exercise):

PS: "Computer1" has been named as "servertest" and "Computer2" as "servertest2" for my exercise.

In this practice, you configure a primary DNS suffix for Computer1 and Computer2 and then observe changes resulting from this procedure in the DNS console.
Exercise 1: Adding Suffix Names to Computers
In this exercise, you configure a primary DNS suffix for Computer1 and Computer2.
1. Log on to Computer1 as Administrator.
2. In Control Panel, open the System tool.
The System Properties dialog box opens.
3. Click the Computer Name tab.
4. Click the Change button.
The Computer Name Changes dialog box opens.
5. Click More.
The DNS Suffix And NetBIOS Computer Name dialog box opens.
6. In the Primary DNS Suffix Of This Computer text box, type domain1.local.
7. Click OK.
8. In the Computer Name Changes dialog box, click OK.
The Computer Name Changes message box appears, indicating that you need to
restart the computer for the changes to take effect.
9. Click OK.
10. In the System Properties dialog box, click OK.
The System Settings Change dialog box opens, which asks you whether you want
to restart your computer now.
11. Click Yes.
12. While Computer1 is restarting, perform this same procedure on Computer2,
assigning the primary DNS suffix of domain1.local, and then choosing to restart
the computer.


I was successfully able to complete this.

Practice 2: Configuring a DNS Server to Perform Recursion
In this practice, you configure the DNS server on Computer1 to answer recursive que-
ries for Internet-based DNS names from Computer2. You then initiate a recursive query
from Computer2 and monitor the results.
Because Computer2 is assigned a private address, it can communicate with the Internet
only by means of an address translation service such as Network Address Translation
(NAT) or ICS. As a result, the first step in this practice is to configure ICS on Computer1.
Exercise 1: Enabling ICS
In this exercise, you enable ICS on Computer1. This feature performs address transla-
tion for all computers on the network segment and enables them to communicate with
Internet hosts. ICS also provides addresses for DHCP clients on the local segment and
configures these clients to use the ICS computer as a DNS server. After ICS is enabled,
the DNS server on the ICS server performs recursion to answer the DNS queries from
local clients.
1. Log on to Computer1 as Administrator.
2. Open the Network Connections window.
3. If the MyISP connection is active in the Network Connections window, right-click
MyISP and select Disconnect.
4. After the dial-up connection has finished disconnecting, right-click MyISP and
select Properties.
The MyISP Properties dialog box opens.
5. Click the Advanced tab.
6. In the Internet Connection Sharing area, select the Allow Other Network Users To
Connect Through This Computer’s Internet Connection check box.
7. Click OK.
The Network Connections dialog box opens.
8. Read the text in the box, and then click Yes.
At this point, the local computer is assigned an IP address of 192.168.0.1. You
might temporarily lose network connectivity while these changes are being made.
9. Log on to Computer2 as Administrator.
10. Restart Computer2.

I get stuck after these steps:

Exercise 2: Performing Recursive Queries
In this exercise, you use Network Monitor to capture a DNS query from Computer2.
After Computer1 performs recursion to answer the query, you explore the capture and
verify that new entries corresponding to the query have been loaded into the DNS
Server cache.
1. Connect Computer1 to the Internet through the MyISP connection.
2. Log on to Computer2 as Administrator and open a command prompt.
3. At the command prompt, type ipconfig /all, and then press ENTER.
Because ICS has been enabled on the network, Computer2 now specifies
192.168.0.1, the address of Computer1, as its DNS server. Computer2 therefore
resolves DNS queries through Computer1.
4. At the command prompt, type ipconfig /flushdns, and then press ENTER.
The resolver cache clears, which forces Computer2 to contact a DNS server to
resolve all DNS names.
5. Switch to Computer1, open Network Monitor, and begin a Network Monitor
capture.
6. Switch back to Computer2, and then open Internet Explorer. If you receive a mes-
sage box informing you that an enhanced security configuration is currently
enabled, select the check box to prevent this message from appearing again, and
then click OK.
7. In the Address text box in Internet Explorer, type http://www.windowsupdate
.com, and then press ENTER.
The connection is successful.


When I enabled ICS on "servertest" on the adapter which was able to connect to the internet the second adapter did acquire a 192.168.0.1 address. However, the second machine "servertest2" still shows the DNS as the DNS for the first adapter on "servertest" - 192.168.56.2. I tried configuring the adapter on "servertest2" as host only but the DNS address acquired was not 192.168.0.1.

Where am I messing up?

Comments

  • MephitisMephitis Banned Posts: 5 ■□□□□□□□□□
    An update.

    I manually configured the adapter on "servertest2".

    Default Gateway: 192.168.0.1
    Preferred DNS: 192.168.0.1

    Able to trace the recursive query with Network Monitor on "servertest" now. Seems there are a few steps missing in the section "Practice 2: Configuring a DNS Server to Perform Recursion" (Between step 9-10).

    9. Log on to Computer2 as Administrator.
    10. Restart Computer2.


    Not sure though. Thought I'd just manually configure and give it a try.

    Please let me know if I'm doing it right.
Sign In or Register to comment.