zulip/docs/production
Alex Vandiver bd217ad31b puppet: Read resolver from /etc/resolv.conf.
04cf68b45e make nginx responsible for downloading (and caching)
files from S3.  As noted in that commit, nginx implements its own
non-blocking DNS resolver, since the base syscall is blocking, so
requires an explicit nameserver configuration.  That commit used
127.0.0.53, which is provided by systemd-resolved, as the resolver.

However, that service may not always be enabled and running, and may
in fact not even be installed (e.g. on Docker).  Switch to parsing
`/etc/resolv.conf` and using the first-provided nameserver.  In many
deployments, this will still be `127.0.0.53`, but for others it will
provide a working DNS server which is external to the host.

In the event that a server is misconfigured and has no resolvers in
`/etc/resolv.conf`, it will error out:
```console
Error: Evaluation Error: Error while evaluating a Function Call, No nameservers found in /etc/resolv.conf!  Configure one by setting application_server.nameserver in /etc/zulip/zulip.conf (file: /home/zulip/deployments/current/puppet/zulip/manifests/app_frontend_base.pp, line: 76, column: 70) on node example.zulipdev.org
```
2023-06-12 20:18:28 +00:00
..
authentication-methods.md docs: Add language to code blocks. 2023-05-31 08:18:03 -07:00
deployment.md puppet: Read resolver from /etc/resolv.conf. 2023-06-12 20:18:28 +00:00
email-gateway.md docs: Clarify access to port 25 is needed for local email delivery. 2023-06-07 08:56:01 -07:00
email.md docs: Document how to use SMTP without authentication. 2023-02-27 11:59:48 -08:00
export-and-import.md docs: Upgrade to zulip-cloud-current before exporting to Zulip Cloud. 2023-05-15 14:44:11 -07:00
giphy-gif-integration.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
index.md docs: Add ReadTheDocs documentation for SCIM. 2023-04-03 17:01:05 -07:00
install-existing-server.md docs: Uncapitalize the name for nginx. 2022-01-25 11:17:51 -08:00
install.md docs: Clarify instructions for getting help with self-hosting. 2023-06-12 13:01:50 -07:00
maintain-secure-upgrade.md contributor docs: Rename "Upgrade or modify Zulip" -> "Upgrade Zulip". 2023-01-27 12:41:56 -08:00
management-commands.md contributor docs: Migrate "Modify Zulip" to its own page. 2023-01-27 12:41:56 -08:00
mobile-push-notifications.md docs: mobile-push-notifications.md: Fix grammar problems found by LanguageTool. 2022-03-18 15:28:16 -07:00
modify.md contributor docs: Rename "Upgrade or modify Zulip" -> "Upgrade Zulip". 2023-01-27 12:41:56 -08:00
multiple-organizations.md web: Save a needless 301 redirect from /plans to /plans/. 2023-03-24 14:51:01 -07:00
password-strength.md docs: Convert .html#fragment links to .md#fragment. 2022-02-28 16:28:31 -08:00
postgresql.md puppet: Add PostgreSQL 15 support. 2023-05-10 14:06:02 -07:00
requirements.md docs: Remove unused link references. 2023-05-31 08:18:03 -07:00
scim.md docs: Add language to code blocks. 2023-05-31 08:18:03 -07:00
security-model.md docs: Update production docs for local S3 caching. 2023-05-01 11:28:08 -07:00
settings.md contributor docs: Rename "Customize Zulip" -> "Server configuration". 2023-01-27 12:41:56 -08:00
ssl-certificates.md docs: Convert .html#fragment links to .md#fragment. 2022-02-28 16:28:31 -08:00
troubleshooting.md docs: Improve troubleshooting overview intro. 2023-06-12 13:01:50 -07:00
upgrade.md docs: Fix missing and typo'd link references. 2023-05-31 08:18:03 -07:00
upload-backends.md puppet: Read resolver from /etc/resolv.conf. 2023-06-12 20:18:28 +00:00
video-calls.md docs: Fix grammar problems found by LanguageTool. 2022-01-21 14:02:14 -08:00