Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1794939
  • 博文数量: 286
  • 博客积分: 3713
  • 博客等级: 少校
  • 技术积分: 2275
  • 用 户 组: 普通用户
  • 注册时间: 2012-01-11 09:47
个人简介

http://blog.chinaunix.net/uid/16979052.html

文章分类

全部博文(286)

文章存档

2018年(1)

2017年(16)

2016年(9)

2015年(17)

2014年(15)

2013年(112)

2012年(116)

分类: LINUX

2012-07-04 08:46:25

// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
listen-on port 53 { localhost; any; };
//listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
query-source port 53;
allow-query { any; };
max-ncache-ttl 60;
//recursion yes;
forward first;
forwarders { 202.107.117.11; };
};
logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

zone "xxxx.com" IN {
type master;
file "xxxx.zone";
allow-update { none; };
};

include "/etc/named.rfc1912.zones";

阅读(1734) | 评论(0) | 转发(0) |
0

上一篇:report_hw.sh

下一篇:vim的寄存器

给主人留下些什么吧!~~