Skip to content

Commit

Permalink
Update README.md to reference .localhost (#282)
Browse files Browse the repository at this point in the history
Quite a few Linux distro's use systemd-resolved these days, and the `.localhost` extension will work out of the box without any additional configuration or tooling. This change proposes to make users aware of that.

Relevant man page: https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html#Synthetic%20Records
  • Loading branch information
xanderificnl authored Oct 31, 2021
1 parent 03601ea commit 2418a2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ sudo update-ca-certificates

### Domains (.test or similar)

On systems with `systemd-resolved` the `.localhost` extension will be available by default. Try `ping some-domain.localhost` to see if it works.

In order for requests to the `.test` (or any other custom) domain to resolve, install the [dev-tld-resolver](https://github.com/puma/dev-tld-resolver), making sure to use `test` (or the custom TLD you want to use) when configuring TLDs.

### Port 80/443 binding
Expand Down

0 comments on commit 2418a2c

Please sign in to comment.