Re: DHCP and static addresses, nothing to do with Re: Who: Bookworm v.Trixie
- To: debian-user@lists.debian.org
- Subject: Re: DHCP and static addresses, nothing to do with Re: Who: Bookworm v.Trixie
- From: David Wright <deblis@lionunicorn.co.uk>
- Date: Mon, 31 Mar 2025 22:01:37 -0500
- Message-id: <[🔎] Z+tXEbVVho3TrpoX@axis.corp>
- Reply-to: debian-user@lists.debian.org
- In-reply-to: <89b1294a-8454-44ed-90e2-863059ddb8c3@shentel.net>
- References: <20250330162450.60721a4c@hawk.localdomain> <CAO6YxPwWn_0qKJZzujWEPjNX2YcuLXFhQoYoupdgh0mMkL0b0w@mail.gmail.com> <20250330191048.3db7a50f@peregrine> <CA+t9iMwHniQMGW58c-H99C3FSddu+TC8OsSDirPpWVAj0eEqMw@mail.gmail.com> <87v7rp7muj.fsf@noux.seestieto.com> <8960cb2a-7caf-4819-9188-29af2682bff4@shentel.net> <Z+pb3SE060rwCLCG@mail.bitfolk.com> <2340f7ba-950f-4a60-957b-62cf130034e6@shentel.net> <Z+rW8FG/yMFdLZLf@axis.corp> <89b1294a-8454-44ed-90e2-863059ddb8c3@shentel.net>
On Mon 31 Mar 2025 at 16:35:58 (-0400), gene heskett wrote:
> On 3/31/25 13:55, David Wright wrote:
> > I don't know why you have problems with using /etc/hosts for lookups
> > on your LAN. I use it here without any problems, and it has to work
> > because there's no DNS server in my router (too cheap).
> >
> > $ grep hosts: /etc/nsswitch.conf
> > hosts: files mdns4_minimal [NOTFOUND=return] dns
> because files doesn't work in bookworm, I had to:
>
> grep hosts: /etc/nsswitch.conf
> hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname
> to make the hosts file work
I don't know why you're using libnss-myhostname, nor whether it's
something to do with your unconventional (for Debian) /etc/hosts
that you listed in:
https://lists.debian.org/debian-user/2023/08/msg00061.html
> > > Sorry to disappoint you but that seems to be working Just Fine, but
> > > once again, you make no attempt to either explain why its wrong, or to
> > > tell us what the right way is other than demanding we waste a week
> > > making dhcpd actually work.
> > Then why the complaint?
The query still stands.
Cheers,
David.
Reply to: