<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=7336462756272110356&amp;blogName=Adminlinux.org++++%28......%29&amp;publishMode=PUBLISH_MODE_HOSTED&amp;navbarType=BLUE&amp;layoutType=CLASSIC&amp;homepageUrl=http%3A%2F%2Fwww.adminlinux.org%2F&amp;searchRoot=http%3A%2F%2Fwww.adminlinux.org%2Fsearch" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" title="Blogger Navigation and Search"></iframe> <div></div>

Dreaming Linux, Save Unix Save the World....

Wednesday, 11 June 2008

How to Enable OpenDNS: Unix/Linux BIND


Overview

  1. Find the BIND configuration file that contains the options statement.
  2. Inside the options statement, add a forwarders statement that lists the OpenDNS servers.
  3. Reload BIND's configuration.

Print-ready instructions

1. Find the BIND configuration file that contains the options statement.

If /etc/bind/named.conf.options exists on your system, it probably contains the options/etc/named.conf, /etc/bind/named.conf, or /etc/namedb/named.conf. statement. Otherwise, look for it in

The options statement resembles this:

options {
...
};

2. Inside the options statement, add a forwarders statement that lists the OpenDNS servers.

If a forwarders statement already exists, replace it.

The options statement should now resemble this:

options {
forwarders { 208.67.222.222; 208.67.220.220; };
...
};

3. Reload BIND's configuration.

The method for this varies from system to system, but is likely to be rndc reload (for BIND 9) or ndc reload (for BIND 8).


Need Help? Join Our Chat Room

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home