急!动态域名的dns服务器设置问题!?

由 zengguang8299 在 07-26-2004 20:28 发表:

急!动态域名的dns服务器设置问题!?

我申请了一个动态域名zgzg.3322.org,上adsl用软件更新ip后

ping zgzg.3322.org可以

可是为什么ping www.zgzg.3322.org不行,ping www.zgzg.3322.org也不行

我设置了本机为dns了,配置文件如下

name.conf:

options {

directory "/var/named";

};

zone "." {

type hint;

file "named.root";

};

zone "zgzg.3322.org" {

type master;

file"zg.zone";

};

zone "0.168.192.in-addr.arpa" {

type master;

file "0.168.192.arpa";

zg.zone:

$TTL 86400 ;

;

@ IN SOA ns.zgzg.3322.org. root.ns.zg.3322.org. (

2004051501 ; Serial

28800 ; Refresh

14400 ; Retry

720000 ; Expire

86400 ) ; minimum

;

@ IN NS ns.zgzg.3322.org.

@ IN MX 10 mail.zgzg.3322.org.

ns IN A 192.168.0.1

mail IN A 192.168.0.1

www IN A 192.168.0.1

ftp IN A 192.168.0.1

web CNAME www


由 Glue 在 07-26-2004 20:38 发表:


/etc/resolv.conf是怎么设置的?


-_-


由 Snoopy 在 07-26-2004 20:41 发表:


你怎么搞都不可以的,你自己没办法做zgzg的dns的

因为3322.org不会将zgzg授权给你的,也就是cname记录和a记录


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


由 zengguang8299 在 07-26-2004 20:52 发表:


resolv.conf:

nameserver 202.106.0.20

nameserver 202.106.46.151

nameserver 192.168.0.1

难道也没法做sendmail?

那这动态域名能干什么?


由 Glue 在 07-26-2004 20:57 发表:


刚刚申请了一个,比较有发言权了

其实你不用自己做DNS服务,打开通配符功能,就会把

*.zgzg.3322.org都指向你的IP。


-_-


由 Glue 在 07-26-2004 20:59 发表:


你的IP是私有的,外面见不到,所以还是别想sendmail的事了吧。


-_-


由 Snoopy 在 07-26-2004 21:05 发表:


即使是公网ip你也没办法做zgzg.3322.org的dns,也就是你想自己建什么子域就什么,自己操作而不用登录3322修改

这些都不会成功的,

> quote: > > * * * > > 最初由 Glue 发表
>
> **刚刚申请了一个,比较有发言权了
>
> 其实你不用自己做DNS服务,打开通配符功能,就会把
>
> *.zgzg.3322.org都指向你的IP。 ** > > * * *

这只是个简单的a记录而已,

所以兄弟你只能老老实实的用3322.org的东西了,它为安全问题不给人授权,并且是免费的,所以不提供

平时如果你买域名时,你可以叫提供商将cname和ns指给你,你就可以自己做,或是做这个域的主dns服务器,


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


由 Glue 在 07-26-2004 21:10 发表:


NS我知道,可CNAME是个啥啊,为啥非要不可呢


-_-


由 zengguang8299 在 07-26-2004 21:13 发表:


linux下怎么打开通配伏,还有我想请教的是在zgzg.zone中,我写www,ftp的是指的apache,ftp服务吗?还是只不过是个网页而已?谢

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