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


Groups > linux.debian.user > #240690

Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS managers)

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS managers)
Date 2021-09-30 22:10 +0200
Message-ID <D3axs-3Ub-21@gated-at.bofh.it> (permalink)
References <D2I89-2TV-1@gated-at.bofh.it> <D2WXv-3LD-3@gated-at.bofh.it> <D348G-8qS-3@gated-at.bofh.it> <D398l-2UA-5@gated-at.bofh.it> <D39i3-2XS-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 30 Sep 2021 at 14:46:50 (-0400), Greg Wooledge wrote:
> On Thu, Sep 30, 2021 at 01:30:20PM -0500, David Wright wrote:
> > 192.168.1.1 looks like the d-i ran a DHCP client to get an address
> > for your PC, and that the DHCP server that responded was probably
> > your router, address 192.168.1.1, and so the d-i figured that your
> > router would be able to resolve DNS.
> 
> The DHCP server actually sends nameserver addresses to the DHCP client.
> In the case of a home router, the nameserver address will typically
> be the router's internal IP address, which is often 192.168.1.1.
> 
> It's *not* d-i deciding to try using the router as a nameserver on a whim.

Yes, badly expressed personification, I'm afraid. …
Though it does appear that the syslog also expresses this less than clearly:

  netcfg[5552]: WARNING **: Started DHCP client; PID is 5581
  udhcpc: Got IP 192.168.1.14 (using enp3s0) and routing through 192.168.1.1
  netcfg[5552]: DEBUG: Reading domain name returned via DHCP
→
  netcfg[5552]: DEBUG: Reading nameservers from /etc/resolv.conf
  netcfg[5552]: DEBUG: Read nameserver 192.168.1.1

Might one assume that the nameservers are written into
/etc/resolv.conf by the DHCP client at →, so that they
can immediately be read again in order to attempt (and
fail) to ascertain the hostname from the nameserver.

Cheers,
David.

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


Thread

iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Stella Ashburne <rewefie@gmx.com> - 2021-09-29 15:50 +0200
  Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 07:40 +0200
    Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Greg Wooledge <greg@wooledge.org> - 2021-09-30 13:30 +0200
      Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 15:50 +0200
      Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 20:30 +0200
        Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Andrei POPESCU <andreimpopescu@gmail.com> - 2021-10-03 14:50 +0200
    Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 15:20 +0200
      Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 20:40 +0200
        Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Greg Wooledge <greg@wooledge.org> - 2021-09-30 20:50 +0200
          Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 22:10 +0200
  Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS managers) Anssi Saari <as@sci.fi> - 2021-09-30 14:20 +0200
    Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Reco <recoverym4n@enotuniq.net> - 2021-09-30 14:30 +0200
      Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 15:50 +0200
        Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Reco <recoverym4n@enotuniq.net> - 2021-09-30 16:00 +0200
          Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 16:10 +0200
            Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Reco <recoverym4n@enotuniq.net> - 2021-09-30 19:40 +0200
    Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS  managers) Stella Ashburne <rewefie@gmx.com> - 2021-09-30 15:50 +0200
      Re: iwd: Using iwd to connect to a wireless network (Part 2 - DNS managers) Anssi Saari <as@sci.fi> - 2021-10-01 08:00 +0200

csiph-web