<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Computer Support &#187; DHCP server</title>
	<atom:link href="http://www.xiitec.com/blog/tag/dhcp-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xiitec.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 30 Dec 2009 08:40:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running DHCP Server on a Domain Controller</title>
		<link>http://www.xiitec.com/blog/2008/02/22/running-dhcp-server-on-a-domain-controller/</link>
		<comments>http://www.xiitec.com/blog/2008/02/22/running-dhcp-server-on-a-domain-controller/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 20:45:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DHCP server]]></category>
		<category><![CDATA[domain controller]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=175</guid>
		<description><![CDATA[By default, the DHCP Server runs under the credentials of the computer account that is hosting it. If it happens to be running on a domain controller, it runs under the domain controller&#8217;s computer account. A domain controller has full permissions over any Active Directory-integrated zones it replicates. The result of the DHCP Server running [...]]]></description>
			<content:encoded><![CDATA[<p>By default, the DHCP Server runs under the credentials of the computer account that is hosting it. If it happens to be running on a domain controller, it runs under the domain controller&#8217;s computer account. A domain controller has full permissions over any Active Directory-integrated zones it replicates. The result of the DHCP Server running on a domain controller means that if the DHCP Server has been configured to dynamically register DNS records on behalf of clients, it can potentially update any record stored in an Active Directory-integrated zone. Ultimately, that leaves the zones vulnerable to name hijacking, whereby a client can cause records to be overwritten that shouldn&#8217;t be. This can cause all sorts of havoc if an attacker starts replacing important records in your zones.</p>
<p><span id="more-175"></span></p>
<p>Microsoft recommends that you avoid this completely by not running the DHCP Server on a domain controller. But as of Windows 2000 Service Pack 1, you can work around this issue by configuring the DHCP Server to use alternate credentials when making dynamic updates. The account doesn&#8217;t need any special permissions in order to dynamically update records. After you&#8217;ve configured alternate credentials, check the event log for any errors pertaining to logon issues (perhaps the username or password are incorrect) or dynamic update errors.</p>
<p>If you back up a DHCP Server&#8217;s configuration using NTBackup, DNS credentials are not backed up. This is done intentionally to prevent someone from hijacking names by restoring a DHCP Server from backup. You must manually restore the DNS credentials if you have to restore a DHCP Server.</p>
<p><strong> Using a graphical user interface</strong></p>
<ol>
<li> Open the DHCP snap-in.</li>
<li>In the left pane, right-click on DHCP and select Add Server.</li>
<li>Type in the name of the DHCP Server you want to target and click OK.</li>
<li>Right-click the server and select Properties.</li>
<li>Click the Advanced tab.</li>
<li>Click the Credentials button.</li>
<li>Enter the username, domain, and password for the account you want to use.</li>
<li>Click OK until all dialog windows are closed.</li>
</ol>
<p><strong>Using a command-line interface</strong></p>
<p>Use the following command to display the current DNS credentials used by the DHCP Server:</p>
<pre>&gt; netsh dhcp server show dnscredentials</pre>
<p>Use the following command to configure new DNS credentials on the DHCP Server:</p>
<pre>&gt; netsh dhcp server set dnscredentials <username> <domain>
<password> </password></domain></username></pre>
<p>Use the following command to remove the DNS credentials used by the DHCP Server:</p>
<pre>&gt; netsh dhcp server delete dnscredentials dhcpfullforce</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/22/running-dhcp-server-on-a-domain-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

