[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Default DNS lookup command?



On 21/10/2023 22:58, David Wright wrote:
On Sat 21 Oct 2023 at 17:35:21 (+0200), Reiner Buehl wrote:
is there a DNS lookup command that is installed by default on any
Debian Bullseye or Bookworm install?

nslookup is in busybox.

busybox is an optional package, so it may be absent. "getent hosts" from Greg's message is better in this sense. If systemd-resolved is configured on a particular instance then

    resolvectl query debian.org

may be an option.



Reply to: