For those companies upgrading to Windows Server 2008, it is very important to understand how DHCP and DNS work together to power Windows Server 2008. Steven Warren shows you how to configure DHCP to dynamically collaborate with DNS and WINS.
For those companies considering an upgrade to Microsoft Windows Server 2008, it is very important to understand how DHCP and DNS work together to power Windows Server 2008. In this post, you will learn how to configure DHCP to dynamically collaborate with DNS and WINS in Windows Server 2008.
Under Windows NT, DNS was static and had to be manually altered to make changes. With the advent of Windows 2000, many administrators were elated to hear that it contained a new feature called Dynamic DNS (DDNS). Basically, DDNS, in conjunction with DHCP and Active Directory, can provide secure dynamic updates for your A and PTR records in DNS.
For example, a client machine receives an IP address from DHCP and then DHCP automatically (as long as it is configured to support DDNS) passes along the host information for that machine to the DNS service. This feature alone can save an administrator a lot of valuable time.
Configuring DHCP for dynamic updatesAs you can see by the Properties sheet shown in Figure A, you have a number of options to consider when configuring DHCP for dynamic updates.
Scope Properties window
To access this menu and configure DHCP for dynamic updates:
- Click Start | Administrative Tools and select DHCP
- Right-click on the DHCP scope you want to configure and click Properties
- Click the DNS tab
- Configure your settings
- Click OK
To configure DDNS:
- Click Start | Administrative Tools and select DNS
- Right-click on the zone you want to configure and select Properties
- In the General tab, choose Yes or No to Allow Dynamic Updates. If AD is installed, you will have an additional option of Secure only
- Click OK to close the Properties screen
Secure Dynamic Updates
Changing the zone type
If you select Active Directory-Integrated, you can choose Secure only from the Dynamic Updates drop-down list. If AD is not running, your choice is simply Yes or No to allow dynamic updates.
Configuring WINS and WINS-RNow we can spice things up a little more by introducing WINS and WINS-R into the mix. For the uninitiated, WINS resolves computer names to IP addresses (similar to DNS), and WINS-R provides reverse DNS lookups. In addition to configuring DDNS, you can configure your DNS server to use WINS for name resolution. To perform this function, open the DNS console, right-click on your forward lookup zone, and select Properties (Figure D).
Adding the WINS IP AddressChoose the WINS tab and enter the IP address of your WINS server. To configure WINS-R, follow the same steps but right-click and choose Properties on the reverse lookup zone (Figure E).
Adding the WINS-R IP address
You now know how to properly configure DDNS to dynamically update your DNS records and how dynamic updates will save you from maintaining static mappings. You've also learned how WINS can be integrated into this equation and how DHCP and DNS collaborate to make Windows more dynamic and easier to administer.