hey guys, so i have set up nextcloud on my server and i am trying to use https to connect to it.
when i try to execut the certbot.auto it gives me this error:
IMPORTANT NOTES:
The following errors were reported by the server:
Domain: server.base.com
Type: None
Detail: DNS problem: NXDOMAIN looking up A for server.base.com
if i try to execute this command it gives me this error:
sudo certbot --apache -m my@email.com -d server.base.com -d www.server.base.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
dig server.base.com
<<>> DiG 9.10.3-P4-Debian <<>> server.base.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61947
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;server.base.com. IN A
;; ANSWER SECTION:
server.base.com. 604800 IN A 192.168.1.100
;; AUTHORITY SECTION:
base.com. 604800 IN NS server.base.com.
;; Query time: 23 msec
;; SERVER: 192.168.1.100#53(192.168.1.100)
;; WHEN: Sat Oct 27 11:44:41 WEST 2018
;; MSG SIZE rcvd: 74
dns:
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "base.com" IN {
type master;
file "/etc/bind/forward.base.com";
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "/etc/bind/reverse.base.com";
};
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA server.base.com. root.server.base.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS server.base.com.
@ IN A 192.168.1.100
server IN A 192.168.1.100
www IN A 192.168.1.100
IN MX 10 mail.base.com.
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA server.base.com. root.server.base.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS server.base.com.
@ IN PTR base.com.
server IN A 192.168.1.100
100 IN PTR server.base.com.
resolv.conf:
domain base.com
search base.com
nameserver 192.168.1.100
error log:
https://pastebin.com/8TCZYH2J