Skip to content

Document new CLI flag --host-dns for exposing port 53 to the host #1325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/en/user-guide/tools/dns-server/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ Remember to save the default configuration and restore it after testing.

1. Expose the LocalStack DNS server:

a) The LocalStack CLI automatically publishes port 53 if it can be bound on the host.
a) Since version 3.5, the LocalStack CLI does not publish port `53` anymore by default.
Use the CLI flag `--host-dns` to expose the port on the host.

b) For Docker Compose, add the following port mappings to your `docker-compose.yml`:

Expand Down