Timeline for How shall I understand the format of `/etc/resolv.conf`?
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S May 30, 2021 at 19:02 | history | suggested | Adrian | CC BY-SA 4.0 | The file name is resolv.conf |
| May 30, 2021 at 18:59 | review | Suggested edits | |||
| S May 30, 2021 at 19:02 | |||||
| S Feb 16, 2021 at 10:24 | history | suggested | Adrian | CC BY-SA 4.0 | Fixed typo in word "NeteworkManager" |
| Feb 16, 2021 at 10:23 | review | Suggested edits | |||
| S Feb 16, 2021 at 10:24 | |||||
| Feb 12, 2019 at 2:41 | comment | added | Tim | @pbhj "you can pass DNS requests to 127.0.0.53 which pass them to your router for actual DNS." 127.0.0.53 refers to the local machine itself, so why does it pass DNS request to your router ? | |
| Feb 11, 2019 at 20:36 | comment | added | pbhj | So ls -al /etc/resolv.conf and cat /etc/resolv.conf will inform you which program/service is controlling resolv.conf. If you've messed about with your system then you might have a couple of programs competing for control - I had this before with dnsmasq, bind, and systemd-resolved. In addition @Tim, to what telcoM says about your questions: the DNS server and resolver ("stub resolver") can be different, you can pass DNS requests to 127.0.0.53 which pass them to your router for actual DNS (eg it could handle local hosts but pass requests for remote hosts on for full DNS). | |
| Feb 11, 2019 at 19:43 | history | edited | Tsundoku | CC BY-SA 4.0 | hostname; related questions on Ubuntu SE. |
| Feb 11, 2019 at 18:38 | comment | added | telcoM | 1) it is only visible to your local system, not to any other systems; not even within your home network. So it does not serve any others. 2) A hostname might be short (host1) or fully-qualified (host1.fios-router.home). In this example, the domain of host1.fios-router.home would be fios-router.home. | |
| Feb 11, 2019 at 18:11 | comment | added | Tim | Thanks. (1) "Entries of type nameserver tell the host, which DNS server to use." 127.0.0.53 is an IP of local machine. How is that not contradictory to "its presence does not imply that you are running a DNS server"? (2) "An entry of type domain (if present) tells the system which domain it is in. This allows to be addressed by its host name." What is the difference and relation between a domain (name) and a host name? | |
| Feb 11, 2019 at 17:59 | history | answered | Tsundoku | CC BY-SA 4.0 |