xxf 回复于:2002-07-24 15:26:04 |
Client #/etc/nsswitch.dns: # # An example file that could be copied over to /etc/nsswitch.conf; 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; 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. ;search211.94.192.66 search192.167.1.201 ;nameserver211.94.129.66 nameserver192.167.1.201 server /etc/named.conf options { directory "/var/named"; }; zone "unisat.com.cn" in { type master; file "unisat.host"; }; zone "131.94.211.in-addr.arpa" in { type master; file "unisat.rev"; }; zone "1.167.192.in-addr.arpa" in { type master; file "unisat.167.rev"; }; zone "1.168.192.in-addr.arpa" in { type master; file "unisat.rev1"; }; zone "0.0.127.in-addr.arpa" in { type master; file "unisat.local"; }; zone "." in { type hint; file "unisat.ca"; }; /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. ;unisat.com.cn.in mx 10192.167.1.202 ;unisat.com.cn.in mx 211.94.131.33 ;ns.unisat.com.cn. ina211.94.129.66 ns.unsat.com.cn.ina211.94.131.34 dell.unisat.com.cn.ina192.168.1.153 ;unisat.unisat.com.cn.ina192.168.1.178 localhost.unisat.com.cn.ina127.0.0.1 ;www.unisat.com.cn.ina211.94.129.65 ;unisat.unisat.com.cn.ina211.94.129.65 www.unisat.com.cn.ina211.94.131.33 ;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 ;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. ;66inptrns.unisat.com.cn. 201inptrns.unisat.com.cn. 202inptrwww.unisat.com.cn. 202inptrunisat.unisat.com.cn. 202inptrmail.unisat.com.cn. ;178inptrunisat.unisat.com. ;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. ;66inptrns.unisat.com.cn. 153inptrdell.unisat.com.cn. ;178inptrunisat.unisat.com. ;65inptrwww.unisat.com.cn. /var/named/unisat.ca ;.inNSrealserver.unisat.com. ;realserver.unisat.com.inA211.94.129.66 . 3600000 IN NS A.ROOT-SERVERS.NET. A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4 ; . 3600000 NS B.ROOT-SERVERS.NET. B.ROOT-SERVERS.NET. 3600000 A 128.9.0.107 ; . 3600000 NS C.ROOT-SERVERS.NET. C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12 ; . 3600000 NS D.ROOT-SERVERS.NET. D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90 ; . 3600000 NS E.ROOT-SERVERS.NET. E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10 ; . 3600000 NS F.ROOT-SERVERS.NET. F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241 ; . 3600000 NS G.ROOT-SERVERS.NET. G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4 ; . 3600000 NS H.ROOT-SERVERS.NET. H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53 ; . 3600000 NS I.ROOT-SERVERS.NET. I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17 ; . 3600000 NS J.ROOT-SERVERS.NET. J.ROOT-SERVERS.NET. 3600000 A 198.41.0.10; /var/named/unisat.local ; @ IN SOA ns.unisat.com.cn.root.ns.unisat.com.cn. ( 2001022501; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 86400  ![]() IN NS ns.unisat.com.cn. 1INPTRlocalhost. |
ultra-guest 回复于:2002-07-24 15:38:14 |
老大啊,你在哪里搞到的这个啊?确实有用,。。。。 不是绿色的,,最好能找到一个本机就能有的。 我在本机器的/usr/local/doc/找到了一个option的帮助文件。 但是剩下的那些可以当例子的文件一个也没找到。。 谁有办法?大家安装的时候都怎么弄的啊? 我以前是找别人的例子的。但是,现在我觉得这不太好,不是正途。 |
xxf 回复于:2002-07-24 15:40:57 |
这是我以前作DNS的笔记。 就那几个文件。 配好就可以了! |
ultra-guest 回复于:2002-07-24 15:46:06 |
很感谢你。但是我的绿色DNS怎么办啊? 我主要是要这个绿色的方法。 |
ultra-guest 回复于:2002-07-25 08:25:08 |
不知道哪位能给个绿色的方法。 |
xxf 回复于:2002-07-25 11:10:48 |
换个IP和域名就可以了, 你还要多绿? |
ultra-guest 回复于:2002-07-25 11:13:08 |
faint...... 看来是没人会了。。。。 |
ultra-guest 回复于:2002-07-25 14:41:02 |
老大来了。up 一下。 |