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.

DNS Help needed.

Discussion in 'Bind / DNS / Nameserver Issues' started by Stuff4me2win, Jul 25, 2012.

  1. Stuff4me2win

    Stuff4me2win Member

    Joined:
    Jul 25, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm working on a server for a client of mine. Although I have some experience with Unix (Sun), and can get around pretty good from a command line, I'm having issues helping them with setting up their new server.

    My issues seems to mostly be mail related, as they are queued at the server and cannot talk back to the submitting server. So if I send a mail from hotmail.com to centbomber.de, I can see the message on the WHM email queue, but it can't validate the hotmail.com address. Given this, I've searched this forum for answers, but not much has helped me figure out if my DNS records are correct. I've put centbomber.de into the intodns.com but the data really doesn't help me understand what is needed to fix the issues.

    Upon further research, I cannot ping, traceroute, or nslookup any addresses outside the server. Everything is locally resolved. I set up the server on Saturday and really just put in defaults in the WHM setup.

    Once the DNS is set up, I'll be setting up multiple email addresses address@centbomber.de in Cpanel, which I have no issues doing.

    Any help with fixing these issues would be greatly appreciated.

    Thanks in Advance.
    A.J. Rosner,
     
  2. JayFromEpic

    JayFromEpic Well-Known Member

    Joined:
    Apr 2, 2011
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Scottsdale, AZ
    cPanel Access Level:
    Root Administrator
    From looking at the intodns report, I can see a couple things you may want to consider correcting to fix the issue.

    On the report under your MX records, it states:

    10 mail.centbomber.de 5.9.56.142

    It should be showing as:
    0 mail.centbomber.de 5.9.56.142

    In order to fix that, you need to login to that accounts cPanel and click on the MX records section in cpanel. From there you need to make sure your Email routing is set to Local Mail Exchanger. From there at the bottom portion of the page, you will see the MX entry for this domain. You need to click on edit next to the entry listed and change the priority to 0.

    Also if you are using a third party service to manage your DNS, make sure you have the proper records set there to pull the mail from the server. If you need help setting that up, let me know.
     
  3. Stuff4me2win

    Stuff4me2win Member

    Joined:
    Jul 25, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator

    Thanks for the info, but it doesn't solve my routing issues with other network tools such as nslookup and traceroute.

    When I try to do lookups by IP I get the following:
    root@webserver [/etc]# nslookup 5.9.56.142
    ;; connection timed out; trying next origin
    ;; connection timed out; no servers could be reached

    root@webserver [/etc]# nslookup 193.47.99.3
    ;; connection timed out; trying next origin
    ;; connection timed out; no servers could be reached

    I saw somewhere on this forum where port UDP 53 may be blocked by firewall causing a similar issue I'm having.
    I don't know where those firewall settings are though.
     
  4. CitizenK

    CitizenK Well-Known Member

    Joined:
    Jun 5, 2012
    Messages:
    64
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    On The Road
    cPanel Access Level:
    Root Administrator
    Hello,

    From the dns scans I just preformed it appears that your dns is set up correctly from what I can tell. Are you still having your email problems?
     
  5. Stuff4me2win

    Stuff4me2win Member

    Joined:
    Jul 25, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yes.. Still having issues with email and general network routing outside my server.
     
  6. JayFromEpic

    JayFromEpic Well-Known Member

    Joined:
    Apr 2, 2011
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Scottsdale, AZ
    cPanel Access Level:
    Root Administrator
    That is odd. The steps I gave should have solved that issue. If you are concerned about the firewall, try executing this via command: iptables -L and see if ports 25, 26, 143, 993, 465, 53, 953.

    If port 53 isnt working or if there is a rule in your iptables, let us know.
     
  7. Stuff4me2win

    Stuff4me2win Member

    Joined:
    Jul 25, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Seems to me that there shouldn't be any issues:

     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Users should be able to use your mail server for sending email. Port 25 is open and responding to connection attempts:

    Code:
    -sh-3.2$ telnet mail.centbomber.de 25
    Trying 5.9.56.142...
    Connected to mail.centbomber.de (5.9.56.142).
    Escape character is '^]'.
    220-webserver.centbomber.de ESMTP Exim 4.77 #2 Fri, 27 Jul 2012 20:48:12 +0200 
    220-We do not authorize the use of this system to transport unsolicited, 
    220 and/or bulk e-mail.
    However, you have mentioned several times that you are unable to use your server to connect to remote servers. Have you checked to ensure you are using valid DNS resolvers in the /etc/resolv.conf file? If not, try changing the resolvers in this file to public resolvers that are known to work. EX:

    Code:
    nameserver 8.8.8.8
    nameserver 4.2.2.2
    As always, feel free to submit a support ticket so we can take a closer look:

    Submit A Ticket

    You can post the ticket number here so we can track the issue.

    Thank you.
     
  9. Stuff4me2win

    Stuff4me2win Member

    Joined:
    Jul 25, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Adding those two addresses in my resolv.conf fixed the issue.
    Is it ok to leave them in there?
     
  10. Stuff4me2win

    Stuff4me2win Member

    Joined:
    Jul 25, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you to everyone who took a look into this issue. Your knowledge and time is very much appreciated!
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, it's acceptable to leave those public resolvers in the /etc/resolv.conf file. However, ideally, you should consult with your data center/hosting provider to see which resolvers they provide by default.

    Thank you.
     
Loading...

Share This Page