DNS服务器问题

由 bd6oc 在 03-09-2004 18:52 发表:

DNS服务器问题

最近无事想装个DNS服务器玩玩,可是怎么也搞不定,在BBS上转了几天,看了N多的文章,还是搞不定,没办法,只好发个贴子让朋友们帮帮忙了。

两台办公室局域网的机器,一台LINUX9,IP:10.57.36.97,一台WindowsXP,10.57.36.96,想用LINUX当DNS服务器,已经装上了DNS软件,装XP的DNS地址改为LINUX地址10.57.36.97,可以正常访问互联网.

想将XP做为WWW服务,域名为 www.pdscnc.com

下面是我的name.conf(只写关键部分)

------------------------

zone "pdscnc.com" IN {

type master;

file "pdscnc.com.db";

};

----------------------

pdscnc.com.db内容

-----------------------

$ TTL 86400

$ ORLGIN pdscnc.com.

@ IN SOA pdscnc.com. root.pdscnc.com. (

20040309001;serial

28800;refresh

14400;retry

3600000;expire

86400; )

IN NS pdscnc.com.

IN MX 10 pdscnc.com.cn.

www IN A 10.57.36.96

mail IN A 10.57.36.96

-----------------------------------

nslookup命令结果:

----------------------------

[root@www named]# nslookup www.pdscnc.com

Note: nslookup is deprecated and may be removed from future releases.

Consider using the dig' or host' programs instead. Run nslookup with

the `-sil[ent]' option to prevent this message from appearing.

Server: 10.57.36.97

Address: 10.57.36.97#53

** server can't find www.pdscnc.com: SERVFAIL

--------------------------------------

现在不能解析 www.pdscnc.com这个网址。请问如何解决??


由 bd6oc 在 03-10-2004 14:51 发表:


没有人知道吗??


由 Snoopy 在 03-10-2004 16:13 发表:


xp的dns客户端为10.57.36.96,有吗?


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 bd6oc 在 03-12-2004 09:31 发表:


@ IN SOA ns.pdscnc.com. root.pdscnc.com. (

2003092604 ; serial

7200 ; refresh

3600 ; retry

3600000 ; expire

7200 ; default_ttl

)

IN NS ns.pdscnc.com.

IN MX 10 mail.pdscnc.com.

www IN A 10.57.36.97

mail IN A 10.57.36.97

------------

我从朋友哪儿拷了一份改过后的配置文件,现在DNS已经基本正常了,可是问题出在哪儿了我也不太清楚.

现在还有一个问题就是,DNS有部分网址不能解析出来,不知道大家有没有遇到这种情况.


由 dancingpig 在 03-12-2004 09:48 发表:


想将XP做为WWW服务

一台LINUX9,IP:10.57.36.97,一台WindowsXP,10.57.36.96

IN NS ns.pdscnc.com.

IN MX 10 mail.pdscnc.com.

www IN A 10.57.36.97

mail IN A 10.57.36.97

请问楼住何以正常?


由 Snoopy 在 03-12-2004 12:38 发表:


/etc/resolv.conf呢?


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 bd6oc 在 03-13-2004 18:35 发表:


已经在LINUX上装了APACHE,现在用LINUX做 WWW.

[root@sbzy-server etc]# cat resolv.conf

domain pdscnc.com

search pdscnc.com

nameserver 10.57.36.97

nameserver 202.102.227.68

nameserver 202.102.224.68

后面两个是河南的DNS服务器.

可是现在还有个问题,有部分网址不能正常解析..不知道是什么原因.

[root@sbzy-server etc]# nslookup

Note: nslookup is deprecated and may be removed from future releases.

Consider using the dig' or host' programs instead.

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus