Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #248863

Re: Needless DNS queries

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: Needless DNS queries
Date 2022-06-08 03:10 +0200
Message-ID <EvSmR-3jR0-3@gated-at.bofh.it> (permalink)
References <EvJ0d-3dZZ-11@gated-at.bofh.it> <EvJtf-3e9Z-7@gated-at.bofh.it> <EvKIG-3eUD-5@gated-at.bofh.it> <EvPIm-3i7P-1@gated-at.bofh.it> <EvSdb-3jvg-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 08, 2022 at 12:56:52AM +0000, Lee wrote:
> host and dig are non-standard.  or use non-standard name lookups? library??
> In any case, try your example with ping or ssh - the search list will
> be applied after the initial NXDOMAIN

On Debian, the canonical tool for performing generic hostname lookups
according to the rules established by /etc/nsswitch.conf and other
local system config files would be:

getent hosts NAME

unicorn:~$ getent hosts www.google.com.
2607:f8b0:4009:80b::2004 www.google.com
unicorn:~$ host www.google.com
www.google.com has address 142.250.190.100
www.google.com has IPv6 address 2607:f8b0:4009:80b::2004

(Demonstrating the difference between canonical and useful.  My system
has no IPv6 capability.)

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Needless DNS queries Dieter Rohlfing <dr-erc@gmx.net> - 2022-06-07 17:10 +0200
  Re: Needless DNS queries David Wright <deblis@lionunicorn.co.uk> - 2022-06-07 17:30 +0200
  Re: Needless DNS queries Dan Ritter <dsr@randomstring.org> - 2022-06-07 17:40 +0200
    Re: Needless DNS queries Tim Woodall <debianuser@woodall.me.uk> - 2022-06-07 18:10 +0200
    Re: Needless DNS queries Greg Wooledge <greg@wooledge.org> - 2022-06-07 19:00 +0200
      Re: Needless DNS queries Darac Marjal <mailinglist@darac.org.uk> - 2022-06-07 19:40 +0200
        Re: Needless DNS queries Lee <ler762@gmail.com> - 2022-06-08 00:10 +0200
      Re: Needless DNS queries Tim Woodall <debianuser@woodall.me.uk> - 2022-06-08 00:20 +0200
        Re: Needless DNS queries Lee <ler762@gmail.com> - 2022-06-08 03:00 +0200
          Re: Needless DNS queries Greg Wooledge <greg@wooledge.org> - 2022-06-08 03:10 +0200
            Re: Needless DNS queries Lee <ler762@gmail.com> - 2022-06-08 07:30 +0200
  Re: Needless DNS queries Dieter Rohlfing <dr-erc@gmx.net> - 2022-06-14 15:10 +0200

csiph-web