1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-04 00:17:06 +00:00

Look at resolv.conf this time

This commit is contained in:
downtownallday 2020-06-10 23:16:35 -04:00
parent 2bdb6f6216
commit 4113ed8501
3 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,7 @@ install:
- hostname || true
- hostname --fqdn || true
- nslookup box.abc.com || true
- getent hosts box.abc.com || true
script:
#

View File

@ -197,6 +197,9 @@ after_miab_install() {
"$PRIMARY_HOSTNAME" \
"$LDAP_NEXTCLOUD_PASSWORD" \
|| die "docker: error running remote-nextcloud-use-miab.sh"
# re-add systemd name resolver as a secondary nameserver
echo "nameserver 127.0.0.53" >> /etc/resolv.conf
}

View File

@ -101,6 +101,7 @@ dump_conf_files() {
dump_log "/etc/mailinabox.conf"
dump_log "/etc/hosts"
dump_log "/etc/nsswitch.conf"
dump_log "/etc/resolv.conf"
dump_log "/etc/nsd/nsd.conf"
dump_log "/etc/postfix/main.cf"
fi