Host found but no data record of requested type
This document (3264190) is provided subject to the disclaimer at the end of this document.
Environment
Postfix 2.1.1
Situation
to=, relay=none, delay=0, status=bounced (Host or domain name not
found. Name service error for name=spcorp.com type=AAAA: Host found but no data record of requested type)"
Error: "Name service error for name=spcorp.com type=A: Host found but no data record of requested type)"
Relayhost defined in /etc/postfix/main.cf
Mail not getting sent to relay host
Resolution
# The relayhost parameter specifies the default host to send mail to
# when no entry is matched in the optional transport(5) table. When
# no relayhost is given, mail is routed directly to the destination.
#
# On an intranet, specify the organizational domain name. If your
# internal DNS uses no MX records, specify the name of the intranet
# gateway host instead.
#
# In the case of SMTP, specify a domain, host, host:port, [host]:port,
# [address] or [address]:port; the form [host] turns off MX lookups.
#
# If you're connected via UUCP, see also the default_transport parameter.
#
#relayhost = $mydomain
#relayhost = [gateway.my.domain]
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]
The format that worked is:
relayhost = relay.domain.com:25
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3264190
- Creation Date: 11-Jul-2006
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com