1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

CNAME lookup failed temporarily. (#4.4.3)

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by bokken, Sep 28, 2009.

  1. bokken

    bokken Basic Pleskian

    22
     
    Joined:
    Aug 18, 2009
    Messages:
    51
    Likes Received:
    0
    Hi,

    I have an issue with Qmail, when i send an email to "*@grupobbva.com" and qmail response was "CNAME lookup failed temporarily. (#4.4.3)".

    $ nslookup grupobbva.com
    Server: XXX.XXX.XXX.XXX
    Address: XXX.XXX.XXX.XXX#53

    Non-authoritative answer:
    *** Can't find grupobbva.com: No answer

    $ nslookup -type=mx grupobbva.com
    Server: XXX.XXX.XXX.XXX
    Address: XXX.XXX.XXX.XXX#53

    Non-authoritative answer:
    grupobbva.com mail exchanger = 100 mail5.grupobbva.com.
    grupobbva.com mail exchanger = 100 mail6.grupobbva.com.
    grupobbva.com mail exchanger = 100 mail7.grupobbva.com.
    grupobbva.com mail exchanger = 100 mail8.grupobbva.com.
    grupobbva.com mail exchanger = 100 mail9.grupobbva.com.
    grupobbva.com mail exchanger = 100 mail1.grupobbva.com.
    grupobbva.com mail exchanger = 100 mail2.grupobbva.com.
    grupobbva.com mail exchanger = 100 mail4.grupobbva.com.

    Authoritative answers can be found from:
    mail5.grupobbva.com internet address = 89.107.180.136
    mail9.grupobbva.com internet address = 89.107.180.31
    mail1.grupobbva.com internet address = 89.107.180.16
    mail2.grupobbva.com internet address = 89.107.180.17
    mail4.grupobbva.com internet address = 89.107.180.135

    The response of DNS Server when Qmail asks, is the same, i sniffed the trafic.

    For resolve this issue I have created this domain on my DNS Server with those values and one DNS type A.

    This issue is problem of Qmail? my DNS Server? misconfigured DNS Server of grupobbva.com?
     
  2. igors

    igors Basic Pleskian

    20
    37%
    Joined:
    Sep 1, 2009
    Messages:
    32
    Likes Received:
    0
    Hi,

    Make sure that /etc/resolv.conf is readable to 'others':
    # ls -l /etc/resolv.conf
    -rw-r--r-- 1 root root 0 2009-09-19 05:56 /etc/resolv.

    Also check that nameservers set in /etc/resolv.conf on Parallels Plesk server can get MXes of grupobbva.com and can resolve A records for those MXes.

    And lastly it can be caused by the fact that grupobbva.com has too many MX records defined and response from DNS server exceeds limit of 512 bytes. If this is the case then you can use one of qmail patches:
    http://lifewithqmail.org/lwq.html#dns-patches

    You can refer to http://kb.odin.com/en/1161 for details on applying qmail patches to qmail shipped with Parallels Plesk.

    Hope this helps.
     
  3. DenizS

    DenizS New Pleskian

    3
    70%
    Joined:
    Aug 18, 2014
    Messages:
    5
    Likes Received:
    0
    Hello Igor,

    I run the following documents but bothing change. May you check my procces?

    http://kb.odin.com/en/1161

    http://kb.odin.com/en/111616

    my commands:

    tar xzvf plesk84_qmail_patches.tgz
    tar xzvf qmail-1.03.tar.gz
    mv files/ patches
    cd qmail-1.03
    for patch in ../patches/patch* ; do patch -p0 < $patch ; done
    grep -E '^(qmail|alias)' /etc/passwd | awk 'BEGIN {FS=":"; OFS=" ";} {if ($1 == "qmaill") {print $1,$3,"\nroot 0"} else {print $1,$3}}' > conf-users
    grep -E '^(qmail|nofiles)' /etc/group | awk 'BEGIN {FS=":"; OFS=" ";} {print $1,$3}' > conf-groups
    pkg-config --libs openssl > ssl.lib
    echo "/var/qmail" > conf-qmail


    echo 509 > conf-spawn
    (taken during the operation on the error)

    wget http://dl.atrpms.net/el5-x86_64/atrpms/stable/libdomainkeys-0.69-6.el5.x86_64.rpm
    rpm -ivh --nodeps libdomainkeys-0.69-6.el5.x86_64.rpm
    (taken during the operation on the error)

    echo "-ldomainkeys" > dk.lib
    (taken during the operation on the error)

    make

    (stop qmail from panel)
    /etc/init.d/xinetd stop

    mv /var/qmail/bin/qmail-queue.moved /var/qmail/bin/qmail-queue.moved.old
    mv /var/qmail/bin/qmail-local.moved /var/qmail/bin/qmail-local.moved.old
    mv /var/qmail/bin/qmail-remote.moved /var/qmail/bin/qmail-remote.moved.old

    chown qmailq:qmail /var/qmail/bin/qmail-queue.moved
    chown root:qmail /var/qmail/bin/qmail-local.moved
    chown root:qmail /var/qmail/bin/qmail-remote.moved

    chmod 555 /var/qmail/bin/qmail-local.moved
    chmod 555 /var/qmail/bin/qmail-remote.moved
    chmod 4511 /var/qmail/bin/qmail-queue.moved

    (start qmail from panel)
    /etc/init.d/xinetd start


     
  4. DenizS

    DenizS New Pleskian

    3
    70%
    Joined:
    Aug 18, 2014
    Messages:
    5
    Likes Received:
    0
    Hello Igor,

    i run following fix but nothing change. may you check my commands?

    http://kb.odin.com/en/1161

    http://kb.odin.com/en/111616
    tar xzvf plesk84_qmail_patches.tgz
    tar xzvf qmail-1.03.tar.gz
    wget http://www.memoryhole.net/qmail/qmail-103.patch
    mv files/ patches
    cd qmail-1.03
    for patch in ../patches/patch* ; do patch -p0 < $patch ; done
    grep -E '^(qmail|alias)' /etc/passwd | awk 'BEGIN {FS=":"; OFS=" ";} {if ($1 == "qmaill") {print $1,$3,"\nroot 0"} else {print $1,$3}}' > conf-users
    grep -E '^(qmail|nofiles)' /etc/group | awk 'BEGIN {FS=":"; OFS=" ";} {print $1,$3}' > conf-groups
    pkg-config --libs openssl > ssl.lib
    echo "/var/qmail" > conf-qmail
    patch < ../qmail-103.patch

    echo 509 > conf-spawn
    (taken during the operation on the error)

    wget http://dl.atrpms.net/el5-x86_64/atrpms/stable/libdomainkeys-0.69-6.el5.x86_64.rpm
    rpm -ivh --nodeps libdomainkeys-0.69-6.el5.x86_64.rpm
    (taken during the operation on the error)

    echo "-ldomainkeys" > dk.lib
    (taken during the operation on the error)

    make

    (stop qmail from panel)
    /etc/init.d/xinetd stop

    mv /var/qmail/bin/qmail-queue.moved /var/qmail/bin/qmail-queue.moved.old
    mv /var/qmail/bin/qmail-local.moved /var/qmail/bin/qmail-local.moved.old
    mv /var/qmail/bin/qmail-remote.moved /var/qmail/bin/qmail-remote.moved.old

    chown qmailq:qmail /var/qmail/bin/qmail-queue.moved
    chown root:qmail /var/qmail/bin/qmail-local.moved
    chown root:qmail /var/qmail/bin/qmail-remote.moved

    chmod 555 /var/qmail/bin/qmail-local.moved
    chmod 555 /var/qmail/bin/qmail-remote.moved
    chmod 4511 /var/qmail/bin/qmail-queue.moved

    (start qmail from panel)
    /etc/init.d/xinetd start
     
Loading...