linux 配置大全,LINUX服务器配置大全.pdf

LINUX 服务器配置大全

一: DNS 服务器的设置

1. 编辑/etc/named.conf

// generated by named-bootconf.pl

options {

directory "/var/named";

/*

* If there is a firewall between you and nameservers you want

* to talk to, you might need to uncomment the query-source

* directive below. Previous versions of BIND always asked

* questions using port 53, but BIND 8.1 uses an unprivileged

* port by default.

*/

// query-source address * port 53;

}; !

// !

// a caching only nameserver config 创

// 原

controls { 非

inet allow { localhost; } keys { rndckey; };

}; 理

zone "." IN { 整

type hint; 人

file "named.ca"; 本

};

zone "" IN {

type master;

file "";

allow-update { none; };

};

zone "1.168.192." IN {

type master;

file ".rev";

allow-update { none; };

};

zone "localhost" IN {

type master;

file "localhost.zone";

allow-update { none; };

};

zone "0.0.127." IN {

type master;

file "named.local";

allow-update { none; };

};

include "/etc/rndc.key";

2. 编辑正向解析文件/var/named/

$TTL 86400

@ IN SOA . . (

1997022700 ; Serial

28800 ; Refresh !

14400 ; Retry !

3600000 ; Expire

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值