<?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>vincentkong.com &#187; DNS</title>
	<atom:link href="http://www.vincentkong.com/tag/dns/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vincentkong.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 25 Dec 2011 01:35:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Setting up ddclient on Ubuntu</title>
		<link>http://www.vincentkong.com/2007/05/setting-up-ddclient-on-ubuntu</link>
		<comments>http://www.vincentkong.com/2007/05/setting-up-ddclient-on-ubuntu#comments</comments>
		<pubDate>Tue, 22 May 2007 16:27:09 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=112</guid>
		<description><![CDATA[ddclient is a program that sends a request to a dynamic DNS provider to update your DNS entry. Before you start using ddclient you need to be registered on a supported dynamic DNS provider, check the ddclient website to find &#8230; <a href="http://www.vincentkong.com/2007/05/setting-up-ddclient-on-ubuntu">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/building-a-server-at-home' rel='bookmark' title='Building a Server at Home'>Building a Server at Home</a></li>
<li><a href='http://www.vincentkong.com/2007/06/setting-default-jvm-in-ubuntu' rel='bookmark' title='Setting Default JVM in Ubuntu'>Setting Default JVM in Ubuntu</a></li>
<li><a href='http://www.vincentkong.com/2007/05/apache-for-ubuntu-quickstart-guide' rel='bookmark' title='Apache for Ubuntu Quickstart Guide'>Apache for Ubuntu Quickstart Guide</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>ddclient is a program that sends a request to a dynamic DNS provider to update your DNS entry.</p>
<p>Before you start using ddclient you need to be registered on a supported dynamic DNS provider, check the <a href="http://ddclient.sourceforge.net/">ddclient website</a> to find a list of providers available. <a href="http://www.zoneedit.com/">ZoneEdit</a> was my choice because it provides the service for free for up to 5 domain names.</p>
<p><strong>Installing ddclient for Ubuntu</strong></p>
<p>From the command line:</p>
<p><code>$ sudo apt-get install ddclient</code></p>
<p><strong>Configuring ddclient</strong></p>
<p>There are two configuration files for ddclient in Ubuntu:</p>
<ul>
<li>/etc/default/ddclient contains some of the default settings</li>
<li>/etc/ddclient.conf an almost empty file for you to entered your configurations</li>
</ul>
<p><em>Retrieving Your WAN IP Address</em></p>
<p>ddclient provides many options of where you can retrieve your WAN IP address from e.g. network card, command line, router/firewall, etc. Visiting the <a href="http://ddclient.sourceforge.net/">ddclient website</a> under &#8220;supported routers&#8221; will list out all the options which you can use. I decided to use the <code>fw</code> option and obtain my IP address from my router by specifying the location of my router&#8217;s status page. In the <code>/etc/ddclient.conf</code></p>
<p><code>use=fw<br />
fw=&lt;router's ip address&gt;/&lt;status page uri&gt;<br />
fw-login=&lt;router's admin username&gt;<br />
fw-password=&lt;router's password&gt; </code></p>
<p><em>Communicating with Dynamic DNS Provider</em></p>
<p>ddclient provides support for a many of the most popular dynamic DNS providers. A list of supported providers can be found in their website under &#8220;supported protocols&#8221;. As I mention above I use ZoneEdit as my provider. In the <code>/etc/ddclient.conf</code></p>
<p><code>protocol=zoneedit1<br />
server=www.zoneedit.com<br />
login=&lt;zoneedit username&gt;<br />
password=&lt;zoneedit password&gt;<br />
&lt;my.domain.name, my2nd.domain.name&gt;</code></p>
<p><em>Running ddclient as a Daemon</em></p>
<p>To run ddclient as a daemon modify the <code>/etc/default/ddclient</code> configuration file.</p>
<p><code>set run_daemon="true"</code></p>
<p><strong>Troubleshooting</strong></p>
<p>To help you troubleshoot you can run ddclient on the command line with debugging and verbose messages enabled.</p>
<p><code>$ ddclient -debug -verbose</code></p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/building-a-server-at-home' rel='bookmark' title='Building a Server at Home'>Building a Server at Home</a></li>
<li><a href='http://www.vincentkong.com/2007/06/setting-default-jvm-in-ubuntu' rel='bookmark' title='Setting Default JVM in Ubuntu'>Setting Default JVM in Ubuntu</a></li>
<li><a href='http://www.vincentkong.com/2007/05/apache-for-ubuntu-quickstart-guide' rel='bookmark' title='Apache for Ubuntu Quickstart Guide'>Apache for Ubuntu Quickstart Guide</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2007/05/setting-up-ddclient-on-ubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a Server at Home</title>
		<link>http://www.vincentkong.com/2007/05/building-a-server-at-home</link>
		<comments>http://www.vincentkong.com/2007/05/building-a-server-at-home#comments</comments>
		<pubDate>Tue, 08 May 2007 15:15:22 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=75</guid>
		<description><![CDATA[This is a high level overview of what I did to build my server at home. Hardware for the Server For my server I recycled an older desktop, which works well since most unix operating systems uses less resources than &#8230; <a href="http://www.vincentkong.com/2007/05/building-a-server-at-home">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/setting-up-ddclient-on-ubuntu' rel='bookmark' title='Setting up ddclient on Ubuntu'>Setting up ddclient on Ubuntu</a></li>
<li><a href='http://www.vincentkong.com/2009/05/http-tunnel-through-isa-server' rel='bookmark' title='HTTP Tunnel Through ISA Server'>HTTP Tunnel Through ISA Server</a></li>
<li><a href='http://www.vincentkong.com/2009/06/installing-boutdutunnel-server-on-mono-xsp' rel='bookmark' title='Installing BoutDuTunnel Server on Mono XSP'>Installing BoutDuTunnel Server on Mono XSP</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is a high level overview of what I did to build my server at home.</p>
<p><strong>Hardware for the Server</strong></p>
<p>For my server I recycled an older desktop, which works well since most unix operating systems uses less resources than Microsoft Windows.</p>
<p><em>Hardware Specifications for My Server:</em></p>
<table border="1" cellspacing="2">
<tbody>
<tr>
<td><strong>Model:<br />
</strong></td>
<td>IBM NetVista 8307-51U</td>
</tr>
<tr>
<td><strong>Processor:</strong></td>
<td>Intel Pentium 4 1.8 GHz 512K L2 cache</td>
</tr>
<tr>
<td><strong>Memory:</strong></td>
<td>512 MB</td>
</tr>
<tr>
<td><strong>Hard Disk:</strong></td>
<td>40GB HD 7200 rpm</td>
</tr>
<tr>
<td><strong>CD-ROM:</strong></td>
<td>48X CD-ROM</td>
</tr>
<tr>
<td><strong>Ethernet:</strong></td>
<td>10/100</td>
</tr>
<tr>
<td valign="top"><strong>Video:</strong></td>
<td valign="top">Integrated Intel 845G</td>
</tr>
</tbody>
</table>
<p><strong>Building the Server</strong></p>
<p>I decided to build a LAMP (Linux, Apache, MySQL, PHP) platform for my server. For the Linux operating system, I chose <a href="http://www.ubuntu.com/">Ubuntu</a> because it was very easy to install, provided a lot of documentation online, as well as it had great community support.</p>
<p><strong>Setting up the Network/Router</strong></p>
<p>For the server I manually gave it a static local IP address 192.168.1.100. In my router I enabled port forwarding for ports 80 (for HTTP) and ports 22 (for SSH) to forward to 192.168.1.100.</p>
<p><strong>Registering a Domain Name</strong></p>
<p>To register for a domain name I use <a href="http://www.godaddy.com/">GoDaddy</a> because they are currently the cheapest provider that I can find, and domain managing was through their web based interface which makes things really easy.</p>
<p><strong>Setting up Dynamic DNS</strong></p>
<p>My ISP provider provides me with a dynamic IP address, therefore I had to search for a DNS service that provided dynamic DNS support. I registered at <a href="http://www.zoneedit.com/">ZoneEdit</a> because it provides the service free for up to 5 domains. After successfully registering, ZoneEdit provided me with two name servers which I had to update my domain name to use through GoDaddy.</p>
<p><strong>Setting up Dynamic DNS client</strong></p>
<p>I use <a href="http://ddclient.sourceforge.net/">ddclient</a> to update my dynamic DNS entries for ZoneEdit. The client is ran as a service which get executed every 5 minutes. When it awakes, it connects to my router and extracts the WAN IP address. If the address has changed then it&#8217;ll update my entry in ZoneEdit.</p>
<p>After I finish configuring everything I&#8217;m able to connect to my server using the domain name I registered at GoDaddy vincentkong.com. I can now then setup the rest of the services that I want to be available on my server. e.g. Apache, FTP, SSH, SMTP, etc.</p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/setting-up-ddclient-on-ubuntu' rel='bookmark' title='Setting up ddclient on Ubuntu'>Setting up ddclient on Ubuntu</a></li>
<li><a href='http://www.vincentkong.com/2009/05/http-tunnel-through-isa-server' rel='bookmark' title='HTTP Tunnel Through ISA Server'>HTTP Tunnel Through ISA Server</a></li>
<li><a href='http://www.vincentkong.com/2009/06/installing-boutdutunnel-server-on-mono-xsp' rel='bookmark' title='Installing BoutDuTunnel Server on Mono XSP'>Installing BoutDuTunnel Server on Mono XSP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2007/05/building-a-server-at-home/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

