ISPConfig dns zone config using digitalocean vanity nameservers

Discussion in 'Installation/Configuration' started by AlexMJ, Sep 7, 2018.

  1. AlexMJ

    AlexMJ New Member

    I hope to keep the two issues clear i.e the dns errors for one domain and the failure to access webmail using domain.tld/webmail

    Now for the dns error here is what i get from dig where xxxxx.com is the domain with dns error --- For this domain i followed the same steps to setup some other domains on the same host and which dont have this errors and the can both send and recieve email both internal and external. Trying to send an email to a mailbox for this domain for example [email protected] using gmail results in the following error --- DNS Error: 29756457 DNS type 'mx' lookup of xxxxxxx.com responded with code SERVFAIL




    [email protected]:/etc/apache2/conf-enabled$ dig @178.xx.xx.169 xxxxxx.com

    ; <<>> DiG 9.9.5-9+deb8u16-Debian <<>> @178.xx.xx.169 xxxxxx.com
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56096
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 4096
    ;; QUESTION SECTION:
    ;xxxxxxxxxxxx.com. IN A

    ;; ANSWER SECTION:
    xxxxxxxx.com. 3600 IN A 178.xx.xx.169

    ;; AUTHORITY SECTION:
    xxxxxxxxxxxxx.com. 3600 IN NS ns1.xxxxxxx.co.ke.
    xxxxxxxxxxxxx.com. 3600 IN NS ns2.xxxxxxx.co.ke.

    ;; ADDITIONAL SECTION:
    ns1.xxxxxxxxxxx.co.ke. 76064 IN A 178.xx.xx.169

    ;; Query time: 1 msec
    ;; SERVER: 178.xx.xx.169#53(178.xx.xx.169)
    ;; WHEN: Mon Sep 10 21:41:17 BST 2018
    ;; MSG SIZE rcvd: 137
     
  2. AlexMJ

    AlexMJ New Member

    This morning I ran the dig command on the problematic domain but added any, this is what I got...
    $ dig @178.xxx.xxx.169 any xxxxxxxx.com

    ; <<>> DiG 9.11.3-1ubuntu1.1-Ubuntu <<>> @178.xxx.xxx.169 any xxxxxxxx.com
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1570
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 2
    ;; WARNING: recursion requested but not available

    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 4096
    ;; QUESTION SECTION:
    ;xxxxxxxx.com. IN ANY

    ;; ANSWER SECTION:
    xxxxxxxx.com. 3600 IN MX 10 mail.xxxxxxxx.com.
    xxxxxxxx.com. 3600 IN NS ns1.nsnsns.co.ke.
    xxxxxxxx.com. 3600 IN NS ns2.nsnsns.co.ke.
    xxxxxxxx.com. 3600 IN TXT "v=spf1 mx a ~all"
    xxxxxxxx.com. 3600 IN A 178.xxx.xxx.169
    xxxxxxxx.com. 3600 IN SOA ns1.nsnsns.co.ke. admin.domain.com. 2018091001 7200 540 604800 3600

    ;; ADDITIONAL SECTION:
    mail.xxxxxxxx.com. 3600 IN A 178.xxx.xxx.169

    ;; Query time: 166 msec
    ;; SERVER: 178.xxx.xxx.169#53(178.xxx.xxx.169)
    ;; WHEN: Tue Sep 11 09:07:09 EAT 2018
    ;; MSG SIZE rcvd: 240

    ***** This is the same domain not recieving email from external mailboxes (others in the same host are able to recieve)
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    DNS: Take a look into the zone file directory (usually that's /etc/bind/ ) and check if the zone file of the affected zone is saved with .err file ending.
    webmail: Normally, one Alias should be enough, and I guess the second one would override the first one. Which Linux Distribution and version do you use?
     
  4. AlexMJ

    AlexMJ New Member

    Debian 8
    Nope... the file saved is pri.domain.tld
     

Share This Page