Welcome to the Linux Foundation Forum!

35. /etc/hosts.resolv -- typo ?

The text mentions a file /etc/hosts.resolv -- it looks like the name is wrong? (It does not exist on my Debian 11, Google did not find it, neither did the man pages), and the given example also looks very obscure. And, just a few pages before, /etc$ ls -l host* was demonstrated, not listing that file either.

Is it really /etc/hosts.resolv ?

Best Answer

  • Posts: 916
    Answer ✓

    Yes, this is an error. It should be/etc/resolv.conf, not hosts.resolv :) Note, however, modern systems may not even be using this file ; they can be using files under run/NetworkManager, or systemd stuff. Perhaps this needs to be considered in later editions :)

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training