Consider adding coverage for other OS variants in the resolve instructions... for example, on Ubuntu or WSL the resolve command should be resolvectl
Example 1. Retrieve the address of the "www.example.com" domain
$ resolvectl query www.example.com
www.example.com: 104.18.26.120
104.18.27.120
2606:4700::6812:1b78
2606:4700::6812:1a78
-- Information acquired via protocol DNS in 24.0ms.
-- Data is authenticated: no; Data was acquired via local or encrypted transport: no
-- Data from: network
It used to be systemd-resolve and just having "resolve" in there can get a beginner lost pretty quickly.
Consider adding coverage for other OS variants in the resolve instructions... for example, on Ubuntu or WSL the
resolvecommand should beresolvectlwww.example.com: 104.18.26.120
104.18.27.120
2606:4700::6812:1b78
2606:4700::6812:1a78
-- Information acquired via protocol DNS in 24.0ms.
-- Data is authenticated: no; Data was acquired via local or encrypted transport: no
-- Data from: network
It used to be
systemd-resolveand just having "resolve" in there can get a beginner lost pretty quickly.