Search notes:
/etc/resolv.conf
/etc/resolv.conf
is the resolver configuration file. It's used to access the
DNS
(domain name service).
The following simple example content specifies the nameserver to be 8.8.8.8:
nameserver 8.8.8.8
At least in
Ubuntu
, /etc/resolv.conf is not used anymore, unless its »manually« implemented.
In
WSL
,
/etc/resolv.conf
is a symbolic link to a file with the same name under
/mnt/wsl
.
See also
The shell command
host
Index