<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Getting Started</title><link>http://forums.asp.net/15.aspx</link><description>The perfect forum for ASP.NET novices. No question too simple! &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=21&amp;amp;c=17" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: c# dns lookup from code?</title><link>http://forums.asp.net/thread/2733426.aspx</link><pubDate>Sat, 08 Nov 2008 22:03:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2733426</guid><dc:creator>matrixIII</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2733426.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2733426</wfw:commentRss><description>&lt;p&gt;For anyone who is interested&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="coloredcode"&gt;                &lt;span class="kwd"&gt;try&lt;/span&gt;
		{
		LblHostName.Text = &lt;span class="st"&gt;&amp;quot;&amp;quot;&lt;/span&gt;;
		IPAddress myIP = IPAddress.Parse(TxtInput.Text);

		IPHostEntry GetIPHost = Dns.GetHostByAddress(myIP);
		
		LblHostName.Text = &lt;span class="st"&gt;&amp;quot;Host Name is: &amp;quot;&lt;/span&gt; + GetIPHost.HostName;	
		
		}
		&lt;span class="kwd"&gt;catch&lt;/span&gt;(Exception ex)
		{
			LblHostName.Text = &lt;span class="st"&gt;&amp;quot;&amp;amp;lt;font color=red&amp;gt;Error:&amp;quot;&lt;/span&gt; + ex.Message;
		}
&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Source: &lt;a href="http://www.aspalliance.com/cookbook/ViewChapter.aspx?Chapter=21"&gt;http://www.aspalliance.com/cookbook/ViewChapter.aspx?Chapter=21&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: c# dns lookup from code?</title><link>http://forums.asp.net/thread/2713158.aspx</link><pubDate>Wed, 29 Oct 2008 19:48:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2713158</guid><dc:creator>matrixIII</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2713158.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2713158</wfw:commentRss><description>&lt;p&gt;Anyone?&lt;/p&gt;</description></item><item><title>c# dns lookup from code?</title><link>http://forums.asp.net/thread/2711005.aspx</link><pubDate>Tue, 28 Oct 2008 20:31:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2711005</guid><dc:creator>matrixIII</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2711005.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2711005</wfw:commentRss><description>&lt;p&gt;Is there a way to do a DNS Lookup to get the DNS name given an ipaddress pragmatically, using the default dns server configured on the IIS server?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t want to enable server level DNS lookup at this time. I think this would consume unnecessary time and resources since, I have to do the reverse dns for only a few ip&amp;#39;s based on some condition in the c# code.&lt;/p&gt;
&lt;p&gt;Windows Server 2003 IIS 6&lt;br /&gt;.NET 2.0&lt;br /&gt;C#&lt;/p&gt;</description></item></channel></rss>