mx records

Discussion in 'Server Operation' started by perfectpol7, Apr 28, 2010.

  1. perfectpol7

    perfectpol7 New Member

    i am running linux ubuntu mail server, over the weekend emails stop coming in or going out. i dig my server from the server itself and i am get this results

    [email protected]$ dig mx
    ;; global options: printcmd
    ;; connection timeout; no server could be reached

    then on a window workstation the results of nslookup is
    address: 179.a.a.6
    *** can't find mx: Non-existent domain

    contact my ISP and said the problem lays with local, since my server does host the emails. (by locally mean host them at my company server)

    I suppect that mx files have been corrupted or delete. How then should i resolve this, firstly I am new to the company and not all that good in linux. All the server is in command line. I tried to view the /etc/resolv.conf and it was blank. HELP.

  2. matty

    matty Member

    You're on the right track. Edit /etc/resolv.conf and add lines like


    Add as many as you have nameservers that you'd like to use (using the correct ip addresses).
  3. irel

    irel New Member

    Run please this command:

    dig mx

    You'll be surprised I think ;) Why emails stoped coming - this is the second thing.... you can restart mail services, check system logs, etc.

Share This Page