mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-12 01:37:07 +00:00
Look at resolv.conf this time
This commit is contained in:
parent
2bdb6f6216
commit
4113ed8501
@ -30,6 +30,7 @@ install:
|
|||||||
- hostname || true
|
- hostname || true
|
||||||
- hostname --fqdn || true
|
- hostname --fqdn || true
|
||||||
- nslookup box.abc.com || true
|
- nslookup box.abc.com || true
|
||||||
|
- getent hosts box.abc.com || true
|
||||||
|
|
||||||
script:
|
script:
|
||||||
#
|
#
|
||||||
|
@ -197,6 +197,9 @@ after_miab_install() {
|
|||||||
"$PRIMARY_HOSTNAME" \
|
"$PRIMARY_HOSTNAME" \
|
||||||
"$LDAP_NEXTCLOUD_PASSWORD" \
|
"$LDAP_NEXTCLOUD_PASSWORD" \
|
||||||
|| die "docker: error running remote-nextcloud-use-miab.sh"
|
|| 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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -101,6 +101,7 @@ dump_conf_files() {
|
|||||||
dump_log "/etc/mailinabox.conf"
|
dump_log "/etc/mailinabox.conf"
|
||||||
dump_log "/etc/hosts"
|
dump_log "/etc/hosts"
|
||||||
dump_log "/etc/nsswitch.conf"
|
dump_log "/etc/nsswitch.conf"
|
||||||
|
dump_log "/etc/resolv.conf"
|
||||||
dump_log "/etc/nsd/nsd.conf"
|
dump_log "/etc/nsd/nsd.conf"
|
||||||
dump_log "/etc/postfix/main.cf"
|
dump_log "/etc/postfix/main.cf"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user