免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2719 | 回复: 8
打印 上一主题 下一主题

dns的示例文件到哪里找? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2002-07-24 15:00 |只看该作者 |倒序浏览
注意:

我不是要到别的网页去找哪些帮助性的文章。

我想要的是,你装完bind以后,

除了本机和bind的网址之外不去任何其他的地方的找到示例文件的方法。

也就是所谓的绿色安装法。

论坛徽章:
0
2 [报告]
发表于 2002-07-24 15:26 |只看该作者

dns的示例文件到哪里找?

Client

#/etc/nsswitch.dns:
#
# An example file that could be copied over to /etc/nsswitch.conf&#59; it uses
# DNS for hosts lookups, otherwise it does not use any other naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

passwd:     files
group:      files
# You must also set up the /etc/resolv.conf file for DNS name
# server lookup.  See resolv.conf(4).
hosts:      files dns
networks:   files
protocols:  files
rpc:        files
ethers:     files
netmasks:   files
bootparams: files
publickey:  files
# At present there isn't a 'files' backend for netgroup&#59;  the system will
#   figure it out pretty quickly, and won't use netgroups at all.
netgroup:   files
automount:  files
aliases:    files
services:   files
sendmailvars:   files
/etc/resolv.conf
domainunisat.com.cn.
&#59;search211.94.192.66
search192.167.1.201
&#59;nameserver211.94.129.66
nameserver192.167.1.201

server
/etc/named.conf
options {
directory "/var/named"&#59;

}&#59;


zone "unisat.com.cn" in {
type master&#59;
file "unisat.host"&#59;
}&#59;

zone "131.94.211.in-addr.arpa" in {
type master&#59;
file "unisat.rev"&#59;
}&#59;

zone "1.167.192.in-addr.arpa" in {
        type master&#59;
        file "unisat.167.rev"&#59;
}&#59;

zone "1.168.192.in-addr.arpa" in {
type master&#59;
file "unisat.rev1"&#59;
}&#59;

zone "0.0.127.in-addr.arpa" in {
type master&#59;
file "unisat.local"&#59;
}&#59;

zone "." in {
type hint&#59;
file "unisat.ca"&#59;
}&#59;
/var/named/unisat.host
@insoans.unisat.com.cn. root.ns.unisat.com.cn.(
  001.02
10800
3600
43200
86400 )
                   innsns.unisat.com.cn.
unisat.com.cn.in mx 10mail.unisat.com.cn.
&#59;unisat.com.cn.in mx 10192.167.1.202
&#59;unisat.com.cn.in mx 211.94.131.33
&#59;ns.unisat.com.cn.        ina211.94.129.66
ns.unsat.com.cn.ina211.94.131.34
dell.unisat.com.cn.ina192.168.1.153
&#59;unisat.unisat.com.cn.ina192.168.1.178
localhost.unisat.com.cn.ina127.0.0.1
&#59;www.unisat.com.cn.ina211.94.129.65
&#59;unisat.unisat.com.cn.ina211.94.129.65
www.unisat.com.cn.ina211.94.131.33
&#59;unisat.unisat.com.cn.ina211.94.131.33
unisat.unisat.com.cn.ina192.167.1.202
incnamemail.unisat.com.cn.
mail.unisat.com.cn.ina211.94.131.33
&#59;incnameunisat.unisat.com.cn.
/var/named/unisat.rev
@insoans.unisat.com.cn. root.ns.unisat.com.cn. (
001.00
10800
3600
43200
86400 )
innsns.unisat.com.cn.
34inptrns.unisat.com.cn.
33inptrwww.unisat.com.cn.
33inptrmail.unisat.com.cn.
/var/named/unisat.167.rev
@insoans.unisat.com.cn. root.ns.unisat.com.cn. (
001.00
10800
3600
43200
86400 )
innsns.unisat.com.cn.
&#59;66inptrns.unisat.com.cn.
201inptrns.unisat.com.cn.
202inptrwww.unisat.com.cn.
202inptrunisat.unisat.com.cn.
202inptrmail.unisat.com.cn.
&#59;178inptrunisat.unisat.com.
&#59;65inptrwww.unisat.com.cn.
/var/named/unisat.rev1
@insoans.unisat.com.cn. root.ns.unisat.com.cn. (
001.00
10800
3600
43200
86400 )
innsns.unisat.com.cn.
&#59;66inptrns.unisat.com.cn.
153inptrdell.unisat.com.cn.
&#59;178inptrunisat.unisat.com.
&#59;65inptrwww.unisat.com.cn.

/var/named/unisat.ca

&#59;.inNSrealserver.unisat.com.
&#59;realserver.unisat.com.inA211.94.129.66
.                        3600000  IN  NS    A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET.      3600000      A     198.41.0.4
&#59;
.                        3600000      NS    B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET.      3600000      A     128.9.0.107
&#59;
.                        3600000      NS    C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET.      3600000      A     192.33.4.12
&#59;
.                        3600000      NS    D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET.      3600000      A     128.8.10.90
&#59;
.                        3600000      NS    E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET.      3600000      A     192.203.230.10
&#59;
.                        3600000      NS    F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET.      3600000      A     192.5.5.241
&#59;
.                        3600000      NS    G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET.      3600000      A     192.112.36.4
&#59;
.                        3600000      NS    H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET.      3600000      A     128.63.2.53
&#59;
.                        3600000      NS    I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET.      3600000      A     192.36.148.17
&#59;
.                        3600000      NS    J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET.      3600000      A     198.41.0.10&#59;
/var/named/unisat.local
&#59;
@    IN    SOA    ns.unisat.com.cn.root.ns.unisat.com.cn. (
                                2001022501&#59; Serial
                                10800   &#59; Refresh
                                3600    &#59; Retry
                                604800  &#59; Expire
                                86400 ) &#59; Minimum TTL of 1 day
        IN      NS      ns.unisat.com.cn.
1INPTRlocalhost.

论坛徽章:
0
3 [报告]
发表于 2002-07-24 15:38 |只看该作者

dns的示例文件到哪里找?

老大啊,你在哪里搞到的这个啊?确实有用,。。。。
不是绿色的,,最好能找到一个本机就能有的。
我在本机器的/usr/local/doc/找到了一个option的帮助文件。
但是剩下的那些可以当例子的文件一个也没找到。。
谁有办法?大家安装的时候都怎么弄的啊?
我以前是找别人的例子的。但是,现在我觉得这不太好,不是正途。

论坛徽章:
0
4 [报告]
发表于 2002-07-24 15:40 |只看该作者

dns的示例文件到哪里找?

这是我以前作DNS的笔记。
就那几个文件。
配好就可以了!

论坛徽章:
0
5 [报告]
发表于 2002-07-24 15:46 |只看该作者

dns的示例文件到哪里找?

很感谢你。但是我的绿色DNS怎么办啊?
我主要是要这个绿色的方法。

论坛徽章:
0
6 [报告]
发表于 2002-07-25 08:25 |只看该作者

dns的示例文件到哪里找?

不知道哪位能给个绿色的方法。

论坛徽章:
0
7 [报告]
发表于 2002-07-25 11:10 |只看该作者

dns的示例文件到哪里找?

换个IP和域名就可以了,
你还要多绿?

论坛徽章:
0
8 [报告]
发表于 2002-07-25 11:13 |只看该作者

dns的示例文件到哪里找?

faint......


看来是没人会了。。。。

论坛徽章:
0
9 [报告]
发表于 2002-07-25 14:41 |只看该作者

dns的示例文件到哪里找?

老大来了。up 一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP