ISPConfig dns zone config using digitalocean vanity nameservers

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

  1. AlexMJ

    AlexMJ New Member

    Hi,
    Am new at using ISPConfig.... I followed one of the tutes and installed it on an ubuntu droplet as well as created digitalocean vanity nameservers using a registered domain. I've created dns zones for my domains and no idea why they are not working.... searched through and read several sites for two days now can't figure out head ...... Anyone who could guide step by step ....

    Thank you.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    When you use the nameservers from Digitalocean for your domain, then you don't have to add a DNS zone in ISPConfig. A DNS tone in ISPConfig is only required when you run your own name servers. You can test the DNS setup of your domain e.g. at intodns.com
     
  3. AlexMJ

    AlexMJ New Member

    Does that mean...
    1. Create the vanity servers of DO and add the vanity nameservers in the registered domain
    2. Login to ISPCofig and create client + site
    3. Ignore dns zones
    4. Try to browse website
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  5. AlexMJ

    AlexMJ New Member

    Thanks
    I decided to rebuild using this tute https://www.howtoforge.com/tutorial/ispconfig-install-script-debian/
    I've managed to get it going but stuck on emails I cannot reach mydomai.com/webmail but i can see mydomain.com on the browser. I cannot login also vip https://{IP ADDRESS}/webmail though roundcube login shows up. Am using full email as username and its respective password.
    Do I need to ask in new thread or hijack this one.....
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Which error messages do you get in the /var/log/mail.log file when you try to login to RoundCube?
     
  7. AlexMJ

    AlexMJ New Member

    Sep 7 14:00:01 host dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<6dHllUd1OQB/AAAB>
    Sep 7 14:00:01 host postfix/smtpd[4082]: connect from localhost[127.0.0.1]
    Sep 7 14:00:01 host postfix/smtpd[4082]: lost connection after CONNECT from localhost[127.0.0.1]
    Sep 7 14:00:01 host postfix/smtpd[4082]: disconnect from localhost[127.0.0.1]
    Sep 7 14:00:41 host dovecot: imap-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<info@********.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<9B4jmEd1+QB/AAAB>
    Sep 7 14:00:56 host dovecot: imap-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<info@********.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=</ugMmUd1+gB/AAAB>
    Sep 7 14:01:13 host dovecot: pop3-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<admin>, method=PLAIN, rip=151.236.33.51, lip=178.128.165.169, session=<J2sSmkd1DgCX7CEz>
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, that's just the login error. You created a mailbox in ISPConfig in the mail module and you are sure that you use the email address of that mailbox and the correct password? With your new server install, you started from a fresh and empty (minimal) server installation?
     
  9. AlexMJ

    AlexMJ New Member

    I started with minimal and then ran the auto install script....
    Well I refreshed the passwords and the login worked... do the basic domain dns settings allow one to recieve emails or there are some further configurations?
     
  10. AlexMJ

    AlexMJ New Member

    Well am able to send but i cannot recieve emails....
    Am not also able to access the url mydomain.com/webmail...
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you test your DNS tone at intodns.com like I suggested? Does it show any errors?
     
  12. AlexMJ

    AlexMJ New Member

    I've created several domain on one VPS using Ispconfig --- I can send and recieve internal from all but i don't recieve from external plus i cant do mydomain.com/webmail
    Got errors back ...
    1. ERROR: Some of your DNS servers do not have A records at all. I could not find any A records for the following DNS servers:
    2. WARNING: One or more of your nameservers did not return any of your NS records.
    3. ERROR: Looks like you have less than 2 nameservers. According to RFC2182 section 5 you must have at least 3 nameservers, and no more than 7. Having 2 nameservers is also ok by me.
    4. You should already know that your NS records at your nameservers are missing, so here it is again:
    5. No valid SOA record came back!
    6. Oh well, I did not detect any MX records so you probably don't have any and if you know you should have then they may be missing at your nameservers!
    7. ERROR: I could not get any A records for www.xxxxx.com! --- Added www A record like 3 days ago

    here are the dns zone records

    Yes A mail 178.x.x.169 0 3600
    Yes
    A ns1 178.x.x.169 0 3600
    Yes
    A ns2 178.x.x.169 0 3600
    Yes
    A xxxxxx.com. 178.x.x.169 0 3600
    Yes
    A www 178.x.x.169 0 3600
    Yes
    MX xxxxxxx.com mail.xxxxxx.com. 10 3600
    Yes
    NS xxxxxxxx.com. ns2.xxxxxxx.co.ke. 0 3600
    Yes
    NS xxxxxxxx.com. ns1xxxxxxxx.co.ke. 0 3600
    Yes
    TXT xxxxxxx.com. v=spf1 mx a ~all 0 3600
     
  13. AlexMJ

    AlexMJ New Member

    Forrgot to mention i opted to have ns pointing to the VPS IP
     
  14. AlexMJ

    AlexMJ New Member

    No idea but the reciept failure issue has gone away except for one domain - I've deleted its DNS zone and recreated it again .... though i still have the problem can't access mydomain.tld/webmail
     
  15. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    In your PM you asked me to
    There you write dns zones are not working. But last message on this tread you write
    Which problem is it? Or is it both?
    Anyway, did you read the tutorial on name service setup I gave link to in message #4? There is info on how to check if zone is working.
     
  16. AlexMJ

    AlexMJ New Member

    I went through the name service set up tute --- the domains are now working i can access on them browser except for one which I ran dns test as asked by Till and posted the results above. From the result I couldn't get why the errors because i'd followed the same steps for the one that are working.
    The other issue is that I cannot access the webmail via alias i.e. mydomain.tld/webmail

    Thank you.
     
  17. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You are supposed to repair the errors intodns shows. Have you done that?
    I run two commands on my ISPConfig host, what do you get for these commands?
    Code:
    root@ispchost:~# grep webmail /etc/apache2/conf-enabled/roundcube.conf
    Alias /webmail /var/lib/roundcube
    root@ispchost:~# ls -lh /var/lib/roundcube/
    yhteensä 28K
    lrwxrwxrwx  1 root     root       14 marra  9  2017 config -> /etc/roundcube
    lrwxrwxrwx  1 root     root       30 huhti 21 02:51 index.php -> /usr/share/roundcube/index.php
    lrwxrwxrwx  1 root     root       19 marra  9  2017 logs -> ../../log/roundcube
    drwxr-xr-x 11 root     root     4,0K maali 21 18:45 plugins
    lrwxrwxrwx  1 root     root       28 marra  9  2017 program -> /usr/share/roundcube/program
    lrwxrwxrwx  1 root     root       31 huhti 21 02:51 robots.txt -> /usr/share/roundcube/robots.txt
    drwxr-xr-x  2 root     root     4,0K marra 13  2017 skins
    drwxr-x---  2 www-data www-data  20K syys   9 18:12 temp
    root@ispchost:~#
     
  18. AlexMJ

    AlexMJ New Member

    chanansys@host:~$ grep webmail /etc/apache2/conf-enabled/roundcube.conf
    Alias /webmail /var/lib/roundcube
    Alias /webmail /var/lib/roundcube
    chanansys@host:~$ ls -lh /var/lib/roundcube/
    total 12K
    lrwxrwxrwx 1 root root 14 May 2 2017 config -> /etc/roundcube
    lrwxrwxrwx 1 root root 30 May 2 2017 index.php -> /usr/share/roundcube/index.php
    lrwxrwxrwx 1 root root 19 May 2 2017 logs -> ../../log/roundcube
    drwxr-xr-x 2 root root 4.0K Sep 7 07:20 plugins
    lrwxrwxrwx 1 root root 28 May 2 2017 program -> /usr/share/roundcube/program
    lrwxrwxrwx 1 root root 31 May 2 2017 robots.txt -> /usr/share/roundcube/robots.txt
    drwxr-xr-x 2 root root 4.0K Sep 7 07:19 zkins ***
    drwxr-x--- 2 www-data www-data 4.0K May 2 2017 temp

    *** changed s to z else the word is banned
     
  19. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    So you have the webmail alias twice in that file? Maybe that is the problem?
     
  20. AlexMJ

    AlexMJ New Member

    One alias is in the config for virtual host listening on port 80 and the other is for port 443.... would that bring issues ...
    Am also still working out the dns errors from above
     

Share This Page