我的dns问题???

由 Snoopy 在 03-18-2003 18:31 发表:

我的dns问题???

我在etc/resolv.conf内容如下

nameserver 202.116.128.1

nameserver 202.116.17.33

domain snoopy.gov

search snoopy.gov

nameserver 192.168.112.88

etc/named.conf的内容如下

// generated by named-bootconf.pl

options {

directory "/var/named";

version"Snoopy.vaersion";

forward only;

forwarders{192.168.100.1;};

};

  • 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;

};

//

// 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; };

file "localhost.zone";

allow-update { none; };

};

zone "0.0.127.in-addr.arpa" IN {

type master;

file "named.local";

allow-update { none; };

};

zone "snoopy.gov" {

type master;

file "snoopy.gov.rev";

};

zone "112.168.192.in-addr.arpa" {

type master;

file "192.168.112.PTR";

};

include "/etc/rndc.key";

创建了var/named/snoopy.gov.rev内容如下

$TTL 86400

@ IN SOA snoopy.gov. root.local. (

2003030801

28800

14400

3600000

IN NS dns.snoopy.gov.

MX 10 192.168.112.88

dns IN A 192.168.112.88

www IN A 192.168.112.88

mail IN CNSME dns.snoopy.gov.

创建了var/named/192.168.112.PTR

$TTL 86400

@ IN SOA snoopy.gov. root.local.(

2003030802

28800

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