<?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>kb.hurricane-ridge.com &#187; dns</title>
	<atom:link href="http://kb.hurricane-ridge.com/tag/dns/feed" rel="self" type="application/rss+xml" />
	<link>http://kb.hurricane-ridge.com</link>
	<description>My personal - but public - knowledge base</description>
	<lastBuildDate>Mon, 09 Jan 2012 14:49:05 +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>Bookmarks for February 25, 2010</title>
		<link>http://kb.hurricane-ridge.com/links/bookmarks-for-february-25-2010</link>
		<comments>http://kb.hurricane-ridge.com/links/bookmarks-for-february-25-2010#comments</comments>
		<pubDate>Fri, 26 Feb 2010 17:47:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dnssec]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=864</guid>
		<description><![CDATA[Links for February 25, 2010: nlnetlabs.nl :: DNSSEC HOWTO :: &#8211; &#34;This HOWTO is intended for those people who want to deploy DNSSEC and are seeking a document that lives between a typical high level description of the topic (see the excellent Surfnet White Paper on DNSSEC for that (http://www.surfnet.nl/Documents/DNSSSEC-web.pdf ), the typical out of [...]]]></description>
			<content:encoded><![CDATA[<p>Links for February 25, 2010:</p>
<ul>
<li><a href="http://www.nlnetlabs.nl/publications/dnssec_howto/index.html">nlnetlabs.nl :: DNSSEC HOWTO ::</a> &#8211; &quot;This HOWTO is intended for those people who want to deploy DNSSEC and are seeking a document that lives between a typical high level description of the topic (see the excellent Surfnet White Paper on DNSSEC for that (http://www.surfnet.nl/Documents/DNSSSEC-web.pdf ), the typical out of the box recipe, and an in depth description of the technology.&quot;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/links/bookmarks-for-february-25-2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bookmarks for December 11, 2009 through December 21, 2009</title>
		<link>http://kb.hurricane-ridge.com/links/bookmarks-for-december-11-2009-through-december-21-2009</link>
		<comments>http://kb.hurricane-ridge.com/links/bookmarks-for-december-11-2009-through-december-21-2009#comments</comments>
		<pubDate>Tue, 22 Dec 2009 15:01:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[ami]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[cdn]]></category>
		<category><![CDATA[chef]]></category>
		<category><![CDATA[cloudelay]]></category>
		<category><![CDATA[collectd]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[hudson]]></category>
		<category><![CDATA[namebench]]></category>
		<category><![CDATA[spot]]></category>
		<category><![CDATA[spot pricing]]></category>
		<category><![CDATA[sprinkle]]></category>
		<category><![CDATA[vscsiStats]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=759</guid>
		<description><![CDATA[Links for December 11, 2009 through December 21, 2009: Start page &#8211; collectd &#8211; The system statistics collection daemon &#8211; &#34;collectd is a daemon which collects system performance statistics periodically and provides mechanisms to store the values in a variety of ways, for example in RRD files.&#34; crafterm&#39;s sprinkle at master &#8211; GitHub &#8211; &#34;Sprinkle [...]]]></description>
			<content:encoded><![CDATA[<p>Links for December 11, 2009 through December 21, 2009:</p>
<ul>
<li><a href="http://collectd.org/">Start page &ndash; collectd &ndash; The system statistics collection daemon</a> &#8211; &quot;collectd is a daemon which collects system performance statistics periodically and provides mechanisms to store the values in a variety of ways, for example in RRD files.&quot;</li>
<li><a href="http://github.com/crafterm/sprinkle">crafterm&#39;s sprinkle at master &#8211; GitHub</a> &#8211; &quot;Sprinkle is a software provisioning tool you can use to build remote servers with. eg. to install a Rails, or Sinatra stack on a brand new slice directly after its been created.&quot;</li>
<li><a href="http://redartisan.com/2008/5/27/sprinkle-intro">Sprinkle Some Powder!</a> &#8211; Sprinkle is a provisioning automation tool.</li>
<li><a href="http://www.cloudelay.com/cdn-cloudfront.htm">Cloudelay &#8211; Amazon CloudFront</a> &#8211; In-browser table showing latency to various Amazon CloudFront locations.</li>
<li><a href="http://cloudexchange.org/">cloud exchange</a> &#8211; Historical graphs of Amazon Web Services Elastic Compute Cloud Spot Instance pricing.</li>
<li><a href="http://communities.vmware.com/docs/DOC-10095">VMware Communities: Using vscsiStats for Storage Performance Analysis</a> &#8211; &quot;vscsiStats collects and reports counters on storage activity. Its data is collected at the virtual SCSI device level in the kernel. This means that results are reported per VMDK (or RDM) irrespective of the underlying storage protocol.&quot;</li>
<li><a href="http://wiki.hudson-ci.org/display/HUDSON/Meet+Hudson">Meet Hudson &#8211; hudson &#8211; Hudson Wiki</a> &#8211; &quot;Hudson monitors executions of repeated jobs, such as building a software project or jobs run by cron.&quot;</li>
<li><a href="http://www.opscode.com/chef">Chef &#8211; Opscode</a> &#8211; &quot;Chef is an open source systems integration framework built to bring the benefits of configuration mangement to your entire infrastructure. You write source code to describe how you want each part of your infrastructure to be built, then apply those descriptions to your servers. The result is a fully automated infrastructure: when a new server comes on line, the only thing you have to do is tell Chef what role it should play in your architecture.&quot;</li>
<li><a href="https://wiki.gridx1.ca/twiki/bin/view/Main/EC2BuildinganImage">EC2BuildinganImage &lt; Main &lt; TWiki</a> &#8211; Notes on building an Amazon EC2 image for Scientific Linux (or CentOS). Includes detailed instructions under &quot;Make Customizations for running on EC2&quot;.</li>
<li><a href="http://code.google.com/p/namebench/">namebench &#8211; Project Hosting on Google Code</a> &#8211; &quot;namebench runs a fair and thorough benchmark using your web browser history, tcpdump output, or standardized datasets in order to provide an individualized recommendation. namebench is completely free and does not modify your system in any way.&quot;</li>
<li><a href="http://ow.ly/Jzlv">Migrating a Linux S3 Based AMI to an EBS Based AMI | full360.com</a> &#8211; &quot;I put this article together to show migrating an existing Linux AMI to EBS can be a trivial task.&quot;</li>
<li><a href="http://www.softiesonrails.com/2007/4/5/the-absolute-moron-s-guide-to-capistrano">Softies on Rails: The Absolute Moron&#39;s Guide to Capistrano</a> &#8211; A gentle introduction to using Capistrano to deploy a Ruby on Rails app.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/links/bookmarks-for-december-11-2009-through-december-21-2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bookmarks for November 20, 2009</title>
		<link>http://kb.hurricane-ridge.com/links/bookmarks-for-november-20-2009</link>
		<comments>http://kb.hurricane-ridge.com/links/bookmarks-for-november-20-2009#comments</comments>
		<pubDate>Mon, 23 Nov 2009 19:48:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=717</guid>
		<description><![CDATA[Links for November 20, 2009: Tame Electrical and Heating Costs with CPU Power Management &#187; boche.net &#8211; VMware Virtualization Evangelist &#8211; Notes on &#34;using vSphere&#8217;s Advanced CPU Power Management feature.&#34; Root Server Technical Operations Assn &#8211; Map of DNS Root Servers locations throughout the world.]]></description>
			<content:encoded><![CDATA[<p>Links for November 20, 2009:</p>
<ul>
<li><a href="http://www.boche.net/blog/index.php/2009/11/11/tame-electrical-and-heating-costs-with-cpu-power-management/">Tame Electrical and Heating Costs with CPU Power Management &raquo; boche.net &ndash; VMware Virtualization Evangelist</a> &#8211; Notes on &quot;using vSphere&rsquo;s Advanced CPU Power Management feature.&quot;</li>
<li><a href="http://www.root-servers.org/">Root Server Technical Operations Assn</a> &#8211; Map of DNS Root Servers locations throughout the world.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/links/bookmarks-for-november-20-2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running a chrooted BIND in a FreeBSD Jail</title>
		<link>http://kb.hurricane-ridge.com/os/freebsd/running-a-chrooted-bind-in-a-freebsd-jail</link>
		<comments>http://kb.hurricane-ridge.com/os/freebsd/running-a-chrooted-bind-in-a-freebsd-jail#comments</comments>
		<pubDate>Mon, 29 Dec 2008 05:17:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=31</guid>
		<description><![CDATA[(N.B. &#8211; This document was originally written in 2006; I have not verified that it remains applicable to FreeBSD in 2008.) Running a chrooted BIND server within a FreeBSD jail requires mounting its devfs outside of the jail; this document provides an RCng start stop script to do that. Attempting to start BIND using the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>(N.B. &#8211; This document was originally written in 2006; I have not verified that it remains applicable to FreeBSD in 2008.)</strong></p>
<p>Running a chrooted BIND server within a FreeBSD jail requires mounting its devfs outside of the jail; this document provides an RCng start stop script to do that.</p>
<p>Attempting to start BIND using the stock RCng script in a FreeBSD jail results in the following error:</p>
<p><code>&gt; sudo /etc/rc.d/named start<br />
mount_devfs: Operation not permitted<br />
/etc/rc.d/named: WARNING: devfs_domount(): Unable to mount devfs on /var/named/dev<br />
devfs rule: ioctl DEVFSIO_RAPPLY: Operation not permitted<br />
devfs rule: ioctl DEVFSIO_RAPPLY: Operation not permitted<br />
Starting named.</code></p>
<p>The reason for this is that you are unable to mount and manipulate the devfs for the chroot within the jail itself; it must be done in the parent of the jail. To do this at boot, the script below can be used.</p>
<p><code>#!/bin/sh</code></p>
<p><code># PROVIDE: jailedchrootdevfs<br />
# REQUIRE: rcconf mountcritremote<br />
# BEFORE: jail<br />
# KEYWORD: nojail</code></p>
<p><code>. /etc/rc.subr</code></p>
<p><code>name="jailed-chroot-devfs"<br />
start_cmd='start'<br />
stop_cmd=':'<br />
#rc_debug=1</code></p>
<p><code>jailed_named_chrootdir='/u1/jail/192.168.1.234/var/named'<br />
start()<br />
{<br />
umount ${jailed_named_chrootdir}/dev 2&gt;/dev/null<br />
devfs_domount ${jailed_named_chrootdir}/dev devfsrules_hide_all<br />
devfs -m ${jailed_named_chrootdir}/dev rule apply path null unhide<br />
devfs -m ${jailed_named_chrootdir}/dev rule apply path random unhide<br />
}</code></p>
<p><code>load_rc_config $name<br />
run_rc_command "$1"</code></p>
<p>Next, within the jail, edit <code>/etc/rc.d/named</code> to comment out the equivalent lines to those above, found within the <code>chroot_autoupdate()</code> function:</p>
<p><code>*** named Thu Feb 23 12:34:41 2006<br />
--- ../../../../../etc/rc.d/named Thu Nov 3 00:12:06 2005<br />
***************<br />
*** 58,67 ****</code></p>
<p><code># Mount a devfs in the chroot directory if needed<br />
#<br />
! #umount ${named_chrootdir}/dev 2&gt;/dev/null<br />
! #devfs_domount ${named_chrootdir}/dev devfsrules_hide_all<br />
! #devfs -m ${named_chrootdir}/dev rule apply path null unhide<br />
! #devfs -m ${named_chrootdir}/dev rule apply path random unhide</code></p>
<p><code># Copy local timezone information if it is not up to date.<br />
#<br />
--- 58,67 ----</code></p>
<p><code># Mount a devfs in the chroot directory if needed<br />
#<br />
! umount ${named_chrootdir}/dev 2&gt;/dev/null<br />
! devfs_domount ${named_chrootdir}/dev devfsrules_hide_all<br />
! devfs -m ${named_chrootdir}/dev rule apply path null unhide<br />
! devfs -m ${named_chrootdir}/dev rule apply path random unhide</code></p>
<p><code># Copy local timezone information if it is not up to date.<br />
#</code></p>
<p>Notes on the RCng script:</p>
<ul>
<li>Specifiying that the RCng script run BEFORE: jail ensures that the directory is mounted before the jail starts up, and starts its BIND process.</li>
<li>The devfs commands in <code>start()</code> are adapted from the <code>/etc/rc.d/named</code>script.</li>
<li><code>/etc/rc.subr</code> contains the <code>devfs_domount</code> subroutine; <code>load_rc_config $name</code> is required to load the devfs variables it needs to work.</li>
</ul>
<p>Other notes:</p>
<ul>
<li>You will need to set the <code>security.jail.allow_raw_sockets</code> sysctl to 1 to allow named to open a UDP socket.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/freebsd/running-a-chrooted-bind-in-a-freebsd-jail/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

