Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

All hosts for 'domain.com' have been failing for a long time

Discussion in 'E-mail Discussions' started by gennybeans, Aug 16, 2017.

  1. gennybeans

    gennybeans Member

    Joined:
    Aug 16, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto
    cPanel Access Level:
    Root Administrator
    Hi,

    I've noticed this has been discussed a few times already, but I can't seem to find a solution. I'm not very well-versed in WHM/VPS hosting at all, as I have normally worked with shared hosting websites. But, we were recently moved to a dedicated server and have since then been experiencing problems with our email.

    I have contacted our host and they say everything is properly configured and they cannot seem to pinpoint the issue (or see any errors).

    Our biggest problem currently is dealing with this one error with a specific domain. All emails we send to this domain return with the error: all hosts for 'domain.name" have been failing for a long time.

    I ran exigrep email@domain.name /var/log/exim_mainlog and the error shows there as well.

    Code:
    2017-08-14 17:20:17 1dftO6-0006Cv-SK ** email@domain.name <email@domain.name> R=dkim_lookuphost T=dkim_remote_smtp: all hosts for 'domain.name' have been failing for a long time (and retry time not reached)
    2017-08-14 17:20:17 1dftO6-0006Cv-SK Completed
    2017-08-14 10:20:16 1dfrbk-0004FV-F0 == email@domain.name <email@domain.name> R=dkim_lookuphost T=dkim_remote_smtp defer (110): Connection timed out
    
    Our host suggested it was an issue on domain.name's end (maybe they have blocked our IP address). This account is about one week old, and from the day we moved over to this server, we have had issues with sending emails to domain.name.

    Any ideas? Is our only solution to somehow get in contact with domain.name's IT department to resolve this? Or could something else be causing the issue?

    Thanks in advance!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,127
    Likes Received:
    1,366
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I recommend first using "WHM Home » Networking Setup » Resolver Configuration" to ensure your server uses valid resolvers, as it's possible the use of invalid resolvers is preventing your server from resolving that domain name to a valid IP address.

    Thank you.
     
  3. gennybeans

    gennybeans Member

    Joined:
    Aug 16, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto
    cPanel Access Level:
    Root Administrator
    Thanks for the quick response, Michael.

    It looks like we are using Google's public DNS addresses: 8.8.8.8 and 8.8.4.4
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,127
    Likes Received:
    1,366
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Does the domain name in-question resolve to the correct address when using the "host" command from your server's command line? EX:

    Code:
    host domain.tld
    Thank you.
     
  5. gennybeans

    gennybeans Member

    Joined:
    Aug 16, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto
    cPanel Access Level:
    Root Administrator
    Yes, it does.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,127
    Likes Received:
    1,366
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You may also want to verify your server can connect over port 25 to the IP address of the remote mail server that domain name resolves to. You can use "telnet" to test this. EX:

    Code:
    telnet IP 25
    Thank you.
     
  7. gennybeans

    gennybeans Member

    Joined:
    Aug 16, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto
    cPanel Access Level:
    Root Administrator
    Code:
    220-user.server.net ESMTP Exim 4.89 #1 Wed, 16 Aug 2017 18:11:47 +0000
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.
    
    Wow, looks like it's blocked?
    When I check the Firewall config in WHM, it shows that 25 is listed under 'Allow outgoing TCP ports'.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,127
    Likes Received:
    1,366
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    That output actually suggests it's not blocked (the 220 code is normal). Could you open a support ticket using the link in my signature so we can take a closer look at why your server is unable to send email to that domain name?

    Thank you.
     
  9. gennybeans

    gennybeans Member

    Joined:
    Aug 16, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto
    cPanel Access Level:
    Root Administrator
    Thanks, Michael.

    I have submitted a ticket. My number is 8791711.
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,127
    Likes Received:
    1,366
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, it looks like this was the result of the remote mail server blocking connections from the cPanel server's IP address.

    Thank you.
     
Loading...

Share This Page