我用 debian base linux准备做一个动态域名解析。我设完了以后,发现出了用本系统可以 ping得到
比如我 作了 2个
ubu.home 192.168.11.13 (本机)
winxp.home 192.168.11.15
就能够ping的到。
但是我从 192.168.11.15就没有办法找到任何一个,系统反映无法解析域名。
我修改的文件包括
hosts
resolv.conf
named.conf
还有哪些 /var/cache/bind/下面的配置文件
我会依次贴出来,希望大家能给点主意
DDNS 问题...
-
- 帖子: 14
- 注册时间: 2006-07-02 17:47
-
- 帖子: 14
- 注册时间: 2006-07-02 17:47
hosts
代码: 全选
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
192.168.11.13 debian.home debian
192.168.11.2 workunit.home debian
192.168.11.15 wintest.home debian
-
- 帖子: 14
- 注册时间: 2006-07-02 17:47
named.conf
代码: 全选
include "/etc/bind/named.conf.options";
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
include "/etc/bind/named.conf.local";
zone "home" {
type master;
file "/var/cache/bind/home.hosts";
};
zone "11.168.192.in-addr.arpa" {
type master;
file "/var/cache/bind/192.168.11.rev";
};
-
- 帖子: 14
- 注册时间: 2006-07-02 17:47
在 var/cache/bind 下的 192.168.11。rev
代码: 全选
$ttl 38400
11.168.192.in-addr.arpa. IN SOA debian.home. root.debian.home. (
1039102453
10800
3600
604800
38400 )
11.168.192.in-addr.arpa. IN NS debian.home.
2.11.168.192.in-addr.arpa. IN PTR workunit.home.
15.11.168.192.in-addr.arpa. IN PTR wintest.home.
13.11.168.192.in-addr.arpa. IN PTR debian.home.