zulip/docs
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
..
_static docs: Move homepage link to TOC tree. 2023-03-03 23:06:17 -08:00
_templates docs: Update development version warning text to be more explicit. 2023-04-20 10:37:30 -07:00
contributing docs: Add section about mentioning others to commit discipline doc. 2023-05-30 14:55:09 -07:00
development docs: Document and advocate systemd for WSL 2. 2023-06-12 10:58:11 -07:00
documentation web: Save a needless 301 redirect from /integrations to /integrations/. 2023-03-24 14:51:01 -07:00
git docs: Document and advocate systemd for WSL 2. 2023-06-12 10:58:11 -07:00
images docs: Update documentation for tips when writing pull request comments. 2023-03-07 15:40:04 -08:00
outreach docs: Update first point in outreach prioritization section. 2023-06-12 10:54:32 -07:00
overview Update version following 7.0 release. 2023-05-31 13:04:44 -07:00
production puppet: Read resolver from /etc/resolv.conf. 2023-06-12 20:18:28 +00:00
subsystems docs: Tweak a few details on the release checklist. 2023-06-07 12:48:25 -07:00
testing streams: Make stream settings and create stream UI more consistent. 2023-04-24 17:02:33 -07:00
translating web: Save a 301 redirect from /help to /help/. 2023-03-24 14:51:01 -07:00
tutorials docs: Make a few surface fixes. 2023-05-01 16:37:27 -07:00
.gitignore
Makefile Revert "docs: Temporarily disable parallel building." 2022-02-28 16:28:31 -08:00
README.md docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
THIRDPARTY icons: Add new unmute icon SVG. 2023-04-25 13:35:38 -07:00
code-of-conduct.md
conf.py docs: Convert .html#fragment links to .md#fragment. 2022-02-28 16:28:31 -08:00
index.md web: Save a 301 redirect from /help to /help/. 2023-03-24 14:51:01 -07:00

README.md

Zulip Markdown documentation hosted elsewhere

The Markdown files in this directory ( /zulip/docs ) are not intended to be read on GitHub. Instead, visit our ReadTheDocs to read the Zulip documentation.