<?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>Extempore &#187; dns service</title>
	<atom:link href="http://michaelhendrickx.com/tag/dns-service/feed" rel="self" type="application/rss+xml" />
	<link>http://michaelhendrickx.com</link>
	<description>random ramblings of the disturbed mind</description>
	<lastBuildDate>Tue, 20 Jul 2010 05:39:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Keeping windows services&#8217; running, ghetto style</title>
		<link>http://michaelhendrickx.com/200902_keeping-windows-services-running-ghetto-style.html</link>
		<comments>http://michaelhendrickx.com/200902_keeping-windows-services-running-ghetto-style.html#comments</comments>
		<pubDate>Tue, 24 Feb 2009 14:05:06 +0000</pubDate>
		<dc:creator>Michael Hendrickx</dc:creator>
				<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[batch file]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dns service]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[win2003]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://michaelhendrickx.com/?p=132</guid>
		<description><![CDATA[A small post, but so I can have it as a reference if I ever encouter it again.  We&#8217;ve setup a Windows 2003 Domain, and run DNS on both the Domain Controllers.  We have terrible issues with DNS always shutting down, and disabling itself, so it won&#8217;t boot up again.
While we are breaking [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://michaelhendrickx.com/wp-content/uploads/2009/02/restart.jpg"><img src="http://michaelhendrickx.com/wp-content/uploads/2009/02/restart.jpg" alt="" title="restart" width="268" height="300" class="alignright size-medium wp-image-133" /></a>A small post, but so I can have it as a reference if I ever encouter it again.  We&#8217;ve setup a Windows 2003 Domain, and run DNS on both the Domain Controllers.  We have terrible issues with DNS always shutting down, and disabling itself, so it won&#8217;t boot up again.</p>
<p>While we are breaking our heads on how this happens, we made a small two-liner script to enable a Windows service over the command line.  We&#8217;ve put this in the recovery tab, and scheduled it as a task to run every hour.</p>
<p>The code to enable the DNS service, and to restart the service is below:</p>
<p><code><br />
sc config DNS start= auto<br />
net start dns<br />
</code></p>
<p>I know it&#8217;s very ghetto way of keeping DNS running, but we&#8217;re figuring out why DNS always shuts down.  Until then, this provides us necesarry DNS uptime <img src='http://michaelhendrickx.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thanks,<br />
Michael</p>
]]></content:encoded>
			<wfw:commentRss>http://michaelhendrickx.com/200902_keeping-windows-services-running-ghetto-style.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
