Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #262948
| From | Max Nikulin <manikulin@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Default DNS lookup command? |
| Date | 2023-10-31 04:30 +0100 |
| Message-ID | <HuNC2-21Xm-3@gated-at.bofh.it> (permalink) |
| References | <HrmeZ-hrvU-13@gated-at.bofh.it> <Hrmym-hrCJ-7@gated-at.bofh.it> <HrF7X-2vN-1@gated-at.bofh.it> <Hs6Bc-kfZ-9@gated-at.bofh.it> <Huuzn-1Qsz-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 either. I guess
> reading nsswitch.conf(5) is required.
Do you mean that "hosts" entry in your /etc/nsswitch.conf lacks "dns"?
Even systemd nss plugins recommend to keep it as a fallback. If you get
no results then your resolver or DNS server may not be configured to
resolve single-label names. Try some full name
getent -s dns ahosts debian.org
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Default DNS lookup command? Reiner Buehl <reiner.buehl@gmail.com> - 2023-10-21 17:40 +0200
Re: Default DNS lookup command? David Wright <deblis@lionunicorn.co.uk> - 2023-10-21 18:00 +0200
Re: Default DNS lookup command? reiner.buehl@gmail.com - 2023-10-21 22:10 +0200
Re: Default DNS lookup command? Max Nikulin <manikulin@gmail.com> - 2023-10-22 06:10 +0200
Re: Default DNS lookup command? David Wright <deblis@lionunicorn.co.uk> - 2023-10-23 16:00 +0200
Re: Default DNS lookup command? Max Nikulin <manikulin@gmail.com> - 2023-10-23 19:00 +0200
Re: Default DNS lookup command? Greg Wooledge <greg@wooledge.org> - 2023-10-21 18:00 +0200
Re: Default DNS lookup command? Richard Hector <richard@walnut.gen.nz> - 2023-10-22 13:50 +0200
Re: Default DNS lookup command? Max Nikulin <manikulin@gmail.com> - 2023-10-23 19:10 +0200
Re: Default DNS lookup command? Richard Hector <richard@walnut.gen.nz> - 2023-10-30 08:10 +0100
Re: Default DNS lookup command? Max Nikulin <manikulin@gmail.com> - 2023-10-31 04:30 +0100
Re: Default DNS lookup command? Richard Hector <richard@walnut.gen.nz> - 2023-11-12 20:30 +0100
Re: Default DNS lookup command? Juri Grabowski <debian@jugra.de> - 2023-10-21 18:10 +0200
csiph-web