当前位置:主页 >无需存款电竞送彩金

无需存款电竞送彩金:基于Fedora Core NFS服务器搭建过程

发布时间:02月07日 阅读:676



域名办事器搭建主要涉及的文件主要有:

(1)/etc/named.conf,此文件一样平常是个软链接;

(2)/etc/hosts(非必须)

(3)/etc/host.conf (一样平常不必要改动,有 order hosts,bind即可)

(4)/var/named/*

此文档只是一个NFS的低级搭建工程,便是能够运行的级别,没有什么高档设置,目的是快速入门。

当然首先要查查系统是否已无需存款电竞送彩金经安装了DNS的软件对象(BIND)无需存款电竞送彩金,如没有那只有拿来光盘从新安装或者到官方网站下载源码包编译安装,此处是采纳系统自带的BIND;

接下来便是进行相关文件的设置设置设备摆设摆设了;

相关的设置设置设备摆设摆设文件均在/var/named目录下,主要设置设置设备摆设摆设为/var/named/chroot/etc/named.conf,域解析文件放在/var/named/chroot/var/named目录下;

这次的目的便是搭建一个简单的DNS办事器,并且设置DNS办事器的主机名;

详细步骤如下:

1、设置设置设备摆设摆设named.conf文件

/var/named/chroot/etc/named.conf主要添加的设置设置设备摆设摆设内容如下:

zone "osservers.com" IN {

type master;

file "osserver.com.zone";

allow-update { none; };

};

zone "67.20.172.in-addr.arpa" IN {

type master;

file "zone.osserve无需存款电竞送彩金r.com";

allow-update { none; };

};

2、设置设置设备摆设摆设响应的解析文件

两个解析文件如下:(/var/named/chroot/var/named)

/var/named/chroot/var/named /osserver.com.zone文件:

$TTL 86400

@ IN SOA dns.osservers.com. root.osservers.com. (

42 ; serial (d. adams)

3H ; refresh

15M ; retry

1W ; expiry

1D ) ; minimum

IN NS dns.osservers.com.

IN NS 172.20.67.203

dns.osservers.com. IN A 172.20.67.203

www IN A 172.20.67.203

/var/named/chroot/var/named /zone.osserver.com文件:

$TTL 86400

@ IN SOA dns.osservers.com. root.osservers.com. (

1997022700 ; Serial

28800 ; Refresh

14400 ; Retry

3600000 ; Expire

86400 ) ; Minimum

IN NS dns.osservers.com.

203 IN PTR www.osservers.com.

3、从新启动办事

/etc/init.d/无需存款电竞送彩金named restart

4、测试部分

(1)设置域名文件/etc/resolve.conf,将nameserver 172.20.67.203加入;

(2)采纳nslookup/host/测试:

[root@samba named]# nslookup

> 172.20.67.203

Server: 172.20.67.203

Address: 172.20.67.203#53

203.67.20.172.in-addr.arpa name = www.osservers.com.

> www.osservers.com

Server: 172.20.67.203

Address: 172.20.67.203#53

Name: www.osservers.com

Address: 172.20.67.203

>

[root@samba named]# host www.osservers.com

www.osservers.com has address 172.20.67.203

[root@samba named]# host 172.20.67.203

203.67.20.172.in-addr.arpa domain name pointer www.osservers.com.

[root@samba named]#

[root@samba named]# dig www.osservers.com

; > DiG 9.3.2 > www.osservers.com

;; global options: printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3294

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:

;www.osservers.com. IN A

;; ANSWER SECTION:

www.osservers.com. 86400 IN A 172.20.67.203

;; AUTHORITY SECTION:

osservers.com. 86400 IN NS 172.20.67.203.

osservers.com. 86400 IN NS dns.osservers.com.

;; ADDITIONAL SECTION:

dns.osservers.com. 86400 IN A 172.20.67.203

;; Query time: 1 msec

;; SERVER: 172.20.67.2无需存款电竞送彩金03#53(172.20.67.203)

;; WHEN: Wed Apr 25 13:39:31 2007

;; MSG SIZE rcvd: 112

OK,搞定!

简单的DNS办事器完成了。



上一篇:雷竞技下载官方版:一棵小草的坚守新闻频道中国青年网
下一篇:电竞下载app送彩金:《环球时报》社评:向李文亮医生致以敬意