Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #246330
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: iwd + systemd-networkd + resolvconf wrinkles |
| Date | 2022-03-15 19:40 +0100 |
| Message-ID | <E1kfn-1XxT-11@gated-at.bofh.it> (permalink) |
| References | <E0HH3-1AwT-9@gated-at.bofh.it> <E0Nt7-1E0V-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon 14 Mar 2022 at 07:15:12 (+0000), Thomas Pircher wrote: > David Wright wrote: > > I was casting round for a simple way to run iwd + resolvconf + > > systemd-networkd as replacement. > > I run a similar setup, with iwd, systemd-networkd and systemd-resolved. > This has been working without problems on my host for for quite a while > now. As I said, I tried that. > Make a copy of your /etc/resolv.conf file, No point, as there's nothing specific in it, but just what gets sent by DHCP from the router. > then enable and restart the > systemd-resolved service. Finally link the /etc/resolv.conf file to > either /run/systemd/resolve/resolv.conf or > /run/systemd/resolve/stub-resolv.conf. I use the latter: > > # ls -l /etc/resolv.conf lrwxrwxrwx 1 root root 37 Jun 28 2020 > /etc/resolv.conf -> /run/systemd/resolve/stub-resolv.conf (It was created for me.) So, to summarise, I have a three-line /var/lib/iwd/mySSID.psk (Security, PSK, passphrase), a two-line /etc/iwd/main.conf (General, EnableNetworkConfiguration=true), and nothing else: no overrides, no resolvconf package, and no cat5 cable. > You can configure various settings for the DNS resolver in your > systemd-networkd setting and in /etc/systemd/resolved.conf. Like what? > On bookworm you also have the resolvectl tool, which helps debugging DNS > issues. And bullseye has that too. I don't really know how to use it. There seem to be timeouts involved in most cases, so time ping -c 1 foo will typically take 15sec, and host lookups will take 10 or 20sec. That's 10sec, or 20sec, depending on whether the message ;; connection timed out; no servers could be reached is emitted once or twice. I ran resolvectl log-level debug and tried resolvectl query foo on a few addresses. They were even slower, eg: # resolvectl query smtp.lionunicorn.co.uk answered in 57.6 secs. # resolvectl query lionunicorn.co.uk failed with: lionunicorn.co.uk: resolve call failed: Query timed out The debug output is difficult to interpret, though I did notice that it was reporting "cache misses" repeatedly on the same address (but there must be some caching going on, because there was an occasional hit being reported). I also noticed that debug output carries on being emitted after the actual query has finished and returned to a bash prompt; for something like another minute, achieving nothing (repeating a query does it all over again). Everything is comparatively instantaneous when using resolvconf, which is why I chose to continue using it. The idea of "debugging DNS issues" doesn't exactly thrill me. I'm imagining a scenario where I'm sitting in an airport or motel room, having managed to make a connection with iwd and negotiate their captive portal or whatever, and then run into /this/ problem. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
iwd + systemd-networkd + resolvconf wrinkles David Wright <deblis@lionunicorn.co.uk> - 2022-03-14 02:30 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Thomas Pircher <thp.debian@p5r.uk> - 2022-03-14 08:40 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles David Wright <deblis@lionunicorn.co.uk> - 2022-03-15 19:40 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Thomas Pircher <thp.debian@p5r.uk> - 2022-03-17 13:40 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles David Wright <deblis@lionunicorn.co.uk> - 2022-03-18 06:00 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Nicholas Geovanis <nickgeovanis@gmail.com> - 2022-03-18 20:30 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles David Wright <deblis@lionunicorn.co.uk> - 2022-03-19 16:40 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Brian <ad44@cityscape.co.uk> - 2022-03-17 00:00 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Stefan Monnier <monnier@iro.umontreal.ca> - 2022-03-17 15:00 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Brian <ad44@cityscape.co.uk> - 2022-03-17 16:00 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles David Wright <deblis@lionunicorn.co.uk> - 2022-03-18 06:00 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Stefan Monnier <monnier@iro.umontreal.ca> - 2022-03-18 13:50 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles David Wright <deblis@lionunicorn.co.uk> - 2022-03-18 06:00 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Brian <ad44@cityscape.co.uk> - 2022-03-18 15:50 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Charlie <taoquester@gmail.com> - 2022-03-19 00:40 +0100
wpa_supplicant, was Re: iwd + systemd-networkd + resolvconf wrinkles David Wright <deblis@lionunicorn.co.uk> - 2022-03-23 05:30 +0100
Re: wpa_supplicant, was Re: iwd + systemd-networkd + resolvconf wrinkles Brian <ad44@cityscape.co.uk> - 2022-03-23 19:30 +0100
Re: wpa_supplicant, was Re: iwd + systemd-networkd + resolvconf wrinkles Brian <ad44@cityscape.co.uk> - 2022-03-24 17:20 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Brian <ad44@cityscape.co.uk> - 2022-03-17 16:10 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles David Wright <deblis@lionunicorn.co.uk> - 2022-03-18 06:00 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Brian <ad44@cityscape.co.uk> - 2022-03-18 15:50 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles RP <reyadmin@gmail.com> - 2022-03-17 18:10 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Brian <ad44@cityscape.co.uk> - 2022-03-18 22:20 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Brian <ad44@cityscape.co.uk> - 2022-03-19 13:40 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Nicholas Geovanis <nickgeovanis@gmail.com> - 2022-03-19 16:40 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Brian <ad44@cityscape.co.uk> - 2022-03-21 14:20 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles David Wright <deblis@lionunicorn.co.uk> - 2022-03-19 16:40 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Brian <ad44@cityscape.co.uk> - 2022-03-19 20:00 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles Stella Ashburne <rewefie@gmx.com> - 2022-03-23 13:30 +0100
Re: iwd + systemd-networkd + resolvconf wrinkles David Wright <deblis@lionunicorn.co.uk> - 2022-03-23 16:40 +0100
csiph-web