Overview
- Find the BIND configuration file that contains the options statement.
- Inside the options statement, add a forwarders statement that lists the OpenDNS servers.
- Reload BIND's configuration.
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).
No comments:
Post a comment