docs(README): insert command which adds hosts entry to resolve domain#1174
docs(README): insert command which adds hosts entry to resolve domain#1174g-kedev wants to merge 1 commit intoadfinis:mainfrom
Conversation
| Run the following command to add local hosts entry to resolve domain | ||
|
|
||
| ```bash | ||
| echo "127.0.0.1 timed.localhost" | sudo tee -a /etc/hosts |
There was a problem hiding this comment.
Shouldn't *.localhost always resolve to 127.0.0.1?
There was a problem hiding this comment.
with proper dnsmasq maybe 🙄 yes
There was a problem hiding this comment.
Are you sure you really don't want to fix your operating system? If you are not using Windows, this is usually a misconfiguration stemming from a funky installation on an os that left open too many opinions.
While the respective RFC doesn't strongly mandate this, it's still a misconfig if the following doesn't hold true:
Users may assume that IPv4 and IPv6 address queries for localhost names will always resolve to the respective IP loopback address
There was a problem hiding this comment.
My system does resolve it properly without the /etc/hosts hack, but sadly not everybody has such a great system. 😅 Eventually we should adapt the sentence above to reflect the optional character. @g-kedev
There was a problem hiding this comment.
If there were a bit that documents how to test this before just running a sudo thing, then that would for sure help.
I'm still not convinced that people with a Linux that needs this entry should hack the hosts file... they might have a Linux installation to fix first.
There was a problem hiding this comment.
I use an Ubuntu. Don't remember touching any network configs and didn't really find anything concerning this on the fly. Adjusted the README entry a little bit.
d201d59 to
797d9a3
Compare
797d9a3 to
1f3cb22
Compare
No description provided.