Hi Pls check my dns configuration file, and help me. thanks.

由 liangdx 在 08-03-2003 18:04 发表:

Hi Pls check my dns configuration file, and help me. thanks.

Below is my Dns configuration file pls help me check error and tell me.


File name: named.conf

options {

directory "var/named";

forwarders {

202.96.128.68;

};

allow-query { any; };

allow-transfer { any; };

};

zone "." {

type hint;

file "named.root";

};

zone "localhost" {

type master;

file "named.localhost";

};

zone "0.0.127.in-addr.arpa" {

type master;

file "named.127.0.0";

};

zone "dgebfl.com" {

type master;

file "named.dgebfl.com";

};

zone "1.168.192.in-addr.arpa" {

type master;

file "named.192.168.1";

};


File name: named.dgebfl.com

$TTL 600

@ IN SOA dgebfl.com. root.dgebfl.com. (

2002120601;

28800;

14400;

720000;

@ IN NS dgebfl.com.

@ IN MX 10 dgebfl.com.

dgebfl.com IN A 192.168.1.13

dgebfl.com IN TXT "The testing DNS server"

www.dgebfl.com IN CNAME dgebfl.com


File name: named.192.168.1

$TTL 600

@ IN SOA dgebfl.com. root.dgebfl.com. (

2002120601;

28800;

14400;

720000;

@ IN NS dgebfl.com.

13 IN PTR dgebfl.com.


File name: named.localhost

$TTL 600

@ IN SOA localhost. root.localhost. (

2002120601;

28800;

14400;

720000;

@ IN NS localhost.

localhost. IN A 127.0.0.1


File name: named.127.0.0

$TTL 600

@ IN SOA localhost. root.localhost. (

2002120601;

28800;

1400;

720000;

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