<?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>cat brain.log &#124; less &#187; dns</title>
	<atom:link href="http://log.largevoid.com/tag/dns/feed/" rel="self" type="application/rss+xml" />
	<link>http://log.largevoid.com</link>
	<description>Getting it down on `paper`</description>
	<lastBuildDate>Mon, 06 Feb 2012 06:23:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Securing Your Internet Traffic on a Public Network</title>
		<link>http://log.largevoid.com/2010/12/securing-your-internet-traffic-on-a-public-network/</link>
		<comments>http://log.largevoid.com/2010/12/securing-your-internet-traffic-on-a-public-network/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 00:06:53 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Scripts, Tricks and Hacks]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firesheep]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[socks5]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tunnel]]></category>

		<guid isPermaLink="false">http://log.largevoid.com/?p=491</guid>
		<description><![CDATA[I was on a public WiFi hotspot and was worried about someone sniffing my passwords with firesheep. I went in search of a howto that would teach allow me to tunnel browser traffic to my secure home network over SSH. What I found was How To Tunnel Traffic With SSH. It is the easiest and [...]]]></description>
			<content:encoded><![CDATA[<p>I was on a public WiFi hotspot and was worried about someone sniffing my passwords with firesheep.  I went in search of a howto that would teach allow me to tunnel browser traffic to my secure home network over SSH.  What I found was <a href="http://www.makeuseof.com/tag/how-to-tunnel-traffic-with-ssh/">How To Tunnel Traffic With SSH</a>.  It is the easiest and one of the more straight-forward tunneling approaches.  It requires Firefox, a secure remote server running ssh, and the putty client.</p>
<p>The long and short of it is to set up a local SOCKS5 proxy with putty.  Simply open up putty, go to Connection>SSH>Tunnels.  Add a new forwarded port (say 1080), make it dynamic, then hit add.  Now log in to your remote machine and you have a local SOCKS5 proxy running on port 1080.  You can then point your browser to use this proxy for all your web traffic.</p>
<p>The link also mentions how to make Firefox tunnel DNS requests for added security, but I won&#8217;t go into that.</p>
<p>Happy safe browsing!</p>
]]></content:encoded>
			<wfw:commentRss>http://log.largevoid.com/2010/12/securing-your-internet-traffic-on-a-public-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When a Domain is Blocked by Filtering Software</title>
		<link>http://log.largevoid.com/2010/08/when-a-domain-is-blocked-by-filter-software/</link>
		<comments>http://log.largevoid.com/2010/08/when-a-domain-is-blocked-by-filter-software/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 01:17:04 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[Scripts, Tricks and Hacks]]></category>
		<category><![CDATA[blocked]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[cmd.exe]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[google dns]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://log.largevoid.com/?p=425</guid>
		<description><![CDATA[Can&#8217;t access your favorite websites because some stupid ISP or access point is using DNS-level filtering? Set your DNS to use Google&#8217;s DNS: 8.8.8.8 and 8.8.4.4 Then flush the existing DNS cache and register the new DNS. In Windows 7, you&#8217;ll need elevated privileges to changes to the DNS. Make sure you start cmd.exe as [...]]]></description>
			<content:encoded><![CDATA[<p>Can&#8217;t access your favorite websites because some stupid ISP or access point is using DNS-level filtering?</p>
<p>Set your DNS to use Google&#8217;s DNS:<br />
<code>8.8.8.8</code> and <code>8.8.4.4</code></p>
<p>Then flush the existing DNS cache and register the new DNS.</p>
<p>In Windows 7, you&#8217;ll need elevated privileges to changes to the DNS. Make sure you start cmd.exe as Administrator.</p>
<ol>
<li>Press the window Key</li>
<li>Type &#8220;cmd&#8221;</li>
<li>Right click the cmd.exe that&#8217;s found.</li>
<li>Select &#8220;Run as administrator&#8221;</li>
<li>Type <code>ipconfig /flushdns</code></li>
<li>Then type <code>ipconfig /registerdns</code></li>
</ol>
<p>Now you&#8217;re free to roam the internet.</p>
]]></content:encoded>
			<wfw:commentRss>http://log.largevoid.com/2010/08/when-a-domain-is-blocked-by-filter-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Static IP with DHCP-Assigned DNS on Ubuntu 9.10</title>
		<link>http://log.largevoid.com/2009/12/static-ip-with-dhcp-assigned-dns-on-ubuntu-9-10/</link>
		<comments>http://log.largevoid.com/2009/12/static-ip-with-dhcp-assigned-dns-on-ubuntu-9-10/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 20:05:08 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[dhclient]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[eth0]]></category>
		<category><![CDATA[fixed address]]></category>
		<category><![CDATA[static ip]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://log.largevoid.com/?p=246</guid>
		<description><![CDATA[There is a ton of bug reports regarding the Network-Manager&#8217;s nm-applet not properly configuring static ips. There are, and always have been, bugs in the nm-applet, in each of its versions. In short, getting a static ip with dhcp assigned DNS parameters requires editing the /etc/dhcp3/dhclient.conf file. Here we go. sudo vi /etc/dhcp3/dhclient.conf &#62;&#62; alias [...]]]></description>
			<content:encoded><![CDATA[<p>There is a ton of bug reports regarding the Network-Manager&#8217;s nm-applet not properly configuring static ips. There are, and always have been, bugs in the nm-applet, in each of its versions. In short, getting a static ip with dhcp assigned DNS parameters requires editing the <em>/etc/dhcp3/dhclient.conf</em> file. Here we go.</p>
<ol>
<li><code>sudo vi /etc/dhcp3/dhclient.conf</code>
<pre>&gt;&gt;
alias {
  interface "eth0";
  fixed-address 192.168.1.101;
  option subnet-mask 255.255.255.255;
}
&lt;&lt;</pre>
</li>
<li><code>sudo dhclient -r</code></li>
<li><code>sudo dhclient</code></li>
</ol>
<p><strong>EDIT FOR Ubuntu Server 11.04</strong> (<a href="http://www.cyberciti.biz/tips/ubuntu-linux-creating-ethernet-alias-for-eth0-network-device.html">Reference</a>)</p>
<p><code>$ sudo vi /etc/network/interfaces</code><br />
Append the following configuration:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">auto eth0:<span style="color: #000000;">0</span>
iface eth0:<span style="color: #000000;">0</span> inet static
address 192.168.1.101
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0</pre></div></div>

<p><code>$ sudo /etc/init.d/networking restart</code></p>
]]></content:encoded>
			<wfw:commentRss>http://log.largevoid.com/2009/12/static-ip-with-dhcp-assigned-dns-on-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL DNS Caching</title>
		<link>http://log.largevoid.com/2008/12/mysql-dns-caching/</link>
		<comments>http://log.largevoid.com/2008/12/mysql-dns-caching/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 11:09:29 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[flush]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[sccoos]]></category>

		<guid isPermaLink="false">http://log.largevoid.com/?p=25</guid>
		<description><![CDATA[On December 12, 2008, SCCOOS metadata system was broken. The error was cryptic, but the message was clear: Connection to [IP] denied. Resolution Using the MySQL command-line tool: mysql -u admin -p [-h ] [-P ] mysql> flush hosts; That&#8217;s it! Chain of Events UCSD&#8217;s DNS was polluted, identifying 132.239.123.144 as ridge2000.org for the past [...]]]></description>
			<content:encoded><![CDATA[<p>On December 12, 2008, <a href="http://www.sccoos.org/meta/">SCCOOS metadata system</a> was broken.  The error was cryptic, but the message was clear: Connection to [IP] denied.</p>
<h3>Resolution</h3>
<p>Using the MySQL command-line tool:<br />
<code><br />
mysql -u admin -p [-h <hostname>] [-P
<port>]<br />
mysql> flush hosts;<br />
</code></p>
<p>That&#8217;s it!</p>
<h3>Chain of Events</h3>
<ul>
<li>UCSD&#8217;s DNS was polluted, identifying 132.239.123.144 as ridge2000.org for the past few weeks.</li>
<li>Sandbar was restarted last week, freeing up both the OS and MySQL DNS caches, which meant all new connections will need to query a DNS server to identify whether it&#8217;s an allowed machine or not (do you see a security vulnerability?).</li>
<li>Both the OS and MySQL cached the hostname, but MySQL further rejected all connections from alfredo because MySQL thought that alfredo was ridge2000 instead.</li>
<li>The <em>mysql</em> database, <em>user</em> table identifies user <em>sccoos</em> can connect to sandbar from <em>alfredo.ucsd.edu</em>.</li>
<li>The OS cache probably cleared, but since so few machines access sandbar, the MySQL cache hadn&#8217;t filled up yet.</li>
<li>Just last night (2008-12-22), the UCSD DNS purged the ridge2000.org name from its list, so UCSD&#8217;s DNS is clean, but any caches may still be polluted.</li>
</ul>
<ul>
<li>Windows machines cycle their caches regularly, so the problem isn&#8217;t more wide-spread or commonly understood.</li>
<li>The long-lasting MySQL DNS cache is disturbing, but alternatives would cripple the imperative nature of a database.</li>
</ul>
<h3>References</h3>
<ul>
<li><a href="http://dev.mysql.com/doc/refman/5.0/en/dns.html">MySQL DNS Reference</a></li>
<li><a href="http://en.wikipedia.org/wiki/Domain_Name_System">Domain Name System</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://log.largevoid.com/2008/12/mysql-dns-caching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  log.largevoid.com/tag/dns/feed/ ) in 0.25280 seconds, on Feb 8th, 2012 at 3:43 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 4:43 am UTC -->
