|
我启动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;
3600000;
16097);
IN NS ns.snoopy.gov.
IN MX 10 mail.snoopy.gov.
ns IN A 192.168.206.8
www IN CNAME ns
mail IN CNAME ns
我发信时,是这样的:mail 用户@域名
因为我是内部,信发到某个外部邮箱去,对方也收得到,
请问别人要登录邮箱,设置pop3.smtp地址各是什么啊?
我设置我的ip,mail.snoopy.gov,这些都不行,显示没连到服务器?
谁可以帮帮我啊,,,,,那dns应该如何弄? |
|