Re: Default DNS lookup command?

2023-11-12 Thread Richard Hector
On 31/10/23 16:27, Max Nikulin wrote: On 30/10/2023 14:03, Richard Hector wrote: On 24/10/23 06:01, Max Nikulin wrote: getent -s dns hosts zircon Ah, thanks. But I don't feel too bad about not finding that ... 'service' is not defined in that file, 'dns' doesn't occur, and searching for

Re: Default DNS lookup command?

2023-10-30 Thread Max Nikulin
On 30/10/2023 14:03, Richard Hector wrote: On 24/10/23 06:01, Max Nikulin wrote: getent -s dns hosts zircon Ah, thanks. But I don't feel too bad about not finding that ... 'service' is not defined in that file, 'dns' doesn't occur, and searching for 'hosts' doesn't give anything useful

Re: Default DNS lookup command?

2023-10-30 Thread Richard Hector
On 24/10/23 06:01, Max Nikulin wrote: On 22/10/2023 18:39, Richard Hector wrote: But not strictly a DNS lookup tool: richard@zircon:~$ getent hosts zircon 127.0.1.1   zircon.lan.walnut.gen.nz zircon That's from my /etc/hosts file, and overrides DNS. I didn't see an option in the manpage

Re: Default DNS lookup command?

2023-10-23 Thread Max Nikulin
On 22/10/2023 18:39, Richard Hector wrote: But not strictly a DNS lookup tool: richard@zircon:~$ getent hosts zircon 127.0.1.1   zircon.lan.walnut.gen.nz zircon That's from my /etc/hosts file, and overrides DNS. I didn't see an option in the manpage to ignore /etc/hosts. getent -s dns

Re: Default DNS lookup command?

2023-10-23 Thread Max Nikulin
On 23/10/2023 20:52, David Wright wrote: AFAICT, if you don't have busybox installed, then I think it's likely that you removed it yourself. Or it is a LXC container installed using the "download" template. It uses systemd-networkd and systemd-resolved. I have never tried qemu with kernel

Re: Default DNS lookup command?

2023-10-23 Thread David Wright
On Sun 22 Oct 2023 at 11:07:05 (+0700), Max Nikulin wrote: > 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

Re: Default DNS lookup command?

2023-10-22 Thread Richard Hector
On 22/10/23 04:56, Greg Wooledge wrote: On Sat, Oct 21, 2023 at 05:35:21PM +0200, Reiner Buehl wrote: is there a DNS lookup command that is installed by default on any Debian getent hosts NAME getent ahostsv4 NAME That said, you get much finer control from dedicated tools. That is a

Re: Default DNS lookup command?

2023-10-21 Thread Max Nikulin
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

Re: Default DNS lookup command?

2023-10-21 Thread reiner . buehl
Perfect! Then I just need to add an alias to my profile and can use nslookup :-) On 21.10.23 17: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?

Re: Default DNS lookup command?

2023-10-21 Thread Juri Grabowski
Hello, it's not really answer to your question, but for simple things like IP-Addresses you can use getent ahosts, getent hosts or ping directly. Best Regards, Juri Grabowski

Re: Default DNS lookup command?

2023-10-21 Thread David Wright
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? Something that doesn't require as > much dependencies as bind9-utils (which provides dig and nslookup) or > bind9-host? nslookup

Re: Default DNS lookup command?

2023-10-21 Thread Greg Wooledge
On Sat, Oct 21, 2023 at 05:35:21PM +0200, Reiner Buehl wrote: > is there a DNS lookup command that is installed by default on any Debian getent hosts NAME getent ahostsv4 NAME That said, you get much finer control from dedicated tools.

Default DNS lookup command?

2023-10-21 Thread Reiner Buehl
Hi all, is there a DNS lookup command that is installed by default on any Debian Bullseye or Bookworm install? Something that doesn't require as much dependencies as bind9-utils (which provides dig and nslookup) or bind9-host? Best regards, Reiner