type=AAAA: Host found but no data record of requested type

11 posts / 0 new
Last post
#1 Tue, 11/22/2011 - 00:39
mattto

type=AAAA: Host found but no data record of requested type

Hi, I have installed Virtualmin on a VPS , everything went fine without any error, all domain are working just fine, i only getting some problem getting the e-mail working,

i can send mail, SMTP is working without any problem, but i can't receive anything, each time i'm getting an error message back:

<test.nihonsekai@vps.ablenet.jp> (expanded from <test@nihon-sekai.com>): Host
    or domain name not found. Name service error for name=vps.ablenet.jp
    type=AAAA: Host found but no data record of requested type

from what i already find, thanks google, type=AAAA are DNS related error, but i can't find any thing that could help me.

the server is running Centos 6.0.

any help will be greatly appreciated.

Regards Mattto

Result of an postconf -n :

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_percent_hack = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_protocols = all
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, h121-83-238-164.vps.ablenet.jp
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sender_bcc_maps = hash:/etc/postfix/bcc
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
Tue, 11/22/2011 - 08:32
andreychek

Howdy,

A few thing to check --

In your /etc/hosts file, make sure you have an entry for vps.ablenet.jp.

Also, if you go into System Settings -> Re-Check Config, does it notice any problems?

-Eric

Tue, 11/22/2011 - 09:38
mattto

andreychek,

Thanks you for your answer, you solved my problem, my hosts file was missing an entry !

Regards Mattto

Sun, 10/05/2014 - 23:21
flameproof

I have the same problem! Some emails I send bounce, some go through. Error is:

<user@example.com>: Host or domain name not found. Name service error
    for name=example.com type=AAAA: Host found but no data record of requested type

When I do a 're-ckeck' all as fine, except:

Virtualmin could not work out the default IPv6 address for virtual servers on your system. You will need to update either the Network interface for virtual addresses or Default virtual server IP address fields on the module configuration page.

But I am not sure what to change there? (please see screenshot how it is now)

Mon, 10/06/2014 - 09:19
andreychek

Howdy,

What is the contents of your /etc/resolv.conf file?

Also, in this case -- what is "example.com"? Is that a domain on your server? Or an external domain?

-Eric

Tue, 10/07/2014 - 10:32 (Reply to #5)
flameproof

"example.com" is an external domain. Strangely, some work, some bounce.

///etc/resolv.conf

nameserver 219.1**.***.**
nameserver 127.0.0.1
domain localdomain

BIND DNS Server is usually not running.

Tue, 10/07/2014 - 11:22
andreychek

Howdy,

If you aren't using BIND on your server, you would want to remove the "nameserver 127.0.0.1" line, as that could cause DNS lookup failures to occur.

-Eric

Wed, 10/08/2014 - 01:12
flameproof

I removed the 127.0.0.1 - same error. Doesn't matter if BIND in ON or OFF.

Again, I get that error for some strange reasons only on some emails I send to. The errors are consistent.

Not sure if that helps: one outgoing mail go stuck in the mail queue:


Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again
Wed, 10/08/2014 - 09:02
andreychek

It looks like you're having intermittent DNS lookup errors.

If it's not related to 127.0.0.1 and BIND on your server -- then the issue may be the other nameserver listed in your resolv.conf, the "219.1.x.x" IP.

What if you comment that one out, and just use 127.0.0.1 -- does that resolve your issue?

-Eric

Thu, 10/09/2014 - 05:11
flameproof

All troubles are puzzling to me.

1.) I added 127.0.0.1 in the list of servers (for unknown reasons it wasn't there anymore)

2.) I set BIND to ON (it usually goes OFF after a while)

Now I can send and receive mails. I will keep it watching.

Thu, 10/09/2014 - 22:40
flameproof

AAAA records seem to work, now I have A record problems.... One message just bounced back:

<user@mailsample.com>: Host or domain name not found. Name service error
    for name=mailsample.com type=A: Host found but no data record of requested
    type

I wonder if it's related to this:

Virtualmin > a domain I host > System Settings > Re-Check Configuration

..........

     Virtualmin could not work out the default IPv6 address for virtual servers on your system. You will need to update either the Network interface for virtual addresses or Default virtual server IP address fields on the module configuration page.

..........

.. your system is ready for use by Virtualmin.

One note: mails bounce when I use my own domains MX SMTP. When I use the ISP one mails get delivered.

Topic locked