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 and Mail issues

Discussion in 'Bind / DNS / Nameserver Issues' started by NikosGr, Sep 29, 2013.

  1. NikosGr

    NikosGr Member

    Joined:
    Sep 29, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello and i;am happy to be a new menber of this forum,

    Here is my domain's DNS Zone Entry in case it will helpo with something:

    let me show you how domain.gr entry appears via WHM in the Zoen section.

    Code:
    ; cPanel first:11.38.2.7 (update_time):1380448502 Cpanel::ZoneFile::VERSION:1.3 hostname:secure.domain.gr latest:11.38.2.7
    ; Zone file for domain.gr
    $TTL 14400
    superhost.gr.    86400    IN    SOA    ns1.domain.gr.    nikos.namehere.gmail.com.    (
                            2013092903 ;Serial Number
                            86400 ;refresh
                            7200 ;retry
                            3600000 ;expire
                            86400    )
    
    domain.gr.    86400    IN    NS    ns1.domain.gr.
    domain.gr.    86400    IN    NS    ns2.domain.gr.
    
    
    domain.gr.    14400    IN    A    84.200.17.58
    
    localhost    14400    IN    A    127.0.0.1
    
    domain.gr.    14400    IN    MX    0    domain.gr.
    
    mail    14400    IN    CNAME    domain.gr.
    www    14400    IN    CNAME    domain.gr.
    ftp    14400    IN    CNAME    domain.gr.
    
    
    As for the mail problem i'm afraid it outputs this:

    Code:
    Code:
    Warning    MX CNAME Check    WARNING: CNAME was returned for the following MX records:
    mail.domain.gr
    The CNAME(s) that were returned are listed above. This is not ok per the RFCs and can cause problems including mail being lost!
    Error    MX A request returns CNAME    WARNING: MX records points to a CNAME. CNAMEs are not allowed in MX records, according to RFC974, RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are:
    mail.domain.gr points to ['domain.gr']
    This can cause problems
    
    Do i need to chnage the mx record to somethign else?

    Also my webpage works as only as 'www.domain.g' but not as 'domain.gr'

    I have removed my webiste from cloulflare to make thigns simpler and now in order to view mywebiste i must give
    /http://www.domain.gr

    if i give plain /http://domain.gr it doesnt load at all.

    The only way is /http://www.domain.gr but no link on my webpage works when clicked upon.

    iam getting this: /http://domain.gr/cgi-sys/defaultwebpage.cgi

    Clearly these are DNS and Mail issues.

    i have asked PaulVPS which is my provider and they dont f***** care to help resolve those issues, and i have paid them upo until May 2014.

    I just dotn want to lose any more customers(i already lost 4 of them due to contasnt problems)

    What i need to do step-by-step please to help resolve DNS and Mail issues?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Have you confirmed that your domain name uses name servers at the registrar that ensure the DNS is hosted on the cPanel server? If so, you are welcome to modify the "A" record for the "mail" entry to the server IP address instead of a CNAME for the domain name to meet the standards imposed by the DNS test script you are using. Based on the "www" prefix complaint, it sounds like you are using your registrar's or remote name servers, rather than the name servers configured on your cPanel server.

    Thank you.
     
  3. NikosGr

    NikosGr Member

    Joined:
    Sep 29, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator

    Hello,

    Yes i use my domain's registeres name serves which are

    ns1.domain.gr
    ns1.domain.gr

    I have altered the CNAME and assigned an A entry for the mail but this didnt made the mail server functional.

    I have tried everything i knew but idnt manage to solve this.

    As things are at the moment i cannot even access my WHM and SSH as secure.domain.gr but only via its ip address.

    intodns.com states that nameserves are working still i cant access any of the services of the server by hostname.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Have you considered creating your own name servers at the registrar with your server's IP address? You could then assign those name servers to your domain name so that cPanel handles the DNS.

    Thank you.
     
  5. NikosGr

    NikosGr Member

    Joined:
    Sep 29, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Why everytime i try to save my DNS zone settings when i click save the following error occurs?

    Why everytime i try to save my DNS zone settings when i click save the following error occurs?

    Code:
    Modifying Zone domain.gr
    
    zone domain.gr/IN: NS 'ns1.domain.gr' has no address records (A or AAAA) zone domain.gr/IN: NS 'ns2.domain.gr' has no address records (A or AAAA) zone domain.gr/IN: not loaded due to errors.
    Bind reloading on domain using rndc zone: [domain.gr]
    Bind reloading on domain using rndc: WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
    server reload successful
    
    Reconfiguring Mail Routing:
    LOCAL MAIL EXCHANGER: This server will serve as a primary mail exchanger for domain.gr's mail.: This configuration has been automatically detected based on your mx entries.
    
    
    Your settings have been updated.
    
    I'am trying this to in an attempt to fianlly make my mail work because i cannot send/receive mail at all.

    - - - Updated - - -

    Code:
    root@domain [~]# cat /var/named/domain.gr.db 
    ; cPanel first:11.38.2.12 (update_time):1383382498 Cpanel::ZoneFile::VERSION:1.3 hostname:domain.gr latest:11.38.2.12
    ; Zone file for domain.gr
    $TTL 14400
    domain.gr.   86400   IN      SOA     ns1.domain.gr.       nikos.domain.gr.     (
                                                    2013110203 ;Serial Number
                                                    86400 ;refresh
                                                    7200 ;retry
                                                    3600000 ;expire
                                                    86400 ;minimum
            )
    domain.gr.   86400   IN      NS      ns1.domain.gr.
    domain.gr.   86400   IN      NS      ns2.domain.gr.
    domain.gr.   14400   IN      A       84.200.17.58
    localhost       14400   IN      A       127.0.0.1
    domain.gr.   14400   IN      MX      10      mail.domain.gr.
    mail    14400   IN      A       84.200.17.58
    www     14400   IN      CNAME   domain.gr.
    ftp     14400   IN      CNAME   domain.gr.
    secure  14400   IN      A       84.200.17.58
    default._domainkey      14400   IN      TXT     \"v=DKIM1
    cpanel  14400   IN      A       84.200.17.58
    webdisk 14400   IN      A       84.200.17.58
    whm     14400   IN      A       84.200.17.58
    webmail 14400   IN      A       84.200.17.58
    root@domain [~]# 
    
     
  6. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Re: Why everytime i try to save my DNS zone settings when i click save the following error occurs?

    The error message says it very clearly:
    You must add A records for ns1 and ns2 in the DNS zone of domain.gr.
     
  7. NikosGr

    NikosGr Member

    Joined:
    Sep 29, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have added the missing A records in DNS zone of domain.gr you added:

    ns1 14400 IN A 84.200.17.58
    ns2 14400 IN A 84.200.17.59

    ns1 14400 IN A 84.200.17.58
    ns2 14400 IN A 84.200.17.59

    but when i cat /var/named/other_domains these entries are missing, for i.e.:

    Code:
    $TTL 14400
    domain2.gr. 86400 IN SOA ns1.domain.gr. 
    nikos.domain.gr. (
    2013092803 ;Serial Number
    86400 ;refresh
    7200 ;retry
    3600000 ;expire
    86400 ;minimum
    )
    domain2.gr. 86400 IN NS ns1.domain.gr.
    domain2.gr. 86400 IN NS ns2.domain.gr.
    domain2.gr. 14400 IN A 84.200.17.58
    localhost 14400 IN A 127.0.0.1
    domain2.gr. 14400 IN MX 0 domain2.gr.
    mail 14400 IN CNAME domain.gr.
    www 14400 IN CNAME domain2.gr.
    ftp 14400 IN CNAME domain2.gr.
    default._domainkey 14400 IN TXT "v=DKIM1; k=rsa; 
    p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC1K3zEJfOr5pWQ18n8aHzImVBbAAg0rxeACLQwS4MaSMSM+rRTI7XL7T9OH3V6322UBAbV9barOpW4DZtCuIXoGRs8RKH2IccWX9XEUYdqwz3XXSo9MV0EBB3gT2Cy/n2YwOMFeoY7jZY53jhe5aMgKuP0GnZcnzI5oWFlQfwIDAQAB;"
    cpanel 14400 IN A 84.200.17.58
    webdisk 14400 IN A 84.200.17.58
    whm 14400 IN A 84.200.17.58
    webmail 14400 IN A 84.200.17.58
    Code:
    root@secure [~]# cat /var/named/varsa.gr.db
    ; cPanel first:11.38.2.7 (update_time):1382275238 
    Cpanel::ZoneFile::VERSION:1.3 hostname:secure.domain.gr latest:11.38.2.7
    ; Zone file for domain3.gr
    $TTL 14400
    varsa.gr. 86400 IN SOA ns1.domain.gr. 
    nikos.domain.gr. (
    2013100602 ;Serial Number
    86400 ;refresh
    7200 ;retry
    3600000 ;expire
    86400 ;minimum
    )
    domain3.gr. 86400 IN NS ns1.domain.gr.
    domain3.gr. 86400 IN NS ns2.domain.gr.
    domain3.gr. 14400 IN A 84.200.17.58
    localhost 14400 IN A 127.0.0.1
    domain3.gr. 14400 IN MX 0 domain3.gr.
    mail 14400 IN CNAME domain.gr.
    www 14400 IN CNAME domain.gr.
    ftp 14400 IN CNAME domain.gr.
    cpanel 14400 IN A 84.200.17.58
    webdisk 14400 IN A 84.200.17.58
    whm 14400 IN A 84.200.17.58
    webmail 14400 IN A 84.200.17.58
    default._domainkey 14400 IN TXT "v=DKIM1; k=rsa; 
    p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtwKkv8+mGjLlmdj87AfMOMXXONq6FWoecPvbM51GBeTtztpUZj60fgqXCAtIHi3WhJ3oZRXOnceoMguH601Zmhr0e136AUaVi5vpqH0OhzYpaMzj6yQ/Ai1ej4T7m+wOsvgHUrgUHBxnIvPL9kdMWK0ClqLKir3xzQIDAQAB;"
    root@secure [~]#
    1. How the above domains, all of them, were not giving DNS issues even
    though the same entreis were missing?
    2. Does the mail accounts of the other domains work or dont work also?

    ns1 14400 IN A 84.200.17.58
    ns2 14400 IN A 84.200.17.59
    ns1 14400 IN A 84.200.17.58
    ns2 14400 IN A 84.200.17.59
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I am having a difficult time understanding the exact configuration you are using. Could you open a support ticket so we can take a closer look? You can open a ticket via:

    Submit A Ticket

    Please post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page