MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 1 as of 2013-06-24 11:16:17
  • DNSForwarder

DNS Forwarder

Install a DNS forwarder on CentOS 6.3:

  • yum install bind

Edit /etc/named.conf:

   1 options {
   2         directory "/var/named";
   3         forwarders { 8.8.8.8; 8.8.4.4; };
   4 };
   5 
   6 zone "example.lan" in {
   7   type forward;
   8   forwarders { 192.168.3.56; };
   9 };
  10 
  11 zone "xpto.lan" in {
  12   type forward;
  13   forwarders { 10.0.3.3; };
  14 };

Run the following commands:

  • service named start
  • chkconfig named on
  • netstat -a -n | grep ":53" | grep LISTEN
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01