redhat 8.0 下的dns问题

由 sypipi 在 03-14-2003 23:13 发表:

redhat 8.0 下的dns问题

最近装了个redhat linux 8.0 用他来试一下dns

//////////////named.conf

controls {

inet 127.0.0.1 allow { localhost; } keys { rndckey; };

};

include "/etc/named.custom";

include "/etc/rndc.key";

options {

directory "/var/named/";

};

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

type master;

file "0.0.127.zone";

};

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

type master;

file "12.103.10.zone";

};

zone "localhost" IN {

type master;

file "localhost.zone";

};

zone "test.com" IN {

type master;

file "test.com.zone";

};

zone "." IN {

type hint;

file "named.ca";

};

///////////////test.com.zone

$TTL 86400

@ IN SOA dns.test.com. root.test.com (

20030314808033;serial

28800 ; refresh

7200 ; retry

604800 ; expire

86400 ; ttl

)

IN NS dns.test.com

IN MX 10 mail.test.com

dns IN A 10.103.12.1

www IN A 10.103.12.1

mail IN A 10.103.12.1

//////////////12.103.10.zone

$TTL 86400

@ IN SOA dns.test.com. root.test.com (

2003031750012333; serial

28800 ; refresh

7200 ; retry

604800 ; expire

86400 ; ttk

)

IN NS dns.test.com.

1 IN PTR dns.test.com

1

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