Configure DNS Clients through DHCP
Before DHCP can assign DNS server IP addresses to clients, you have to assign the DNS servers IP addresses to the DHCP scopes.
To enable DHCP and DNS integration
Open the DHCP console.
Right-click the DHCP server, and then select Properties from the shortcut menu.
When the Server Properties dialog box opens, click the DNS tab.
Ensure that the Enable DNS Dynamic Updates According To The Settings Below checkbox is selected
Select the Dynamically Update DNS A And PTR Records Only If Requested By The DHCP Clients option.
Select the Discard A And PTR Records When Lease Is Deleted checkbox.
Click OK.
To create a DHCP scope
Click Start, All Programs, Administrative Tools and then click DHCP to open the DHCP console.
In the console tree, expand the DHCP server node.
Select the DHCP server.
Click the Action menu, and then select New Scope.
The New Scope Wizard starts.
Click Next on the initial page of the New Scope Wizard.
On the Scope Name page, enter a name for the new scope in the Name text box.
Enter a description in the Description text box. Click Next.
On the IP Address Range page, enter the start IP address and end IP address that defines the range of new scope in the Start IP Address text box, and End IP Address text box respectively.
Enter the subnet mask in the Subnet Mask text box.
Select the value in the Length spin box. The subnet length mask is automatically defined as 24. Click Next.
On the Add Exclusions page, using the Start IP Address and End IP Address text boxes, define any exclusions. Click Add. Click Next.
On the Lease Duration page, you can change the default lease duration of 8 days. Use the Days, Hours and Minutes boxes to define the lease duration. Click Next.
On Configure DHCP Options page, click the Yes, I Want To Configure These Options Now option and then click Next.
On the Router (Default Gateway) page, enter the IP address of the default gateway (router) that connects the subnet to the network. Click Add. Click Next.
On the Domain Name And DNS Servers page, enter the default parent domain name that clients will be using to locate network hosts, in the Parent Domain box.
Enter the name of the DNS server that you want clients to use for name to IP address resolution in the lower portion of the Domain Name And DNS Servers page. Click Add ad then click Next.
On the WINS Server page, if applicable, enter the IP address of the WINS server. Click Add and then click Next.
On the Activate Scope page, click the Yes, I want to activate this scope now option. Click Next.
On the Completing The New Scope Wizard page, click Next.
To assign the DNS servers IP addresses to the DHCP scopes
Click Start, Administrative Tools and then click DHCP to open the DHCP console.
In the console tree, expand the DHCP server node.
Expand the DHCP scope that you want to work with.
Select the Scope Options folder, and right-click and choose Configure Options from the shortcut menu.
The Scope Options dialog box opens.
On the General tab, in the Available Options list, select the checkbox alongside the 006 DNS Servers option.
Use the IP address box and associated Add button to insert all the appropriate DNS server IP addresses.
Back in the Available Options list, select the checkbox alongside the 015 DNS Domain Name option.
Use the String Value text box to specify the primary DNS domain name suffix.
Click OK.
