Postfix Name Service Error For Name=localhost Type=aaaa Host Not Found
Contents |
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings host or domain name not found. name service error for name= type=a host not found and policies of this site About Us Learn more about Stack Overflow status=bounced (host or domain name not found. name service error for name the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users type=a: host found but no data record of requested type Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it
Postfix Type=a: Host Not Found
works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Postfix - Host or domain not found up vote 11 down vote favorite 6 I just installed Postfix on my ubuntu, on a local network. On this network, I have an Exchange Server (using domain mail.example.com). I had a problem sending postfix type=aaaa: host not found an email to a local address : adress@example.com : relay=none, delay=0.01, delays=0.01/0/0/0, dsn=4.3.5, status=deferred (Host or domain name not found. Name service error for name=example.com type=AAAA: Host found but no data record of requested type) I solved this problem using relay_domain in my postfix main.cf : relay_domains = example.com transport_maps = hash:/etc/postfix/transport And in my /etc/postfix/transport : example.com smtp:[mail.example.com] Now I can send mails on @example.com, and I have tested some majors webmails (Gmail, Yahoo, Hotmail...). It works. But why I got this error on my adresses "@example.com" ? How can I be sure I never find this error on another domain ? My postconf -n give : alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix inet_interfaces = all mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mydestination = SRVWEB, localhost.localdomain, localhost myhostname = SRVWEB mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relay_domains = mutuelle-var.fr relayhost = smtp_generic_maps = hash:/etc/postfix/generic smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_session_cach
1 2 Next > farao New Member Dear all, After installing ISPConfig and using it for some time now, I get strange returned mail. The error is from my Postfix installation, and says: Host or domain name not found. Name service error for name=a_certain_domain.nl type=AAAA: Host found postfix name service error type=a but no data record of requested type I already found it is a IPv6-thing, and it frequently
Status=bounced (host Or Domain Name Not Found. Name Service Error For Name= Type=a Host Not Found)
happens when the receiving server is behind a router or something that doesn't really comply to the Rules of Ripe. My mail gets returned with
Host Or Domain Name Not Found Type=a: Host Not Found
this error when mailing companies (a few anyway). I can live with not being able to e-mail certain companies, but it's rather annoying. Is there anything at all I can do except hope everybody will wisen up and start using proper DNS-servers? http://serverfault.com/questions/577134/postfix-host-or-domain-not-found Thanks. farao, Nov 6, 2006 #1 falko Super Moderator ISPConfig Developer You can create an AAAA record for a_certain_domain.nl on the authoritative name server for that domain. falko, Nov 7, 2006 #2 farao New Member Hi Falko, Thanks for the reply (I acted on it, and added aaaa-records for my domains, trust me), but the error occurs for domains that are not under my control. I found a config parameter in postfix where I can tell it to only use the https://www.howtoforge.com/community/threads/type-aaaa-host-not-found.7976/ IPv4 protocol, and that helps: now i get the error that a type A record for the domain can't be found. If I dig the domain, it promptly returns the A-record. Meanwhile my mail still bounces for completely valid domains... Thanks, Farao farao, Jan 31, 2007 #3 martinfst ISPConfig Developer ISPConfig Developer Code: AAAA IPv6 address, code 28. Used for storing an IPv6 128-bit address associated with a domain name. Defined in RFC 3596. Have you enabled IPv6 support? I know I have fully disabled it, but I guess you need to tell some utilities to use IPv6. With e.g. bind/named you have to add -6 as a parameter during startup. martinfst, Jan 31, 2007 #4 farao New Member I did disable ipv6, and have dug into resolv.conf, which showed me it only searched my own gateway... not good. I added a search lan and a couple of the nameservers my isp runs, and it seems that was what caused the problems. I don't use the namewerver ispconfig installs, maybe that's part of the problem as well, but since my isp hase good servers, i thought, why bother running my own. maybe I should consider it though... Thanks for thinking with me, Farao farao, Feb 3, 2007 #5 martinfst ISPConfig Developer ISPConfig Developer One of the reasons to run a local DNS server is the ability to do caching. But you need to modify the default settings, to forward at least to the upstream DNS server
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more http://superuser.com/questions/975337/postfix-error-host-or-domain-name-not-found about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Postfix error: Host or domain name not found up vote 1 down vote not found favorite I am using Raspbian and the Postfix (version 2.9.6) service seems to be automatically run when I boot, but if I want to send a mail, the email stays in the queue: $ mailq 26CB72201F 443 Sat Sep 19 19:44:17 user@mail.example.com (Host or domain name not found. Name service error for name=smtp.gmail.com type=A: Host not found, try again) someone@gmail.com If I restart the service (sudo service postfix restart) then emails work until the next boot. Why? What host not found is the difference? During the Postfix installation I chose the configuration “Internet with smarthost” but then I followed a tutorial for …Internet Site” to finish the configuration so this might be the problem(?) I just want to send emails. UPDATE: The problem might be that that Postfix is run before the Wi-Fi is connected. email services postfix share|improve this question edited Sep 20 '15 at 19:08 JakeGould 21k56079 asked Sep 19 '15 at 17:56 clemtoy 11617 I wonder, is this server name perhaps resolved when the system starts, but your nameserver isn't reachable then? –Thomas Weinbrenner Sep 19 '15 at 18:11 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote Shorter answer. With a “Host not found, try again.” it could mean that your server is having DNS resolution issues, or Postfix itself is having DNS resolution issues. But that is the core of what has to be cleaned up. As for how to clear it up, your question doesn’t provide enough details on your base OS or setup to give a succinct answer. You seem to be running Ubuntu/Debian if you are running sudo service postfix restart, but what other details can you provide? Longer answer. Possibly connected to resolv.conf mysteriously disappearing. Based on the error: Host or domain name not found. Name service error for name=smtp.gmail.com type=A: Host not found, try again