I have problem with install zimbra in centos 7

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
cqvistgaard
Posts: 1
Joined: Sat Sep 04, 2021 3:13 am

I have problem with install zimbra in centos 7

Post by cqvistgaard »

Good Morning,

I hope everyone is well.

I have a server in the Oracle Cloud - With Centos 7

I am following all the steps to install and at the end it sends me this message:


DNS ERROR resolving MX for mail.rclegicorp.com
It is suggested that the domain name have an MX record configured in DNS
Re-Enter domain name? [And it is]
Create domain: [mail.rclegicorp.com] rclegicorp.com
MX: mail.rclegicorp.com (150.230.xx.xx)

Interface: 127.0.0.1
Interface: :: 1
Interface: 10.0.0.86


DNS ERROR - none of the MX records for rclegicorp.com
resolve to this host
It is suggested that the MX record resolve to this host
Re-Enter domain name? [And it is]

- I have the etc / hosts file well configured.

- I have the etc / resolv.conf file well configured search rclegicorp.com
nameserver: xxx.xxx.x (ip-public)
xxx.xxx.x

Since none of this worked, I went on to configure the split dns.

i install bind9

named.conf:

options {
listen-on port 53 { 127.0.0.1; 150.230.xx.xx; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
recursing-file "/var/named/data/named.recursing";
secroots-file "/var/named/data/named.secroots";
allow-query { localhost; 150.230.xx.xx; };

recursion yes;

dnssec-enable yes;
dnssec-validation yes;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.root.key";

managed-keys-directory "/var/named/dynamic";

pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key";

forwarders { 8.8.8.8; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

zone "rclegicorp.com" {
type master;
file "rclegicorp.com.zone";
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";


i create file in /var/named/rclegicorp.com.zone


; BIND data file for local loopback interface
;
$TTL 86400
@ IN SOA ns1.rclegicorp.com. root.rclegicorp.com. (
2021091001 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
; name servers - NS records
@ IN NS ns1.rclegicorp.com.
@ MX 10 mail.rclegicorp.com.
; name servers - A records
ns1 IN A 150.230.xx.xx
mail IN A 150.230.xx.xx

dig -t A mail.rclegicorp.com :
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.7 <<>> -t A mail.rclegicorp.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4452
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
mail.rclegicorp.com. 4 IN A 150.230.73.33

;; Query time: 0 msec
;; SERVER: 169.254.169.254#53(169.254.169.254)
;; WHEN: Sat Sep 04 14:53:40 GMT 2021
;; MSG SIZE rcvd: 64


dig -t MX rclegicorp.com
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.7 <<>> -t MX rclegicorp.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26107
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
rclegicorp.com. 903 IN MX 10 mail.rclegicorp.com.

;; Query time: 0 msec
;; SERVER: 169.254.169.254#53(169.254.169.254)
;; WHEN: Sat Sep 04 14:54:15 GMT 2021
;; MSG SIZE rcvd: 64


[root@mail opc]# systemctl status named
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset : disabled)
Active: active (running) since Sat 2021-09-04 14:41:12 GMT; 13min ago
Process: 1363 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (cod e=exited, status=0/SUCCESS)
Process: 1357 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "ye s" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zon e files is disabled"; fi (code=exited, status=0/SUCCESS)
Main PID: 1365 (named)
Memory: 57.1M
CGroup: /system.slice/named.service
└─1365 /usr/sbin/named -u named -c /etc/named.conf

Sep 04 14:41:12 mail.rclegicorp.com named[1365]: network unreachable resolvi...3
Sep 04 14:41:12 mail.rclegicorp.com named[1365]: network unreachable resolvi...3
Sep 04 14:41:12 mail.rclegicorp.com named[1365]: network unreachable resolvi...3
Sep 04 14:41:12 mail.rclegicorp.com named[1365]: network unreachable resolvi...3
Sep 04 14:41:12 mail.rclegicorp.com named[1365]: network unreachable resolvi...3
Sep 04 14:41:12 mail.rclegicorp.com named[1365]: network unreachable resolvi...3
Sep 04 14:41:12 mail.rclegicorp.com named[1365]: network unreachable resolvi...3
Sep 04 14:41:12 mail.rclegicorp.com named[1365]: network unreachable resolvi...3
Sep 04 14:41:12 mail.rclegicorp.com named[1365]: managed-keys-zone: Key 2032...d
Sep 04 14:41:13 mail.rclegicorp.com named[1365]: resolver priming query complete
Hint: Some lines were ellipsized, use -l to show in full.


when installing the same error continues.

I don't really know what to do anymore, I hope someone can help me.

Greetings.
User avatar
axslingr
Outstanding Member
Outstanding Member
Posts: 256
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 UBUNTU18

Re: I have problem with install zimbra in centos 7

Post by axslingr »

You need to use the private ip address in the local bind config for split dns, not the public.
Post Reply