<?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>Sun Solaris System Admin &#187; nameserver</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/nameserver/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 16 Jun 2010 21:07:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<image>
<link>http://www.sunsolarisadmin.com</link>
<url>http://www.sunsolarisadmin.com/wp-content/mbp-favicon/favicon.ico</url>
<title>Sun Solaris System Admin</title>
</image>
		<item>
		<title>How to Add or Edit DNS servers in Sun Solaris</title>
		<link>http://www.sunsolarisadmin.com/dns/how-to-add-or-edit-dns-servers-in-sun-solaris/</link>
		<comments>http://www.sunsolarisadmin.com/dns/how-to-add-or-edit-dns-servers-in-sun-solaris/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 19:50:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[nameserver]]></category>
		<category><![CDATA[resolver]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/dns/how-to-add-or-edit-dns-servers-in-sun-solaris/</guid>
		<description><![CDATA[Domain Name Service (DNS) is a system which translates the meaningful Hostnames and Domain Names into valid IP Addresses. A DNS Client or a Resolver is a host or a network device which queries the DNS servers for various resource records like the IP Address for a host like a Mail Server. If you configure [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>Domain Name Service (DNS) is a system which translates the meaningful Hostnames and Domain Names into valid IP Addresses. A DNS Client or a Resolver is a host or a network device which queries the DNS servers for various resource records like the IP Address for a host like a Mail Server.</p>
<p><span id="more-36"></span></p>
<p>If you configure your Solaris Server as a DNS client then you need to add the DNS servers which the resolver on the server query for various DNS records in the file</p>
<p><strong>/etc/resolv.conf</strong></p>
<p>The following is an example of a sample <em>/etc/resolv.conf</em></p>
<p><strong>$ cat /etc/resolv.conf</strong></p>
<p><font color="#339900">domain example.com<br />
nameserver 10.10.10.1<br />
nameserver 10.10.10.2<br />
nameserver 10.10.10.3</font></p>
<p><font color="#339900">search example.com example.co.uk example.net</font></p>
<p>where</p>
<p><strong>domain</strong> &#8211; specifies the local domain. A search for a host in the domain can simply be done with the hostname without the Domain suffix.</p>
<p><strong>nameserver</strong> &#8211; specifies the IP Address to it as a DNS server. There can be more than one DNS server specified by the nameserver keyword (one per line) listed in the file.</p>
<p><strong>search</strong> &#8211; specifies a list of local domains to search for the hosts. This process is slow and generates a lot of traffic.</p>
<p>This is the most commonly found configuration on DNS clients or Resolvers. More advanced configurations include</p>
<p><strong>sortlist</strong> &#8211; Sort the IP Addresses returned to the resolver<br />
<strong>options</strong> -  Allows additional configurations to modify resolver variables.</p>
<p>For a detailed man page, <a href="http://docs.sun.com/app/docs/doc/816-1058/6m7gjuj5k?a=view" target="_blank" title="Sun Solaris /etc/resolv.conf Man page">click here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/dns/how-to-add-or-edit-dns-servers-in-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Flush DNS Cache in Sun Solaris</title>
		<link>http://www.sunsolarisadmin.com/dns/how-to-flush-dns-cache-in-sun-solaris/</link>
		<comments>http://www.sunsolarisadmin.com/dns/how-to-flush-dns-cache-in-sun-solaris/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 23:21:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[nameserver]]></category>
		<category><![CDATA[nscd]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/dns/how-to-flush-dns-cache-in-sun-solaris/</guid>
		<description><![CDATA[It may be sometime required to flush your DNS Cache mostly when trying to troubleshoot a problem with your name service or when there was an invalid DNS entry after a server outage. The possible solution to clear these cached invalid entries or to wait till the record expires based on its TTL (Time To Live) [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->It may be sometime required to flush your DNS Cache mostly when trying to troubleshoot a problem with your name service or when there was an invalid DNS entry after a server outage. The possible solution to clear these cached invalid entries or to wait till the record expires based on its TTL (Time To Live)</p>
<p><span id="more-13"></span></p>
<p>The NSCD daemon in Solaris and ofcourse in UNIX and most of the Linux falvors maintains the system cache including the DNS/Name service cache.</p>
<p>All it needs is to restart the nscd aemon to flush the DNS cache.</p>
<p>Do a</p>
<blockquote><p><strong># ps -ef|grep nscd</strong></p></blockquote>
<p>This will find the PID for the NSCD daemon.</p>
<p>Now, do a</p>
<blockquote><p><strong>#pkill &lt;PID&gt;</strong></p></blockquote>
<p><strong>#kill &lt;PID&gt;</strong></p>
<p>Now, check if the nscd process is killed by using</p>
<blockquote><p><strong># ps -ef|grep nscd</strong></p></blockquote>
<p>Now, start the nscd daemon by using</p>
<blockquote><p><strong>#/usr/sbin/nscd</strong></p></blockquote>
<p> This should start the nscd daemon and there you go, you have flushed the DNS Cache in your Solaris Server.</p>
<p><a target="_blank" href="http://www.cs.biu.ac.il/cgi-bin/man?nscd+1M" title="Man for NSCD in Sun Solaris"><font color="#808080">Click here for the man page for NSCD in Solaris</font></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/dns/how-to-flush-dns-cache-in-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
