Mail Host or domain name not found

Discussion in 'Installation/Configuration' started by Jeremy007, May 15, 2019.

  1. Jeremy007

    Jeremy007 Member

    Dear HTF friends,

    I am currenlty running in to an issue where any mails sent to the current domain keeps bouncing back because the name show that the tld/hostname is added at the end of it.
    Any one have an idea as to why it keeps adding to the name?

    Settings :

    Yes CNAME mail 0 3600
    MX 10 3600
    MX 20 3600

    ErrorInfo :
    The mail system [email protected] : Host or domain name not found. Name service error for type=AAAA: Host not found

    Setup : Multi server stup running nginx + postfix + dovecot

    Any help would be greatly appreciated.

    Last edited: May 15, 2019
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. Jeremy007

    Jeremy007 Member

    Thanks Taleman. Was a combination of two, the "." was missing at the end and i needed to resync the domain DNS settings.

    This has got me wondering, is there anyway to avoid having to resync all my DNS settings to my second DNS server every time i add/modify a DNS setting? Maybe i need to open a new thread if necessary.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Resyncing should not be required, especially as the resync does exactly the same that happens when you edit and save the DNS record. Is the second DNS server an ispconfig mirror of the first one? Or is it an external third party server which runs a BIND slave?
  5. Jeremy007

    Jeremy007 Member

    Yes, it's actually a mirror of the first DNS server. Strange thing it doesn't work properly unless i resync.
    Could it be that i have to re-check if the SSH key is working or need to re-generate one?
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If second DNS server is in ISPConfig set as mirror of the first SSH is not used in mirroring. Check the setup, is it really marked as mirror, and does the database connection work from that host.
  7. Jeremy007

    Jeremy007 Member

    That's what i tought. Yes, it's mirror and database connection works.

    Aha! I just did a little reading up. I think his problem was unique to this domain name because the DNS data existed before the second server was installed :

Share This Page