Skip to content

Commit 2418a2c

Browse files
authored
Update README.md to reference .localhost (#282)
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
1 parent 03601ea commit 2418a2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ sudo update-ca-certificates
111111

112112
### Domains (.test or similar)
113113

114+
On systems with `systemd-resolved` the `.localhost` extension will be available by default. Try `ping some-domain.localhost` to see if it works.
115+
114116
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.
115117

116118
### Port 80/443 binding

0 commit comments

Comments
 (0)