找回密码
 注册
查看: 454|回复: 0

域名解析不了,只能用ip访问!

[复制链接]
发表于 2003-6-13 16:21:09 | 显示全部楼层 |阅读模式
下面是几个文件的内容:
---------------------------------------------
resolv.conf
      search physics.bnu.edu.cn
       nameserver 127.0.0.1
---------------------------------------------
host.conf
   order hosts,bind
----------------------------------------------
named.conf
         

     // generated by named-bootconf.pl

     options {
        directory "/var/named";
        /*
         * If there is a firewall between you and nameservers you     want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
        // query-source address * port 53;
        forward first;
        forwarders {
             202.112.80.106;
             202.112.10.36;
             202.112.0.35;
             61.163.241.5;
         };
};

    //
    // a caching only nameserver config
   //
   controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
     zone "." IN {
        type hint;
        file "named.ca";
  };

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };
};

include "/etc/rndc.key";

zone "physics.bnu.edu.cn" IN {
        type master;
        file "physics.bnu.edu.cn";
        notify no;
};

--------------------
请问,该如何解决?
非常感谢!
域名:physics.bnu.edu.cn
ip:202.112.94.136
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-3-4 05:38 , Processed in 0.021668 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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