unable to configure website on ISPConfig 3

Discussion in 'ISPConfig 3 Priority Support' started by Raghu M, Aug 1, 2017.

  1. Raghu M

    Raghu M Member

    Hi Mr. Till as per u r suggestions i got the below mentioned result and comment or further suggestions, still not able to resolve name to ip, awaiting for your kind help...

    hi this is the out put for
    root@softpro9:~# dig @@localhost yashkart.com

    ; <<>> DiG 9.10.3-P4-Ubuntu <<>> @@localhost yashkart.com
    ; (2 servers found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33355
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

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

    ;; ANSWER SECTION:
    yashkart.com. 3600 IN A 192.168.0.140

    ;; AUTHORITY SECTION:
    yashkart.com. 3600 IN NS ns1.yashkart.com.
    yashkart.com. 3600 IN NS ns2.yashkart.com.

    ;; ADDITIONAL SECTION:
    ns1.yashkart.com. 3600 IN A 192.168.0.140
    ns2.yashkart.com. 3600 IN A 192.168.0.140

    ;; Query time: 1 msec
    ;; SERVER: ::1#53:):1)
    ;; WHEN: Tue Aug 01 13:38:29 IST 2017
    ;; MSG SIZE rcvd: 125

    root@softpro9:~#
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    In DNS, you have to use the external IP. Please change the IP addresses of this zone in ISPConfig to the external IP.
     
  3. Raghu M

    Raghu M Member

    Hi till i have update and request you to please find the attached image and let me know if am wrong. Thanks
     

    Attached Files:

  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. Raghu M

    Raghu M Member

    In sites do i need to assign the external ip, local ip or i just need to select * (external ip is 103.21.234.52 & local is 192.168.0.140). i have also attached the screenshot
     

    Attached Files:

  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Use * there (or the internal IP, but it's easier to use just *). The external IP is used in DNS only.
     
  7. Raghu M

    Raghu M Member

    root@softpro9:~# dig @192.168.0.140 yashkart.com

    ; <<>> DiG 9.10.3-P4-Ubuntu <<>> @192.168.0.140 yashkart.com
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 45909
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

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

    ;; Query time: 736 msec
    ;; SERVER: 192.168.0.140#53(192.168.0.140)
    ;; WHEN: Tue Aug 01 16:40:16 IST 2017
    ;; MSG SIZE rcvd: 41
     
  8. Raghu M

    Raghu M Member

    root@softpro9:~# cat htf_report.txt | more

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***
    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.1.6


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 7.0.18-0ubuntu***.***.***.***

    ##### PORT CHECK #####


    ##### MAIL SERVER CHECK #####


    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Apache 2 (PID 14652)
    [INFO] I found the following mail server(s):
    Postfix (PID 2041)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 1344)
    [INFO] I found the following imap server(s):
    Dovecot (PID 1344)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 1877)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [localhost]:10024 (2073/amavisd-new)
    [localhost]:10025 (2041/master)
    [localhost]:10026 (2073/amavisd-new)
    [localhost]:10027 (2041/master)
    [anywhere]:587 (2041/master)
    [localhost]:11211 (1282/memcached)
    [localhost]:6379 (1345/redis-server)
    [anywhere]:110 (1344/dovecot)
    [anywhere]:143 (1344/dovecot)
    [anywhere]:465 (2041/master)
    ***.***.***.***:53 (5610/named)
    [localhost]:53 (5610/named)
    [anywhere]:21 (1877/pure-ftpd)
    [anywhere]:22 (1274/sshd)
    [localhost]:953 (5610/named)
    [anywhere]:25 (2041/master)
    [anywhere]:993 (1344/dovecot)
    [anywhere]:995 (1344/dovecot)
    [localhost]:10023 (1658/postgrey.pid)
    *:*:*:*::*:10024 (2073/amavisd-new)
    *:*:*:*::*:10026 (2073/amavisd-new)
    *:*:*:*::*:3306 (1712/mysqld)
    *:*:*:*::*:587 (2041/master)
    [localhost]10 (1344/dovecot)
    [localhost]43 (1344/dovecot)
    *:*:*:*::*:8080 (14652/apache2)
    *:*:*:*::*:80 (14652/apache2)
    *:*:*:*::*:8081 (14652/apache2)
    *:*:*:*::*:465 (2041/master)
    *:*:*:*::*:53 (5610/named)
    *:*:*:*::*:21 (1877/pure-ftpd)
    *:*:*:*::*:22 (1274/sshd)
    *:*:*:*::*:953 (5610/named)
    *:*:*:*::*:25 (2041/master)
    *:*:*:*::*:443 (14652/apache2)
    *:*:*:*::*:993 (1344/dovecot)
    *:*:*:*::*:995 (1344/dovecot)
    *:*:*:*::*:10023 (1658/postgrey.pid)




    ##### IPTABLES #####
    Chain INPUT (policy DROP)
    target prot opt source destination
    f2b-pureftpd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 21
    f2b-dovecot-pop3imap tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993
    f2b-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25
    f2b-sshd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22
    ufw-before-logging-input all -- [anywhere]/0 [anywhere]/0
    ufw-before-input all -- [anywhere]/0 [anywhere]/0
    ufw-after-input all -- [anywhere]/0 [anywhere]/0
    ufw-after-logging-input all -- [anywhere]/0 [anywhere]/0
    ufw-reject-input all -- [anywhere]/0 [anywhere]/0
    ufw-track-input all -- [anywhere]/0 [anywhere]/0

    Chain FORWARD (policy DROP)
    target prot opt source destination
    ufw-before-logging-forward all -- [anywhere]/0 [anywhere]/0
    ufw-before-forward all -- [anywhere]/0 [anywhere]/0
    ufw-after-forward all -- [anywhere]/0 [anywhere]/0
    ufw-after-logging-forward all -- [anywhere]/0 [anywhere]/0
    ufw-reject-forward all -- [anywhere]/0 [anywhere]/0
    ufw-track-forward all -- [anywhere]/0 [anywhere]/0

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    ufw-before-logging-output all -- [anywhere]/0 [anywhere]/0
    ufw-before-output all -- [anywhere]/0 [anywhere]/0
    ufw-after-output all -- [anywhere]/0 [anywhere]/0
    ufw-after-logging-output all -- [anywhere]/0 [anywhere]/0
    ufw-reject-output all -- [anywhere]/0 [anywhere]/0
    ufw-track-output all -- [anywhere]/0 [anywhere]/0

    Chain f2b-dovecot-pop3imap (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-postfix-sasl (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-pureftpd (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-sshd (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain ufw-after-forward (1 references)
    target prot opt source destination

    Chain ufw-after-input (1 references)
    target prot opt source destination
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:137
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:138
    ufw-skip-to-policy-input tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:139
    ufw-skip-to-policy-input tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:445
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:67
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:68
    ufw-skip-to-policy-input all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type BROADCAST
     
  9. Raghu M

    Raghu M Member

    Chain ufw-after-logging-forward (1 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "

    Chain ufw-after-logging-input (1 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "

    Chain ufw-after-logging-output (1 references)
    target prot opt source destination

    Chain ufw-after-output (1 references)
    target prot opt source destination

    Chain ufw-before-forward (1 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0 ctstate RELATED,ESTABLISHED
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 3
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 4
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 11
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 12
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 8
    ufw-user-forward all -- [anywhere]/0 [anywhere]/0

    Chain ufw-before-input (1 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0
    ACCEPT all -- [anywhere]/0 [anywhere]/0 ctstate RELATED,ESTABLISHED
    ufw-logging-deny all -- [anywhere]/0 [anywhere]/0 ctstate INVALID
    DROP all -- [anywhere]/0 [anywhere]/0 ctstate INVALID
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 3
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 4
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 11
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 12
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 8
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp spt:67 dpt:68
    ufw-not-local all -- [anywhere]/0 [anywhere]/0
    ACCEPT udp -- [anywhere]/0 ***.***.***.*** udp dpt:5353
    ACCEPT udp -- [anywhere]/0 ***.***.***.*** udp dpt:1900
    ufw-user-input all -- [anywhere]/0 [anywhere]/0

    Chain ufw-before-logging-forward (1 references)
    target prot opt source destination

    Chain ufw-before-logging-input (1 references)
    target prot opt source destination

    Chain ufw-before-logging-output (1 references)
    target prot opt source destination

    Chain ufw-before-output (1 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0
    ACCEPT all -- [anywhere]/0 [anywhere]/0 ctstate RELATED,ESTABLISHED
    ufw-user-output all -- [anywhere]/0 [anywhere]/0

    Chain ufw-logging-allow (0 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW ALLOW] "

    Chain ufw-logging-deny (2 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0 ctstate INVALID limit: avg 3/min burst 10
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "

    Chain ufw-not-local (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type LOCAL
    RETURN all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type MULTICAST
    RETURN all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type BROADCAST
    ufw-logging-deny all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10
    DROP all -- [anywhere]/0 [anywhere]/0

    Chain ufw-reject-forward (1 references)
    target prot opt source destination

    Chain ufw-reject-input (1 references)
    target prot opt source destination

    Chain ufw-reject-output (1 references)
    target prot opt source destination

    Chain ufw-skip-to-policy-forward (0 references)
    target prot opt source destination
    DROP all -- [anywhere]/0 [anywhere]/0

    Chain ufw-skip-to-policy-input (7 references)
    target prot opt source destination
    DROP all -- [anywhere]/0 [anywhere]/0

    Chain ufw-skip-to-policy-output (0 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0

    Chain ufw-track-forward (1 references)
    target prot opt source destination

    Chain ufw-track-input (1 references)
    target prot opt source destination

    Chain ufw-track-output (1 references)
    target prot opt source destination
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 ctstate NEW
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 ctstate NEW

    Chain ufw-user-forward (1 references)
    target prot opt source destination

    Chain ufw-user-input (1 references)
    target prot opt source destination
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:20
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:21
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:22
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:25
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:53
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:80
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:110
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:143
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:443
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:587
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:993
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:995
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:3306
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:8080
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:8081
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:10000
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:53
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:3306

    Chain ufw-user-limit (0 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 5 LOG flags 0 level 4 prefix "[UFW LIMIT BLOCK] "
    REJECT all -- [anywhere]/0 [anywhere]/0 reject-with icmp-port-unreachable

    Chain ufw-user-limit-accept (0 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0

    Chain ufw-user-logging-forward (0 references)
    target prot opt source destination

    Chain ufw-user-logging-input (0 references)
    target prot opt source destination

    Chain ufw-user-logging-output (0 references)
    target prot opt source destination

    Chain ufw-user-output (1 references)
    target prot opt source destination
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so you don' get an answer with:

    dig @192.168.0.140 yashkart.com

    (that's the correct internal server IP, right?) Please try if:

    dig @localhost yashkart.com

    still gives a valid response. If that'd the case, then the next things to try is that you stop the ufw firewall and test again to reach the nameserver on the internal IP 192.... and if this still does not help, check the named.conf file and named.conf.options file to ensure that your dns server does not listen on localhost only.
     
  11. Raghu M

    Raghu M Member

    Hi, Response for
    root@softpro9:/etc# dig @localhost yashkart.com

    ; <<>> DiG 9.10.3-P4-Ubuntu <<>> @localhost yashkart.com
    ; (2 servers found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 55041
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

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

    ;; Query time: 3 msec
    ;; SERVER: ::1#53:):1)
    ;; WHEN: Tue Aug 01 17:07:34 IST 2017
    ;; MSG SIZE rcvd: 41

    root@softpro9:/etc#
    ----------------------------------------------------------------------------------------------------------
    Then i tried stopping
    root@softpro9:/etc# sudo ufw disable
    Firewall stopped and disabled on system startup
    -----------------------------------------------------------------------------------------------------------
    root@softpro9:/etc# dig @192.168.0.140 yashkart.com

    ; <<>> DiG 9.10.3-P4-Ubuntu <<>> @192.168.0.140 yashkart.com
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 58122
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

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

    ;; Query time: 3 msec
    ;; SERVER: 192.168.0.140#53(192.168.0.140)
    ;; WHEN: Tue Aug 01 17:09:47 IST 2017
    ;; MSG SIZE rcvd: 41

    -----------------------------------------------------------------------------------------------------
     
  12. Raghu M

    Raghu M Member

    Entries in named.conf
    GNU nano 2.5.3 File: /etc/bind/named.conf

    // This is the primary configuration file for the BIND DNS server named.
    //
    // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
    // structure of BIND configuration files in Debian, *BEFORE* you customize
    // this configuration file.
    //
    // If you are just adding zones, please do that in /etc/bind/named.conf.local

    include "/etc/bind/named.conf.options";
    include "/etc/bind/named.conf.local";
    include "/etc/bind/named.conf.default-zones";
     
  13. Raghu M

    Raghu M Member

    GNU nano 2.5.3 File: /etc/bind/named.conf.options

    options {
    directory "/var/cache/bind";

    // If there is a firewall between you and nameservers you want
    // to talk to, you may need to fix the firewall to allow multiple
    // ports to talk. See http://www.kb.cert.org/vuls/id/800113

    // If your ISP provided one or more IP addresses for stable
    // nameservers, you probably want to use them as forwarders.
    // Uncomment the following block, and insert the addresses replacing
    // the all-0's placeholder.

    // forwarders {
    // 0.0.0.0;
    // };

    //========================================================================
    // If BIND logs error messages about the root key being expired,
    // you will need to update your keys. See https://www.isc.org/bind-keys
    //========================================================================
    dnssec-enable yes;
    dnssec-validation yes;
    dnssec-lookaside auto;

    auth-nxdomain no; # conform to RFC1035
    listen-on-v6 { any; };
    };
     
  14. Raghu M

    Raghu M Member

    root@softpro9:/etc# ifconfig
    ens33 Link encap:Ethernet HWaddr 00:0c:29:6e:30:c5
    inet addr:192.168.0.140 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:29ff:fe6e:30c5/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:50256 errors:0 dropped:0 overruns:0 frame:0
    TX packets:36074 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:17705401 (17.7 MB) TX bytes:8597770 (8.5 MB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:3024 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3024 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1
    RX bytes:912524 (912.5 KB) TX bytes:912524 (912.5 KB)
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Hmm, ok, so now it seems to fail on localhost as well. Restart BINd and then take a look into the /var/log/syslog file for baind / named errors.
     
  16. Raghu M

    Raghu M Member

    root@softpro9:/etc# service bind9 restart
    root@softpro9:/etc# service bind9 status
    ● bind9.service - BIND Domain Name Server
    Loaded: loaded (/lib/systemd/system/bind9.service; enabled; vendor preset: enabled)
    Drop-In: /run/systemd/generator/bind9.service.d
    └─50-insserv.conf-$named.conf
    Active: active (running) since Tue 2017-08-01 17:17:21 IST; 33s ago
    Docs: man:named(8)
    Process: 17240 ExecStop=/usr/sbin/rndc stop (code=exited, status=0/SUCCESS)
    Process: 14102 ExecReload=/usr/sbin/rndc reload (code=exited, status=0/SUCCESS)
    Main PID: 17246 (named)
    Tasks: 11
    Memory: 19.6M
    CPU: 293ms
    CGroup: /system.slice/bind9.service
    └─17246 /usr/sbin/named -f -u bind

    Aug 01 17:17:24 softpro9 named[17246]: network unreachable resolving 'ari.gamma.aridns.net.au/AAAA/IN': 2001:dcd:4::2#53
    Aug 01 17:17:24 softpro9 named[17246]: network unreachable resolving 'pdns196.ultradns.org/AAAA/IN': 2610:a1:1016::e8#53
    Aug 01 17:17:24 softpro9 named[17246]: network unreachable resolving 'pdns196.ultradns.org/A/IN': 2610:a1:1016::e8#53
    Aug 01 17:17:24 softpro9 named[17246]: network unreachable resolving 'pdns196.ultradns.biz/A/IN': 2001:7fd::1#53
    Aug 01 17:17:24 softpro9 named[17246]: network unreachable resolving 'pdns196.ultradns.co.uk/A/IN': 2001:7fd::1#53
    Aug 01 17:17:24 softpro9 named[17246]: network unreachable resolving 'pdns196.ultradns.com/AAAA/IN': 2001:7fd::1#53
    Aug 01 17:17:24 softpro9 named[17246]: network unreachable resolving './NS/IN': 2001:7fd::1#53
    Aug 01 17:17:25 softpro9 named[17246]: network unreachable resolving 'u.au/AAAA/IN': 2001:dcd:3::5#53
    Aug 01 17:17:25 softpro9 named[17246]: network unreachable resolving 'u.au/AAAA/IN': 2001:dcd:4::5#53
    Aug 01 17:17:25 softpro9 named[17246]: network unreachable resolving 'u.au/AAAA/IN': 2001:dcd:1::5#53
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    Hmm, bind seems to be started. Not sure why you get these resolve errors though. Please post the output of:

    ls -la /etc/bind/

    and the content of the file /etc/bind/named.conf.local
     
  18. Raghu M

    Raghu M Member

    GNU nano 2.5.3 File: syslog

    Aug 1 06:25:52 softpro9 kernel: [298738.791227] [UFW BLOCK] IN=ens33 OUT= MAC=01:00:5e:00:00:01:c4:e9:84:e6:b1:20:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=3$
    Aug 1 06:26:01 softpro9 CRON[64692]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispcon$
    Aug 1 06:26:01 softpro9 CRON[64695]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispc$
    Aug 1 06:26:33 softpro9 kernel: [298780.493454] [UFW BLOCK] IN=ens33 OUT= MAC=00:0c:29:6e:30:c5:c4:e9:84:e6:b1:20:08:00 SRC=194.63.140.103 DST=192.168.0.14$
    Aug 1 06:27:01 softpro9 CRON[64709]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispcon$
    Aug 1 06:27:01 softpro9 CRON[64710]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispc$
    Aug 1 06:27:57 softpro9 kernel: [298863.674399] [UFW BLOCK] IN=ens33 OUT= MAC=01:00:5e:00:00:01:c4:e9:84:e6:b1:20:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=3$
    Aug 1 06:28:01 softpro9 CRON[64726]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispcon$
    Aug 1 06:28:01 softpro9 CRON[64729]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispc$
    Aug 1 06:28:36 softpro9 ntpd[44136]: bind(22) AF_INET6 fe80::20c:29ff:fe6e:30c5%2#123 flags 0x11 failed: Cannot assign requested address
    Aug 1 06:28:36 softpro9 ntpd[44136]: unable to create socket on ens33 (794) for fe80::20c:29ff:fe6e:30c5%2#123
    Aug 1 06:28:36 softpro9 ntpd[44136]: failed to init interface for address fe80::20c:29ff:fe6e:30c5%2
    Aug 1 06:28:44 softpro9 kernel: [298910.751114] [UFW BLOCK] IN=ens33 OUT= MAC=00:0c:29:6e:30:c5:c4:e9:84:e6:b1:20:08:00 SRC=42.51.190.248 DST=192.168.0.140$
    Aug 1 06:28:50 softpro9 kernel: [298916.584545] [UFW BLOCK] IN=ens33 OUT= MAC=00:0c:29:6e:30:c5:c4:e9:84:e6:b1:20:08:00 SRC=219.135.97.228 DST=192.168.0.14$
    Aug 1 06:29:01 softpro9 CRON[64748]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispcon$
    Aug 1 06:29:01 softpro9 CRON[64751]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispc$
    Aug 1 06:29:28 softpro9 kernel: [298955.183591] [UFW BLOCK] IN=ens33 OUT= MAC=00:0c:29:6e:30:c5:c4:e9:84:e6:b1:20:08:00 SRC=183.133.41.75 DST=192.168.0.140$
    Aug 1 06:30:01 softpro9 CRON[64771]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /dev/null)
    Aug 1 06:30:01 softpro9 CRON[64772]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispcon$
    Aug 1 06:30:01 softpro9 CRON[64773]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispc$
    Aug 1 06:30:01 softpro9 kernel: [298988.558220] [UFW BLOCK] IN=ens33 OUT= MAC=01:00:5e:00:00:01:c4:e9:84:e6:b1:20:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=3$
    Aug 1 06:30:02 softpro9 pure-ftpd: (?@::1) [INFO] New connection from ::1
    Aug 1 06:30:02 softpro9 pure-ftpd: (?@::1) [INFO] Logout.
    Aug 1 06:30:02 softpro9 dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=$
    Aug 1 06:30:02 softpro9 postfix/smtpd[64837]: connect from localhost[::1]
    Aug 1 06:30:02 softpro9 postfix/smtpd[64837]: lost connection after CONNECT from localhost[::1]
    Aug 1 06:30:02 softpro9 postfix/smtpd[64837]: disconnect from localhost[::1] commands=0/0
    Aug 1 06:30:02 softpro9 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<BCPSqqZVurwAAAAAAAAAAA$
    Aug 1 06:31:01 softpro9 CRON[64847]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispcon$
    Aug 1 06:31:01 softpro9 CRON[64850]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispc$
    Aug 1 06:31:53 softpro9 kernel: [299100.081218] [UFW BLOCK] IN=ens33 OUT= MAC=00:0c:29:6e:30:c5:c4:e9:84:e6:b1:20:08:00 SRC=216.218.206.102 DST=192.168.0.1$
    Aug 1 06:32:01 softpro9 CRON[64864]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispcon$
    Aug 1 06:32:01 softpro9 CRON[64867]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispc$
    Aug 1 06:32:06 softpro9 kernel: [299113.439959] [UFW BLOCK] IN=ens33 OUT= MAC=01:00:5e:00:00:01:c4:e9:84:e6:b1:20:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=3$
    Aug 1 06:33:01 softpro9 CRON[64881]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispcon$
    Aug 1 06:33:01 softpro9 CRON[64882]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispc$
    Aug 1 06:33:14 softpro9 kernel: [299180.743444] [UFW BLOCK] IN=ens33 OUT= MAC=00:0c:29:6e:30:c5:c4:e9:84:e6:b1:20:08:00 SRC=187.113.172.190 DST=192.168.0.1$
    Aug 1 06:33:36 softpro9 ntpd[44136]: bind(22) AF_INET6 fe80::20c:29ff:fe6e:30c5%2#123 flags 0x11 failed: Cannot assign requested address
    Aug 1 06:33:36 softpro9 ntpd[44136]: unable to create socket on ens33 (795) for fe80::20c:29ff:fe6e:30c5%2#123
    Aug 1 06:33:36 softpro9 ntpd[44136]: failed to init interface for address fe80::20c:29ff:fe6e:30c5%2
    Aug 1 06:34:01 softpro9 CRON[64904]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispc$
    [ Read 7245 lines ]
    ^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos ^Y Prev Page M-\ First Line M-W WhereIs Next
    ^X Exit ^R Read File ^\ Replace ^U Uncut Text ^T To Spell ^_ Go To Line ^V Next Page M-/ Last Line M-] To Bracket
     
  19. Raghu M

    Raghu M Member

    hi out put of
    root@softpro9:/var/log# ls -la /etc/bind/
    total 80
    drwxr-sr-x 3 root bind 4096 Aug 1 17:13 .
    drwxr-xr-x 122 root root 12288 Aug 1 16:50 ..
    -rw-r--r-- 1 root root 2389 Jun 29 19:04 bind.keys
    -rw-r--r-- 1 root root 237 Jun 29 19:04 db.0
    -rw-r--r-- 1 root root 271 Jun 29 19:04 db.127
    -rw-r--r-- 1 root root 237 Jun 29 19:04 db.255
    -rw-r--r-- 1 root root 353 Jun 29 19:04 db.empty
    -rw-r--r-- 1 root root 270 Jun 29 19:04 db.local
    -rw-r--r-- 1 root root 3171 Jun 29 19:04 db.root
    -rw-r--r-- 1 root bind 463 Jun 29 19:04 named.conf
    -rw-r--r-- 1 root bind 490 Jun 29 19:04 named.conf.default-zones
    -rw-r--r-- 1 root bind 1 Aug 1 16:12 named.conf.local
    -rw-r--r-- 1 root bind 933 Aug 1 13:22 named.conf.options
    -rw-r--r-- 1 root bind 836 Aug 1 16:12 pri.yashkart.com
    -rw-r--r-- 1 root bind 839 Aug 1 16:12 pri.yashkart.com.err
    -rw-r----- 1 bind bind 77 Jul 25 19:32 rndc.key
    drwxrws--- 2 root bind 4096 Jul 25 19:33 slave
    -rw-r--r-- 1 root root 1317 Jun 29 19:04 zones.rfc1918
    root@softpro9:/var/log#
     
  20. Raghu M

    Raghu M Member

    Hi, file /etc/bind/named.conf.local seem to be empty as i dint find any entries in said file.

    root@softpro9:/etc/bind# nano named.conf.local
    GNU nano 2.5.3 File: named.conf.local
     
    Last edited: Aug 1, 2017

Share This Page