- 论坛徽章:
- 0
|
各位大哥,帮帮我吧,已经折磨我一个星期了
CNAME_lookup_failed_temporarily._(#4.4.3)/
在Qmail的FAQ中说这个错误跟DNS设置有关
原文是:
D: quando invio delle mail ad un server grosso ricevo il seguente errore:
deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
anche se sono sicuro che il mio server dns e' configurato perfettamente
我现在使用nslookup命令,就说找不到DNS服务器,默认服务不可用,我是用另一个服务器来解析这台域名的,这个邮件服务器应该怎么设置
,但我现在使用mail.xxx.com却可以访问这台邮件服务器
出错信息原文:Can't find server name for address xxx.xxx.xxx.xxx: Non-existent host/domain
default server are not available
我的resolv.conf文件中是这么写的
domain mail.xxx.com
nameserver xxx.xxx.xxx.xxx(这是那台DNS,系统是2000)
host.conf文件是
# $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
# First try the /etc/hosts file
hosts
# Now try the nameserver next.
bind
# If you have YP/NIS configured, uncomment the next line
# nis
host 文件的内容是
127.0.0.1 localhost.xxx.com localhost
xxx.xxx.xxx.xxx(这台邮件服务器的IP) mail.xxx.com mail
hosts.equiv 文件内容
# $FreeBSD: src/etc/hosts.equiv,v 1.4 1999/08/27 23:23:41 peter Exp $
#
#localhost
#my_very_good_friend.domain
127.0.0.1
hosts.lpd 文件的内容
# $FreeBSD: src/etc/hosts.lpd,v 1.4 1999/08/27 23:23:42 peter Exp $
#
# See lpd(
#machine.domain
hosts.allow 这个文件我没有改过,是默认值
#
# hosts.allow access control file for "tcp wrapped" applications.
# $FreeBSD: src/etc/hosts.allow,v 1.8.2.7 2002/04/17 19:44:22 dougb Exp $
#
# NOTE: The hosts.deny file is deprecated.
# Place both 'allow' and 'deny' rules in the hosts.allow file.
# See hosts_options(5) for the format of this file.
# hosts_access(5) no longer fully applies.
# _____ _ _
# | ____| __ __ __ _ _ __ ___ _ __ | | ___ | |
# | _| \ \/ / / _` | | '_ ` _ \ | '_ \ | | / _ \ | |
# | |___ >; < | (_| | | | | | | | | |_) | | | | __/ |_|
# |_____| /_/\_\ \__,_| |_| |_| |_| | .__/ |_| \___| (_)
# |_|
# !!! This is an example! You will need to modify it for your specific
# !!! requirements!
# Start by allowing everything (this prevents the rest of the file
# from working, so remove it when you need protection).
# The rules here work on a "First match wins" basis.
ALL : ALL : allow
# Wrapping sshd( is not normally a good idea, but if you
# need to do it, here's how
#sshd : .evil.cracker.example.com : deny
# Protect against simple DNS spoofing attacks by checking that the
# forward and reverse records for the remote host match. If a mismatch
# occurs, access is denied, and any positive ident response within
# 20 seconds is logged. No protection is afforded against DNS poisoning,
# IP spoofing or more complicated attacks. Hosts with no reverse DNS
# pass this rule.
ALL : PARANOID : RFC931 20 : deny
# Allow anything from localhost. Note that an IP address (not a host
# name) *MUST* be specified for portmap( .
ALL : localhost 127.0.0.1 : allow
ALL : my.machine.example.com 192.0.2.35 : allow
# To use IPv6 addresses you must enclose them in []'s
ALL : [fe80::%fxp0]/10 : allow
ALL : [fe80]/10 : deny
ALL : [3ffe] : deny
ALL : [3ffe]/64 : allow
# Sendmail can help protect you against spammers and relay-rapers
sendmail : localhost : allow
sendmail : .nice.guy.example.com : allow
sendmail : .evil.cracker.example.com : deny
sendmail : ALL : allow
# Exim is an alternative to sendmail, available in the ports tree
exim : localhost : allow
exim : .nice.guy.example.com : allow
exim : .evil.cracker.example.com : deny
exim : ALL : allow
# Portmapper is used for all RPC services; protect your NFS!
# (IP addresses rather than hostnames *MUST* be used here)
portmap : 192.0.2.32/255.255.255.224 : allow
portmap : 192.0.2.96/255.255.255.224 : allow
portmap : ALL : deny
# Provide a small amount of protection for ftpd
ftpd : localhost : allow
ftpd : .nice.guy.example.com : allow
ftpd : .evil.cracker.example.com : deny
ftpd : ALL : allow
# You need to be clever with finger; do _not_ backfinger!! You can easily
# start a "finger war".
fingerd : ALL \
: spawn (echo Finger. | \
/usr/bin/mail -s "tcpd\: %u@%h[%a] fingered me!" root) & \
: deny
# The rest of the daemons are protected.
ALL : ALL \
: severity auth.info \
: twist /bin/echo "You are not welcome to use %d from %h."
没有修改过namedb目录下的文件,这些文件的内容应该够了吧,如果还需要哪个文件请告诉我一下,我在帖一下 |
|