问ln -s 的命令问题(附图)
ln -s / var/named/192.168.186 / var/named/chroot/ var/named/192.168.186
这样是对的吗?
谁能告诉我一下.我做完了.
可是ls -al
还是看不到做上连接啊
谁能告诉我这个蓝色的连接的命令应该怎么写啊
[ 本帖最后由 mdjhaitao 于 2006-10-25 11:35 编辑 ]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
$TTL 3600
@ IN SOA dns.aaaa.com. hostmaster.aaaa.com. (
2005101101 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
$INCLUDE /var/named/includes/hosts-dns
$INCLUDE /var/named/includes/hosts-mx
IN A 192.168.186.130
ftp IN CNAME aaaa.com.
www IN CNAME aaaa.com.
mx1 IN A 192.168.186.130
$TTL 86400
@ IN SOA aaaa.com. webmaster.aaaa.com. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS aaaa.com.
; IN A 221.212.139.246
;admin IN A 221.212.139.246
130 IN PTR aaaa.com.
光看这个文件什么也看不出来
你在把var/named/chroot/named/
[ 本帖最后由 fanzhou 于 2006-10-25 16:24 编辑 ]
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named/";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* 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 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "aaaa.com" IN {
type master;
file "drivers.hnfch.cn";
allow-update { none; };
};
zone "186.168.192.in-addr.arpa" IN {
type master;
file "192.168.186";
allow-update { none; };
};
include "/etc/rndc.key";
我觉得我的DNS配置的文件都没问题啊.
可是现在是正向不好使.反向好使.
先说你意图,看不懂你的命令
这样的我试过了可是没有边成蓝色状态.
而且.连接的文件那边。也没有数据.
ln -s 原文件 连接文件
在等.........
在线等待.........