用户设置pop,smtp问题?

由 Snoopy 在 11-26-2003 21:45 发表:

用户设置pop,smtp问题?

我启动sendmail后,自己的dns是这样的,

[root@Snoopy root]# cat /etc/named.conf

// generated by named-bootconf.pl

options {

directory "/var/named";

forwarders { 202.116.128.1; 192.168.100.1; };

notify yes;

/*

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

};

logging {

channel LAMER_log {

file "/var/log/dns/dns-lamer.log" versions 3 size 10m;

severity info;

print-severity yes; print-time yes;

};

channel SEC_log {

file "/var/log/dns/dns-sec.log" versions 3 size 10m;

severity info;

print-severity yes; print-time yes;

};

channel STAT_log {

file "/var/log/dns/dns-stat.log" versions 3 size 10m;

severity info;

print-severity yes; print-time yes;

};

category lame-servers { LAMER_log; };

category security { SEC_log; };

};

/* category cname { null; };

category statistics { STAT_log; };*/

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

};

zone "snoopy.gov" {

type master;

file "snoopy.gov";

allow-query { any; };

};

zone "b011306.com" {

type master;

file "b011306.com";

allow-query { any; };

allow-transfer {

192.168.206.0/24;

};

};

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

type master;

file "snoopy.ptr";

};

include "/etc/rndc.key";

/var/name/snoopy.gov

[root@Snoopy root]# cat /var/named/snoopy.gov

$ttl 16097

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

2003088808;

28800;

14400;

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