Bind服务
1、 安装
yum install bind-chroot
修改配置文件vim /etc/named.conf
1//
2 // named.conf
3 //
4 // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
5 // server as a caching only nameserver (as a localhost DNS resolver only).
6 //
7 // See /usr/share/doc/bind*/sample/ for example named configuration files.
8 //
9
10 options {
11 listen-on port 53 { any; };
12 listen-on-v6 port 53 { ::1; };
13 directory “/var/named”;
14 dump-file “/var/named/data/cache_dump.db”;
15 statistics-file “/var/named/data/named_stats.txt”;
16 memstatistics-file “/var/named/data/named_mem_stats.txt”;
17 allow-query { any; };
18
19 /*
20 - If you are building an AUTHORITATIVE DNS server, do NOT enable re cursion.
1,1 Top
21 - If you are building a RECURSIVE (caching) DNS server, you need to enable
22 recursion.
23 - If your rec
bind服务搭建
最新推荐文章于 2024-08-18 20:04:05 发布
本文介绍了如何在Linux系统上安装并配置Bind服务,包括修改named.conf文件,设置DNS区域,创建并编辑zone文件,以及启动和验证服务。通过详细步骤,展示了如何建立权威DNS服务器并管理域名解析。
摘要由CSDN通过智能技术生成