Timeline for How do `/etc/hosts` and DNS work together to resolve hostnames to IP addresses?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 31, 2019 at 13:30 | comment | added | Rui F Ribeiro | Indeed firefox and Chrome use their own resolves, for instance. Thanks for the insightful notes. | |
| Feb 11, 2019 at 13:07 | comment | added | user313992 | getaddrinfo is the standard function for that, but is itself brokrn, as I already explained, so it's not used as is by browsers or other real-life apps. | |
| Feb 11, 2019 at 12:01 | comment | added | Tim | What has replaced gethostbyname() now? | |
| Feb 11, 2019 at 11:58 | comment | added | user313992 | It means that if you're doing a google = GHBN("google.com"); facebook = GHBN("facebook.com") you may end up with both google and facebook containing the address of facebook.com. When the two calls are done in different threads, it's even funnier: you may end with an address which is half google and half facebook or complete garbage. | |
| Feb 11, 2019 at 11:42 | comment | added | Tim | Thanks. What do you mean "non-reentrant"? | |
| Feb 11, 2019 at 7:33 | history | edited | user313992 | CC BY-SA 4.0 | added 253 characters in body |
| Feb 11, 2019 at 7:04 | history | edited | user313992 | CC BY-SA 4.0 | added 2 characters in body |
| Feb 11, 2019 at 6:57 | history | answered | user313992 | CC BY-SA 4.0 |