<?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>Chris Jean&#039;s Blog &#187; DNS</title>
	<atom:link href="http://gaarai.com/tag/dns/feed/" rel="self" type="application/rss+xml" />
	<link>http://gaarai.com</link>
	<description>Linux, WordPress, programming, anime, and other stuff</description>
	<lastBuildDate>Fri, 29 Jan 2010 18:21:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DNS Yogi: A True Alternative to DNSStuff</title>
		<link>http://gaarai.com/2009/01/28/dns-yogi-a-true-alternative-to-dnsstuff/</link>
		<comments>http://gaarai.com/2009/01/28/dns-yogi-a-true-alternative-to-dnsstuff/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 17:56:38 +0000</pubDate>
		<dc:creator>gaarai</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Random Ramblings]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[DNS Yogi]]></category>

		<guid isPermaLink="false">http://gaarai.com/?p=788</guid>
		<description><![CDATA[
A while back, I posted about how I wanted to find an alternative to DNS Stuff. Since then, I haven&#8217;t found much to get excited about. In addition, I continue to get search traffic where people use terms like &#8220;free dnsstuff&#8221;, &#8220;dnsstuff alternative&#8221;, or &#8220;dnsstuff coupon code&#8221;. So, it seems that I&#8217;m not the only [...]]]></description>
			<content:encoded><![CDATA[<!-- filtered -->
<p>A while back, I posted about how I wanted to <a href="http://gaarai.com/2008/10/21/no-longer-a-dnsstuff-fan/" target="_blank">find an alternative to DNS Stuff</a>. Since then, I haven&#8217;t found much to get excited about. In addition, I continue to get search traffic where people use terms like &#8220;free dnsstuff&#8221;, &#8220;dnsstuff alternative&#8221;, or &#8220;dnsstuff coupon code&#8221;. So, it seems that I&#8217;m not the only one that wants a real alternative to DNS Stuff.</p>
<p>Introducing <a href="http://dnsyogi.com/" target="_blank">DNS Yogi</a>. My goal is to provide a set of tools that can compete with the quality of DNS Stuff while remaining free. Here is what I plan to launch the site with:</p>

<ul>
<li>record lookups (complete with tracking each step in the lookup chain and verifying consistent results)</li>
<li>whois (both domain and IP)</li>
<li>whohosts (a quick way of seeing where a site is hosted)</li>
<li>reverse DNS (IP to hostname)</li>
<li>spam database lookup</li>
<li>ping</li>
<li>abuse contact for domain</li>
</ul>
<p>There are many other tools that I&#8217;m considering. Here are some of the other tool ideas that I&#8217;m thinking about launching with:</p>
<ul>
<li>traceroute</li>
<li>show HTTP headers (both for person visiting site and for specific URL requests)</li>
<li>geo location of IP</li>
<li>DNS analysis to help you find and correct problems</li>
</ul>
<p>One of the main focuses of my design is making it extremely easy to do lookups quickly and easily. This means that it will be easy to run queries by directly typing in a URL location and that doing lookups via Firefox&#8217;s keyword bookmarks will be extremely easy. For example, you can easily set up a bookmark so that you can simply type in &#8220;whois gaarai.com&#8221; to quickly pull up DNS Yogi and show the whois details of my domain. I&#8217;ll detail how to do this on the DNS Yogi site once it goes live.</p>
<p>It might interest some of you that I am building DNS Yogi completely from WordPress. That&#8217;s right, yet again, I&#8217;m using WordPress as a <a href="http://gaarai.com/2009/01/26/wordpress-as-a-web-application-framework/" target="_blank">web application framework</a>. This will be a great test of how flexible the WordPress system truly is.</p>
<p>Please check out the <a href="http://dnsyogi.com/" target="_blank">DNS Yogi</a> site and let me know what you think. I want this to be a fantastic tool for everyone to use, so getting quality feedback on what people want and need is crucial.</p>
]]></content:encoded>
			<wfw:commentRss>http://gaarai.com/2009/01/28/dns-yogi-a-true-alternative-to-dnsstuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessing Your Home Network Away From Home</title>
		<link>http://gaarai.com/2009/01/18/accessing-your-home-network-away-from-home/</link>
		<comments>http://gaarai.com/2009/01/18/accessing-your-home-network-away-from-home/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 20:42:48 +0000</pubDate>
		<dc:creator>gaarai</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips 'n Tricks]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Dynamic DNS]]></category>
		<category><![CDATA[DynDNS]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://gaarai.com/?p=636</guid>
		<description><![CDATA[
I wanted to be able to access my home network from outside the home. My internet connection has a dynamic IP. This means that my home&#8217;s IP address on the web can change at any time. So the question is how do you connect to something that is constantly changing location?
The answer is easy, use [...]]]></description>
			<content:encoded><![CDATA[<!-- filtered -->
<p>I wanted to be able to access my home network from outside the home. My internet connection has a <a href="http://en.wikipedia.org/wiki/IP_address#Static_and_dynamic_IP_addresses" target="_blank">dynamic IP</a>. This means that my home&#8217;s IP address on the web can change at any time. So the question is how do you connect to something that is constantly changing location?</p>
<p>The answer is easy, use a <a href="http://en.wikipedia.org/wiki/Dynamic_DNS" target="_blank">Dynamic DNS</a> service. There are a variety of these services: <a href="http://www.no-ip.com/" target="_blank">No-IP</a>, <a href="http://www.dyndns.com/" target="_blank">DynDNS</a>, <a href="http://www.zoneedit.com/" target="_blank">zoneedit</a>, <a href="http://freedns.afraid.org/" target="_blank">FreeDNS</a>, etc. Each of these sites that I&#8217;ve listed offers free Dynamic DNS service.</p>
<p>So what is Dynamic DNS? It would probably be best to first define what DNS is and then what makes Dynamic DNS different.</p>

<p><a href="http://en.wikipedia.org/wiki/Domain_Name_System" target="_blank">DNS</a> means Domain Name System. It is a way of turning a domain, such as gaarai.com, into an IP address that can be found on the internet.</p>
<p>In other words, without DNS, the domain name gaarai.com is meaningless. However with DNS, gaarai.com actually means 74.53.81.82, the current IP address for the server that hosts this site. It is actually this IP and not the domain name that your browser will connect to in order to get the website content.</p>
<p>This sounds good, but what does all this have to do with Dynamic DNS? Dynamic DNS is essentially the same as regular DNS except that it has an added feature. These services allow a computer from inside a home or office network to send a message to their servers and update the IP when the IP changes.</p>
<p>How does this work? It&#8217;s really simple and brilliant really. A program runs on one of the computers inside the network. Every so often, such as every minute to hour depending on setup, the program checks to see what IP the internet connection has. If the IP has changed since the last check, it tells the Dynamic DNS service to update the DNS record to point to the new IP address. And voila! You can now access your network.</p>
<p>For the rest of this post, I will be talking about DynDNS. Not that they are any better than the others, but it is who I chose to work with, thus who I have experience with.</p>
<p>I set up an account at <a href="http://www.dyndns.com/" target="_blank">DynDNS.com</a>, logged in, clicked &#8220;Add Host Services&#8221;, selected a hostname (for example: myhomenetwork.selfip.com), clicked the &#8220;Use auto detected IP&#8221; link, and then clicked &#8220;Create Host&#8221;. This took less than five minutes to do and resulted in my very own address that I can use to access my home network. However, I still need to install the software or else my new hostname won&#8217;t update when my IP changes.</p>
<p>There are many, many different software packages that can be used to set up the Dynamic DNS service callback on one of your systems. I tried a number of them and found that ddclient was the easiest one to set up and basically requires no maintenance as it automatically starts up each time the computer is started.</p>
<p>I installed ddclient on my home Ubuntu system (Lumière), and installation could not be more simple. I simply loaded up a terminal and ran the following two commands:</p>
<div style="padding-left:20px;"><code>sudo apt-get install ssh libio-socket-ssl-perl<br />
sudo apt-get install ddclient</code></div>
<p>After I pressed &#8220;y&#8221; to accept the new installation, I was promptly greeted by a wizard of sorts that helped me quickly configure the software. The developer did a terrific job of making this process extremely easy with one exception.</p>
<p>When I looked through the configuration file options, I found that a default configuration option will make this fail for most people. This option causes the software to look at the computer&#8217;s IP rather than the network&#8217;s internet IP. This means that the update process will not produce the desired result.</p>
<p>Furthermore, by default, the details are sent unencrypted. I&#8217;d rather use an SSL channel so that people don&#8217;t sniff my username and password details. There are also some other options that I&#8217;d like to configure, so let&#8217;s get started.</p>
<p>First, open the configuration file.</p>
<div style="padding-left:20px;"><code>sudo vi /etc/ddclient.conf</code></div>
<p>Here is what my conf file contained after the install:</p>
<div style="padding-left:20px;"><code># Configuration file for ddclient generated by debconf<br />
#<br />
# /etc/ddclient.conf</code><code>pid=/var/run/ddclient.pid<br />
protocol=dyndns2<br />
<strong>use=if, if=eth0</strong><br />
server=members.dyndns.org<br />
login=USERNAME<br />
password='PASSWORD'<br />
HOSTNAME</code></div>
<p>My changed conf file looks like the following</p>
<div style="padding-left:20px;"><code># Configuration file for ddclient generated by debconf<br />
#<br />
# /etc/ddclient.conf</code><code>pid=/var/run/ddclient.pid<br />
protocol=dyndns2<br />
<strong>use=web, web=checkip.dyndns.com/, web-skip='IP Address'<br />
ssl=yes<br />
daemon=300<br />
syslog=yes</strong><br />
server=members.dyndns.org<br />
login=USERNAME<br />
password='PASSWORD'<br />
HOSTNAME</code></div>
<p>My changes are marked in bold.</p>
<ul>
<li>The line starting with &#8220;<code>use=web</code>&#8221; tells ddclient to ask CheckIP by DynDNS what my network&#8217;s IP is.</li>
<li>&#8220;<code>ssl=yes</code>&#8221; has ddclient use a secure connection to send updates to DynDNS.</li>
<li>&#8220;<code>daemon=300</code>&#8221; tells ddclient how often to update in seconds. 300 seconds is 5 minutes. This is the default setting, but I put it here so you&#8217;d know how to easily change it.</li>
<li>&#8220;<code>syslog=yes</code>&#8221; tells ddclient to log update results (note that it only logs when something has changed, not just each time it runs) to /var/log/syslog. Having this log not only helps keep track of how well the software is working, but can also be used to tell how often the IP changes, which I find interesting.</li>
</ul>
<p>After making the change to the configuration file, ddclient needs to be restarted so that the changes take effect.</p>
<div style="padding-left:20px;"><code>sudo service ddclient restart</code></div>
<p>After I ran this, I checked my /var/log/syslog file and found the following:</p>
<div style="padding-left:20px;"><code>ddclient[18479]: SUCCESS:  updating HOSTNAME: good: IP address set to IPADDRESS</code></div>
<p>Some of you may wonder what the value of this is. Some possible applications are:</p>
<ul>
<li>Connecting to one or more machines via SSH. This allows you to have complete access to your machine via the command line. It also allows you to have full access to your files on that system and to shared network resources.</li>
<li>If you are running an email server out of your home/office, Dynamic DNS not only allows email to be properly routed to the mail server but also allows you to connect to it from outside.</li>
<li>You can also now run a web server on your network and be able to access the content while away.</li>
<li>There are many other reasons why people would want to take advantage of this service. It all depends on who you are and what you use your systems for.</li>
</ul>
<p>I intend to create a tutorial or two talking about how to set all of this up since it requires changing router configuration, firewall setup on your system, and adding services to your system that you may not currently have. If there is a specific application that you&#8217;d like me to focus on first, please let me know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://gaarai.com/2009/01/18/accessing-your-home-network-away-from-home/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flush DNS Cache in Ubuntu</title>
		<link>http://gaarai.com/2009/01/16/flush-dns-cache-in-ubuntu/</link>
		<comments>http://gaarai.com/2009/01/16/flush-dns-cache-in-ubuntu/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 15:27:41 +0000</pubDate>
		<dc:creator>gaarai</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips 'n Tricks]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Mastering The Command Line]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://gaarai.com/?p=615</guid>
		<description><![CDATA[
As a web developer, I&#8217;m always having to work with DNS. Anyone who has dealt with DNS will tell you that caching is simultaneously a great thing and a horrible thing.
Today, I made a mistake with the IP address of a new host, and I needed to flush my DNS cache so that my machine [...]]]></description>
			<content:encoded><![CDATA[<!-- filtered -->
<p>As a web developer, I&#8217;m always having to work with DNS. Anyone who has dealt with DNS will tell you that caching is simultaneously a great thing and a horrible thing.</p>
<p>Today, I made a mistake with the IP address of a new host, and I needed to flush my DNS cache so that my machine would go and grab the new IP address. I hadn&#8217;t done this in Ubuntu before, so I had to figure it out. Fortunately, it&#8217;s really easy.</p>
<ol>
<li>Load Terminal (Applications &gt; Accessories &gt; Terminal)</li>
<li>Type in the following:
<div style="padding-left:20px;"><code>sudo service networking restart</code></div>
</li>
<li>Press the Enter key</li>
<li>Put in your password</li>
</ol>
<p>Done. Enjoy your newly flushed DNS cache.</p>
]]></content:encoded>
			<wfw:commentRss>http://gaarai.com/2009/01/16/flush-dns-cache-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>No longer a DNSStuff fan</title>
		<link>http://gaarai.com/2008/10/21/no-longer-a-dnsstuff-fan/</link>
		<comments>http://gaarai.com/2008/10/21/no-longer-a-dnsstuff-fan/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 14:41:43 +0000</pubDate>
		<dc:creator>gaarai</dc:creator>
				<category><![CDATA[Random Ramblings]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://gaarai.com/?p=362</guid>
		<description><![CDATA[
If you ever need to work with DNS servers or domain management, you find tools that help you get an outside perspective of what is happening with DNS invaluable. Years ago I found DNSStuff and immediately fell in love. They have tons of tools that give a wealth of information. I configured some quick bookmarks [...]]]></description>
			<content:encoded><![CDATA[<!-- filtered -->
<p>If you ever need to work with DNS servers or domain management, you find tools that help you get an outside perspective of what is happening with DNS invaluable. Years ago I found <a href="http://dnsstuff.com/" target="_blank">DNSStuff</a> and immediately fell in love. They have tons of tools that give a wealth of information. I configured some quick bookmarks in Firefox that made making specific requests more simple than doing a dig from a command line while returning more data than any of my system tools could possibly offer.</p>
<p>A little more than a year ago, DNSStuff changed from free to a paid service. Since I found their tools so valuable, paying a few dollars a month for the service was a small price to pay. In fact, I was happy to pay for the service and quickly purchased a subscription for a year.</p>

<p>Over time, things changed. They continued to change their site format resulting in me having to constantly change my quick bookmark formats. All of these changes were to force people to buy subscriptions, but why was I being affected since I was a paying member? About half the time that I would try to do a query, it would take me to a page with severely reduced tools with ads all over the place telling me to buy a subscription. It was annoying, but I dealt with it. Then the frustrations went up another notch when they divided the service into two different subscription models. Suddenly, tools that I used to access for free and then could continue to access since I paid for them were no longer available. Every time I&#8217;d accidentally try to request one of those tools with my quick bookmarks it would tell me to upgrade. Furthermore, the tools that I could still access with my paid subscription became littered with ads telling me to upgrade. Around this time I also started to receive frequent email ads telling me to upgrade my service to gain access to other features.</p>
<p>My subscription ran out a couple of months ago. I was faced with renewing my subscription or finding something else. I decided that despite the irritations that I would renew since the tools were really that good. Then came the shock, the prices had gone up. To access all the tools I had purchased (and eventually lost access to) a year ago would cost me around twice as much as before. Not only would I be paying more, the site that I would pay to access would be filled with ads and would constantly send me emails pestering me to purchase yet even more tools that they invent. That&#8217;s when I decided to ditch DNSStuff and find a DNSStuff alternative.</p>
<p>After quite a bit of searching around and trying different tools, I settled on <a href="http://iptools.com/" target="_blank">Ip Tools</a>. Frankly, their tools aren&#8217;t as robust as DNSStuff&#8217;s tools and don&#8217;t offer the wealth of information either; however, they are still (at this moment) free and perform a good enough service.</p>
<p>My desire is to one day build up a tool that is as good as what DNSStuff offerred without all the constant ads in my face, that I can use just as quickly as the original DNSStuff tools could be, and that wouldn&#8217;t leave me with a feeling of being ripped off. This tool will most likely be a personal tool and be available to some friends of mine. If I get enough interest though, I might make it more robust and make it a public service.</p>
<p>Have you been burned by DNSStuff? Share your story.</p>
]]></content:encoded>
			<wfw:commentRss>http://gaarai.com/2008/10/21/no-longer-a-dnsstuff-fan/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
