<?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>Aaron&#039;s Worthless Words &#187; dns</title>
	<atom:link href="http://aconaway.com/tag/dns/feed/" rel="self" type="application/rss+xml" />
	<link>http://aconaway.com</link>
	<description>It&#039;s possible that someone somewhere needs to see this.</description>
	<lastBuildDate>Wed, 01 Feb 2012 02:07:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Configuring an IPv6 Tunnel with Hurricane Electric</title>
		<link>http://aconaway.com/2011/03/30/configuring-an-ipv6-tunnel-with-hurricane-electric/</link>
		<comments>http://aconaway.com/2011/03/30/configuring-an-ipv6-tunnel-with-hurricane-electric/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 01:03:14 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[broker]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[eui-64]]></category>
		<category><![CDATA[ipv6ip]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[tunnel]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=1464</guid>
		<description><![CDATA[My ISP is not ready for IPv6.  They've ignored my emails asking about their deployment strategy, so I gave up and looked at turning up an IPv6 tunnel with a broker.]]></description>
			<content:encoded><![CDATA[<p><a href="http://aconaway.com/wp-content/uploads/2011/03/Hurricane-Earl_noaa-300x195.jpg"><img class="alignleft size-thumbnail wp-image-1500" title="Hurricane Earl_noaa-300x195" src="http://aconaway.com/wp-content/uploads/2011/03/Hurricane-Earl_noaa-300x195-150x150.jpg" alt="" width="150" height="150" /></a>My ISP at home is great.  I have infinite bandwidth because they have no idea how to do any rate limiting.  Heck, they&#8217;re not even skilled enough to know that I have several public IP addresses from their DHCP server.  That means, though, that they&#8217;re not ready for IPv6.  They&#8217;ve ignored my emails and support tickets asking about their deployment strategy, so I gave up and looked at turning up a tunnel with a broker.  I chose <a href="http://www.tunnelbroker.net/">Hurricane Electric</a> for no particular reason; they were just the first ones I found.  The setup was super-easy and works flawlessly.</p>
<p>When you add a new tunnel to your account, you are given a 64-bit IPv6 network to use at your local site and you have the option of asking for a 48-bit network as well.  I&#8217;m not planning on having more than one IPv6 subnet right now and the number of hosts don&#8217;t quite reach 1.84467441 × 10<sup>19</sup>, so I opted to stick with the provided network.  HE also provides an IOS configlet for your end of the tunnel.  Here&#8217;s the config I&#8217;m using sans the default route out Tunnel0.</p>
<blockquote>
<pre>interface Tunnel0
 description To Hurricane Electric IPv6
 no ip address
 ipv6 address 2001:470:1F0E:446::2/64
 ipv6 traffic-filter ACL-TUN0 in
 ipv6 inspect INSP-OUT out
 tunnel source FastEthernet0/1
 tunnel destination 216.218.224.42
 tunnel mode ipv6ip
end</pre>
</blockquote>
<p>We&#8217;re talking IOS here.  I have an ASA 5505 on the head of my network, and, though it supports IPv6 routing (and filtering), it doesn&#8217;t support the manual tunnel used to connect to HE.  I ended up picking an 1841 off of eBay to run parallel to my firewall.  There are other ways to connect the tunnel, though, and HE provides configurations for lots of platforms like Windows and Linux hosts; I&#8217;m a network guy, though&#8230;why not just install more network gear?</p>
<p>Don&#8217;t get caught up in the warm glow of IPv6, though.  This is the open Internet just like when your grandmother plugs the new Macbook Pro you got her directly into the cable modem.  You will need to put in some filtering and inspection to protect yourself at the edge.  Though beyond scope today, take a look at the lines for <em>ipv6 inspect</em> and <em>ipv6 traffic-filter</em> for a starting point.</p>
<p>Send any <del>native IPv6 support</del> questions my way.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2011/03/30/configuring-an-ipv6-tunnel-with-hurricane-electric/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Using SPF Records To Build Objects</title>
		<link>http://aconaway.com/2009/10/16/using-spf-records-to-build-objects/</link>
		<comments>http://aconaway.com/2009/10/16/using-spf-records-to-build-objects/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 19:50:13 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[asa]]></category>
		<category><![CDATA[dig]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[fwsm]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[object-group]]></category>
		<category><![CDATA[pix]]></category>
		<category><![CDATA[records]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[spf]]></category>
		<category><![CDATA[txt]]></category>
		<category><![CDATA[_netblock]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=370</guid>
		<description><![CDATA[My biggest complain about modern firewalls is their lack of the ability to create rules based on URLs or HTTP streams; you have to open access between IP addresses.  Yes, I know there are other means to do that, but I want my ASA/PIX/FWSM to do it without making me do so much work. Anyway, the fact that you have to use IPs brings up some interesting problems.  Let&#8217;s say you have a server in a DMZ that needs to query Google for some content.  Since you&#8217;re a hard-ass network guy like I am, you tell the admin that they have provide the data flow they want to use &#8212; source IP, destination IP, protocol, port.  They come back and tell you that they need their server to connect via HTTP to 74.125.45.100.  You put in the rules as given, but the IP has suddenly changed on you. Google (and lots of other big sites) uses some tricks to keep the load down on their servers and to help with availability, and one such trick is to use round robin DNS, which rotates the A record so everyone doesn&#8217;t slam the same boxes.  You can query google.com once and get [...]]]></description>
			<content:encoded><![CDATA[<p>My biggest complain about modern firewalls is their lack of the ability to create rules based on URLs or HTTP streams; you have to open access between IP addresses.  Yes, I know there are other means to do that, but I want my ASA/PIX/FWSM to do it without making me do so much work.</p>
<p>Anyway, the fact that you have to use IPs brings up some interesting problems.  Let&#8217;s say you have a server in a DMZ that needs to query Google for some content.  Since you&#8217;re a hard-ass network guy like I am, you tell the admin that they have provide the data flow they want to use &#8212; source IP, destination IP, protocol, port.  They come back and tell you that they need their server to connect via HTTP to 74.125.45.100.  You put in the rules as given, but the IP has suddenly changed on you.</p>
<p>Google (and lots of other big sites) uses some tricks to keep the load down on their servers and to help with availability, and one such trick is to use round robin DNS, which rotates the A record so everyone doesn&#8217;t slam the same boxes.  You can query google.com once and get an address, but, when you query it again, you may get a different address.  That means that when your new rules don&#8217;t work, you have to check the logs, see what got denied, open that up, rinse, and repeat.  That sucks.</p>
<p>An easier way might be to create an <a title="AConaway.com -- Tag/object-group" href="http://aconaway.com/tag/object-group/"><em>object-group</em></a> that includes IPs as you discover them.  You put in rules based on an object-group, then, when it fails, you just add to the object-group so you don&#8217;t have to put in any more rules.  The problem is that you&#8217;ll spend a lot of time building up a good baseline.  If only there were a way to get a list of IP addresses that Google uses.  Hmmm.  *segue*</p>
<p>Have you ever heard of <a title="OpenSPF.org - SPF: Project Overview" href="http://www.openspf.org/">SPF</a> netblock records?  SPF is an email security mechanism that allows an email server to verify that an email message is coming from an authorized email source.  In other words, when a mail server receives mail, it can check to see if the sending server is actually allowed to send mail on behalf of the source domain.  It supposed to cut down on spam and whatnot, but I don&#8217;t follow it closely enough to know if it&#8217;s working.  The moral of the story is that is involves a list of IP addresses that an organization maintains; Google happens to be a participant in SPF.</p>
<p>If you query for the TXT record _netblocks.google.com, you get back a text record that looks like this.</p>
<blockquote><p>[jac@holland ~]$ dig +short txt _netblocks.google.com<br />
&#8220;v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:72.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.0.0/20 ip4:207.126.144.0/20 ip4:173.194.0.0/16 ?all&#8221;</p></blockquote>
<p>This record includes all IP addresses that Google says is authorized to send email from google.com.  That&#8217;s a lot of IP addresses, isn&#8217;t it?  It might make sense that this list might also be the definitive list of Google production IPs.</p>
<p>My company has used this TXT record in the past to open access to Google.  We had an app that needed to query Google maps, and one of our engineers was tired of nickel and diming it to death, so he found the SPF block and put them all in.  Works like a champ.</p>
<p>There are always dangers when you rely on information from somebody else, though, right?  Google&#8217;s usually pretty good about stuff like this, but what if you did the same for another company who only half-heartedly kept their records up-to-date?  You may only have half of their IPs in your object-gropu.  You might even wind up opening access to or from a cable modem system or from another company who bought the IP addresses.</p>
<p>I&#8217;ll also  note that there aren&#8217;t that many domains using this technique, so finding SPF netblock records may be a challenge.  It&#8217;s worth the time to do a simply query, though; it might save you some time.</p>
<p>Send any <span style="text-decoration: line-through;">carved pumpkins</span> questions my way.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2009/10/16/using-spf-records-to-build-objects/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

