cant connect to hostname but sites r fine

Discussion in 'Installation/Configuration' started by jimmie, Apr 27, 2020.

  1. jimmie

    jimmie Member

    show system log
    Apr 27 21:14:06 computer-hosting named[964]: automatic empty zone: D.F.IP6.ARPA
    Apr 27 21:14:06 computer-hosting named[964]: automatic empty zone: 8.E.F.IP6.ARPA
    Apr 27 21:14:06 computer-hosting named[964]: automatic empty zone: 9.E.F.IP6.ARPA
    Apr 27 21:14:06 computer-hosting named[964]: automatic empty zone: A.E.F.IP6.ARPA
    Apr 27 21:14:06 computer-hosting named[964]: automatic empty zone: B.E.F.IP6.ARPA
    Apr 27 21:14:06 computer-hosting named[964]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
    Apr 27 21:14:06 computer-hosting named[964]: automatic empty zone: EMPTY.AS112.ARPA
    Apr 27 21:14:06 computer-hosting named[964]: none:103: 'max-cache-size 90%' - setting to 6950MB (out of 7723MB)
    Apr 27 21:14:06 computer-hosting named[964]: configuring command channel from '/etc/bind/rndc.key'
    Apr 27 21:14:06 computer-hosting named[964]: configuring command channel from '/etc/bind/rndc.key'
    Apr 27 21:14:06 computer-hosting named[964]: reloading configuration succeeded
    Apr 27 21:14:06 computer-hosting named[964]: all zones loaded
    Apr 27 21:14:06 computer-hosting named[964]: running
    Apr 27 21:14:06 computer-hosting named[964]: reloading zones succeeded
    Apr 27 21:14:06 computer-hosting rndc[10541]: server reload successful
    Apr 27 21:14:06 computer-hosting systemd[1]: Reloaded BIND Domain Name Server.
    Apr 27 21:14:07 computer-hosting kernel: [35381.457116] [UFW BLOCK] IN=enp2s0 OUT= MAC=54:04:a6:82:09:0f:2c:7e:81:54:9a:da:08:00 SRC=220.181.108.147 DST=97.76.140.174 LEN=40 TOS=0x08 PREC=0x00 TTL=38 ID=5060 DF PROTO=TCP SPT=60712 DPT=443 WINDOW=0 RES=0x00 RST URGP=0
    Apr 27 21:14:07 computer-hosting kernel: [35381.461795] [UFW BLOCK] IN=enp2s0 OUT= MAC=54:04:a6:82:09:0f:2c:7e:81:54:9a:da:08:00 SRC=220.181.108.147 DST=97.76.140.174 LEN=40 TOS=0x08 PREC=0x00 TTL=38 ID=5062 DF PROTO=TCP SPT=60712 DPT=443 WINDOW=0 RES=0x00 RST URGP=0
    Apr 27 21:14:08 computer-hosting kernel: [35382.496800] [UFW BLOCK] IN=enp2s0 OUT= MAC=54:04:a6:82:09:0f:2c:7e:81:54:9a:da:08:00 SRC=220.181.108.178 DST=97.76.140.174 LEN=40 TOS=0x08 PREC=0x00 TTL=43 ID=17568 DF PROTO=TCP SPT=63419 DPT=443 WINDOW=0 RES=0x00 RST URGP=0
    Apr 27 21:14:24 computer-hosting kernel: [35398.055924] [UFW BLOCK] IN=enp2s0 OUT= MAC=54:04:a6:82:09:0f:2c:7e:81:54:9a:da:08:00 SRC=112.85.42.185 DST=97.76.140.174 LEN=67 TOS=0x10 PREC=0x00 TTL=49 ID=49589 DF PROTO=TCP SPT=17737 DPT=22 WINDOW=229 RES=0x00 ACK PSH URGP=0
    Apr 27 21:14:31 computer-hosting dovecot: imap-login: Login: user=<[email protected]pplies.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=10565, secured, session=<cLN4M0ykGpV/AAAB>
    Apr 27 21:14:31 computer-hosting dovecot: imap([email protected]): Logged out in=131 out=1242
    Apr 27 21:14:37 computer-hosting systemd-resolved[825]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
    Apr 27 21:14:37 computer-hosting postfix/smtpd[7662]: connect from unknown[45.142.195.6]
    Apr 27 21:14:42 computer-hosting postfix/smtpd[7662]: warning: unknown[45.142.195.6]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
    Apr 27 21:14:42 computer-hosting postfix/smtpd[7662]: disconnect from unknown[45.142.195.6] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
    Apr 27 21:15:01 computer-hosting CRON[10570]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    Apr 27 21:15:01 computer-hosting CRON[10571]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /dev/null)
    Apr 27 21:15:01 computer-hosting CRON[10575]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    Apr 27 21:15:02 computer-hosting kernel: [35436.717478] [UFW BLOCK] IN=enp2s0 OUT= MAC=54:04:a6:82:09:0f:2c:7e:81:54:9a:da:08:00 SRC=114.119.164.114 DST=97.76.140.174 LEN=40 TOS=0x08 PREC=0x00 TTL=39 ID=53475 DF PROTO=TCP SPT=63396 DPT=443 WINDOW=0 RES=0x00 RST URGP=0
    Apr 27 21:15:04 computer-hosting pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1
    Apr 27 21:15:04 computer-hosting pure-ftpd: ([email protected]) [INFO] Logout.
    Apr 27 21:15:04 computer-hosting postfix/smtpd[7662]: connect from localhost[127.0.0.1]
    Apr 27 21:15:04 computer-hosting postfix/smtpd[7662]: lost connection after CONNECT from localhost[127.0.0.1]
    Apr 27 21:15:04 computer-hosting postfix/smtpd[7662]: disconnect from localhost[127.0.0.1] commands=0/0
    Apr 27 21:15:05 computer-hosting dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<ju12NUykZO1/AAAB>
    Apr 27 21:15:05 computer-hosting dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<+vl2NUykMpV/AAAB>
     
  2. nhybgtvfr

    nhybgtvfr Active Member

    ok, as said earlier

    you're missing the A records for ns1 and ns2.
     
  3. jimmie

    jimmie Member

    well why cant i log in as localhost with out creating dns
     
  4. jimmie

    jimmie Member

    yes it is now working,so when creating new sites should i use the name servers from computer-hosting
    into jnsflooringandsupplies.com
     
  5. nhybgtvfr

    nhybgtvfr Active Member

    anything you have a dns zone for should have records like

    type name target
    NS <domain.tld> ns1.computer-hosting.com.
    NS <domain.tld> ns2.computer-hosting.com.


    when logging in using the browser, http://computer-hosting.com, or http://computer-hostin.com:8080 is not localhost, http:://localhost is localhost, and you'd only be able to login like that if you had the x desktop running and was using the browser directly on the server, or was using a cli browser like lynx

    if the dns records didn't exist you'd need
    127.0.0.1 localhost
    97.76.140.174 ns1.computer-hosting.com ns1
    97.76.140.174 ns2.computer-hosting.com ns2

    in your hosts file, on both the server, and your local computer.
    also, at the moment, you've got both dns records on the same ip, are you only running 1 dns server?

    and yes, the godaddy settings matter. as also said earlier, when the nameservers for the dns zone are also members of that domain, then the registration authority needs glue records for those nameservers, otherwise it's impossible for any other server to locate the dns servers.
     
  6. jimmie

    jimmie Member

    like this, if this was your baby what more would you add to it or is nothing needed
     
  7. jimmie

    jimmie Member

  8. jimmie

    jimmie Member

    most of this is public info and doesnt need to be deleted?
     
  9. nhybgtvfr

    nhybgtvfr Active Member

    that looks ok, hard to tell for the name fields though, they're truncated.
    make sure they have a trailing . if domain.tld is included in that field.
     
  10. nhybgtvfr

    nhybgtvfr Active Member

    nothing needs to be deleted, it can all be queried using dig/nslookup etc anyway.
     
  11. jimmie

    jimmie Member

    how do i access roundcube without going through ispconfig. what is URL
     
  12. nhybgtvfr

    nhybgtvfr Active Member

    that all depends on how/where it's been installed and configured.
    how did you access it before?
     
  13. jimmie

    jimmie Member

    mx field pointing to mail.computer-hosting. will that stop website url or have to use computer-hosting url
     
  14. jimmie

    jimmie Member

    access in ispcog the link by each mailbox, but has 8080 in url
    jnsflooringandsupplies.com:8080/webmail/
     
  15. nhybgtvfr

    nhybgtvfr Active Member

    mx records are for mail transfer agents, not for webmail access.

    as long as mail.computer-hosting.com is the host your postfix is running on, and that FQDN is configured as the mailname then that's all ok.
     
  16. jimmie

    jimmie Member

    hey thank you for your help. 1 more thing in monitor is shows 1 or more things need an update,
    One or more components needs an update [More...]
    Inst kmod [24-1ubuntu3.2] (24-1ubuntu3.3 Ubuntu:18.04/bionic-updates [amd64]) []
    Inst libkmod2 [24-1ubuntu3.2] (24-1ubuntu3.3 Ubuntu:18.04/bionic-updates [amd64])
    Inst libcupsimage2 [2.2.7-1ubuntu2.7] (2.2.7-1ubuntu2.8 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64]) []
    Inst libcups2 [2.2.7-1ubuntu2.7] (2.2.7-1ubuntu2.8 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
    Inst libopenexr22 [2.2.0-11.1ubuntu1.1] (2.2.0-11.1ubuntu1.2 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
    Inst php7.4-soap (7.4.5-1+ubuntu18.04.1+deb.sury.org+1 ***** The main PPA for supported PHP versions with many PECL extensions *****:18.04/bionic [amd64])
    Inst php-soap [1:7.2+60ubuntu1] (2:7.4+75+ubuntu18.04.1+deb.sury.org+1 ***** The main PPA for supported PHP versions with many PECL extensions *****:18.04/bionic [all])
    Inst php7.4-xml (7.4.5-1+ubuntu18.04.1+deb.sury.org+1 ***** The main PPA for supported PHP versions with many PECL extensions *****:18.04/bionic [amd64])
    Inst php-xml [1:7.2+60ubuntu1] (2:7.4+75+ubuntu18.04.1+deb.sury.org+1 ***** The main PPA for supported PHP versions with many PECL extensions *****:18.04/bionic [all])
    Conf kmod (24-1ubuntu3.3 Ubuntu:18.04/bionic-updates [amd64])
    Conf libkmod2 (24-1ubuntu3.3 Ubuntu:18.04/bionic-updates [amd64])
    Conf libcupsimage2 (2.2.7-1ubuntu2.8 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
    Conf libcups2 (2.2.7-1ubuntu2.8 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
    Conf libopenexr22 (2.2.0-11.1ubuntu1.2 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
    Conf php7.4-soap (7.4.5-1+ubuntu18.04.1+deb.sury.org+1 ***** The main PPA for supported PHP versions with many PECL extensions *****:18.04/bionic [amd64])
    Conf php-soap (2:7.4+75+ubuntu18.04.1+deb.sury.org+1 ***** The main PPA for supported PHP versions with many PECL extensions *****:18.04/bionic [all])
    Conf php7.4-xml (7.4.5-1+ubuntu18.04.1+deb.sury.org+1 ***** The main PPA for supported PHP versions with many PECL extensions *****:18.04/bionic [amd64])
    Conf php-xml (2:7.4+75+ubuntu18.04.1+deb.sury.org+1 ***** The main PPA for supported PHP versions with many PECL extensions *****:18.04/bionic [all])
     
  17. nhybgtvfr

    nhybgtvfr Active Member

    what have you got set in system - main config - mail - webmail url ?

    you should be able to leave that as just /webmail
     
  18. nhybgtvfr

    nhybgtvfr Active Member

    as root, run:
    apt update
    apt upgrade
     
  19. jimmie

    jimmie Member

    i installed php 5.6 through 7.3 the guide did not have 7.4. i did install 7.4 but some packages were missing. i did not install 7.4 into ispconfig yet (additional php version
     
    Last edited: Apr 28, 2020
  20. jimmie

    jimmie Member

    yes that works!
     

Share This Page