DDNS 问题...

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
jiaoyj
帖子: 14
注册时间: 2006-07-02 17:47
送出感谢: 0
接收感谢: 0
联系:

DDNS 问题...

#1

帖子 jiaoyj » 2006-11-08 17:48

我用 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/下面的配置文件
我会依次贴出来,希望大家能给点主意
jiaoyj
帖子: 14
注册时间: 2006-07-02 17:47
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 jiaoyj » 2006-11-08 17:49

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
jiaoyj
帖子: 14
注册时间: 2006-07-02 17:47
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 jiaoyj » 2006-11-08 17:50

resolv.conf

代码: 全选

domain home.
nameserver 192.168.11.13
jiaoyj
帖子: 14
注册时间: 2006-07-02 17:47
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 jiaoyj » 2006-11-08 17:51

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";
};
jiaoyj
帖子: 14
注册时间: 2006-07-02 17:47
送出感谢: 0
接收感谢: 0
联系:

#5

帖子 jiaoyj » 2006-11-08 17:53

在 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.



jiaoyj
帖子: 14
注册时间: 2006-07-02 17:47
送出感谢: 0
接收感谢: 0
联系:

#6

帖子 jiaoyj » 2006-11-08 17:53

home.hosts

代码: 全选

$ttl 38400
home.   IN SOA debian.home. root.debian.home. (
        1039102090
        10800
        3600
        604800
        38400 )
home. IN NS debian home.
debian.home. IN A 192.168.11.13
workunit.home. IN A 192.168.11.2
wintest.home. IN A 192.168.11.15

jiaoyj
帖子: 14
注册时间: 2006-07-02 17:47
送出感谢: 0
接收感谢: 0
联系:

#7

帖子 jiaoyj » 2006-11-08 17:55

我用的是bind9,
回复

回到 “服务器基础应用”