LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 657|回复: 3

dns的配制文件,请大家指点一下,多谢

[复制链接]
发表于 2003-12-14 09:14:27 | 显示全部楼层 |阅读模式
#cat /var/named/name2ip.conf
$TTL  1D
$ORIGIN jamond.net
@ IN SOA  shrike.jamond.net.  root.shrike.jamond.net.(
                     2003121001
                     3H
                     15M
                     1W
                     1D)

   IN NS  shrike.jamond.net.
   IN MX  10  shrike.jamond.net.

@   IN A 128.111.80.194

shrie IN A 128.111.80.194
      IN MX 0 shrike.jamond.net.

#cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       luxiao  localhost.localdomain   localhost

#cat /etc/resolv.conf
nameserver 128.111.80.194
domain jamond.net
search jamond.net

# nslookup
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.
> shrike.jamond.net
;; connection timed out; no servers could be reached

是哪里出错了,我实在是找不出原因了
 楼主| 发表于 2003-12-14 09:19:32 | 显示全部楼层

dns

#cat /var/named/name2ip.conf
$TTL  1D
$ORIGIN jamond.net
@ IN SOA  shrike.jamond.net.  root.shrike.jamond.net.(
                     2003121001
                     3H
                     15M
                     1W
                     1D)

   IN NS  shrike.jamond.net.
   IN MX  10  shrike.jamond.net.

@   IN A 128.111.80.194

shrie IN A 128.111.80.194
      IN MX 0 shrike.jamond.net.

#cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       luxiao  localhost.localdomain   localhost

#cat /etc/resolv.conf
nameserver 128.111.80.194
domain jamond.net
search jamond.net

# nslookup
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.
> shrike.jamond.net
;; connection timed out; no servers could be reached

是哪里出错了,我实在是找不出原因了
发表于 2003-12-15 09:02:34 | 显示全部楼层
nslookup
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.
> shrie.shrike.jamond.net
发表于 2003-12-15 12:05:55 | 显示全部楼层

如果是正解区域文件的话,不能少了这一句

localhost IN A 127.0.0.1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表