Why is systemd-resolved.service disabled, at least it's disabled on my
Pi systems (some very old ones and an early Pi 4) :-
Does anyone here know anything?
So, to continue from my other question....
Why is systemd-resolved.service disabled, at least it's disabled on my
Pi systems (some very old ones and an early Pi 4) :-
root@raspberrypi:~# systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/systemd-resolved.service.d
└─resolvconf.conf
Active: inactive (dead)
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Is this actually as intended by the basic configuration or is there an error somewhere that's causing the systemd-resolved.service to be disabled. It *looks* as if it's meant to be enabled because it says "vendor preset: enabled".
However I can't see anything about 'resolved' in the system logs so maybe it is explicitly disabled by default and that 'vendor preset' is misleading.
Does anyone here know anything?
On 02-12-2021 11:36, Chris Green wrote:
Why is systemd-resolved.service disabled, at least it's disabled on my
Pi systems (some very old ones and an early Pi 4) :-
I don't know. Why do you want or need it, DNS cache only for the machine running it or for the LAN? I don't know a useful application of the
former (but I do precious little with network tech)
On 02-12-2021 11:36, Chris Green wrote:
Why is systemd-resolved.service disabled, at least it's disabled on my
Pi systems (some very old ones and an early Pi 4) :-
I don't know. Why do you want or need it, DNS cache only for the machine running it or for the LAN? I don't know a useful application of the
former (but I do precious little with network tech) and the latter seems
like something your modem/router already does. Try enabling it?
Does anyone here know anything?
Well... You might have better luck in the forums on the rpi website
about this specific RaspiOS vendor setting.
On 02/12/2021 10:36, Chris Green wrote:
So, to continue from my other question....
Why is systemd-resolved.service disabled, at least it's disabled on my
Pi systems (some very old ones and an early Pi 4) :-
root@raspberrypi:~# systemctl status systemd-resolved.servicevendor preset: enabled)
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled;
Drop-In: /usr/lib/systemd/system/systemd-resolved.service.d
└─resolvconf.conf
Active: inactive (dead)
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Is this actually as intended by the basic configuration or is there an error
somewhere that's causing the systemd-resolved.service to be disabled. It *looks* as if it's meant to be enabled because it says "vendor preset: enabled".
On my Pi Zero-W it is disabled, but on my desktop (Mint) it is enabled.
What this *suggests* to me is that its a disk and ram saving
configuration on the Pi. But I can't be authoritative on that.
However I can't see anything about 'resolved' in the system logs so maybe it
is explicitly disabled by default and that 'vendor preset' is misleading.
Does anyone here know anything?
Do you need to trade a lot of ram and disk for a DNS cache?
Does anyone here know anything?Do you need to trade a lot of ram and disk for a DNS cache?
On 02/12/2021 11:57, A. Dumas wrote:most applications cache lookups themselves
On 02-12-2021 11:36, Chris Green wrote:
Why is systemd-resolved.service disabled, at least it's disabled on my
Pi systems (some very old ones and an early Pi 4) :-
I don't know. Why do you want or need it, DNS cache only for the
machine running it or for the LAN? I don't know a useful application
of the former (but I do precious little with network tech)
Speed up remote service calls (REST/RPC). Back in the day, I remember we could genuinely speed up apps by avoiding multiple DNS lookups of the
same address.
I must admit, I would be a bit pissed off to have to worry about that nowadays.
The Natural Philosopher <tnp@invalid.invalid> wrote:
On 02/12/2021 10:36, Chris Green wrote:Yes, that's fairly typical I think, most Linux distributions seem to
So, to continue from my other question....vendor preset: enabled)
Why is systemd-resolved.service disabled, at least it's disabled on my
Pi systems (some very old ones and an early Pi 4) :-
root@raspberrypi:~# systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled;
Drop-In: /usr/lib/systemd/system/systemd-resolved.service.dOn my Pi Zero-W it is disabled, but on my desktop (Mint) it is enabled.
└─resolvconf.conf
Active: inactive (dead)
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved >>> https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Is this actually as intended by the basic configuration or is there an error
somewhere that's causing the systemd-resolved.service to be disabled. It >>> *looks* as if it's meant to be enabled because it says "vendor preset: enabled".
What this *suggests* to me is that its a disk and ram saving
configuration on the Pi. But I can't be authoritative on that.
enable it to provide local DNS cacheing. I've had to explicitly
disable it on systems where I'm running dnsmasq (which does the same
things plus some more). Apart from anything else dnsmasq is *much*
easier to configure and has much better support.
No, as I replied to the other comment, I really wish systemd-resolved
However I can't see anything about 'resolved' in the system logs so maybe itDo you need to trade a lot of ram and disk for a DNS cache?
is explicitly disabled by default and that 'vendor preset' is misleading. >>>
Does anyone here know anything?
would go away completely, it's difficult to understand (compared with
dnsmasq anyway) and it has some arcane 'oddities' in the way it works. There's a long, ongoing discussion on some Linux distributions about
how it handles multiple DNS servers for example.
I just want to be sure that it will *stay* disabled when I update the
OS on my Pi systems.
So, to continue from my other question....
Why is systemd-resolved.service disabled, at least it's disabled on my
Pi systems (some very old ones and an early Pi 4) :-
root@raspberrypi:~# systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/systemd-resolved.service.d
└─resolvconf.conf
Active: inactive (dead)
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Is this actually as intended by the basic configuration or is there an error somewhere that's causing the systemd-resolved.service to be disabled. It *looks* as if it's meant to be enabled because it says "vendor preset: enabled".
However I can't see anything about 'resolved' in the system logs so maybe it is explicitly disabled by default and that 'vendor preset' is misleading.
Does anyone here know anything?
I really wish systemd-resolved
would go away completely, it's difficult to understand (compared with
dnsmasq anyway) and it has some arcane 'oddities' in the way it works. There's a long, ongoing discussion on some Linux distributions about
how it handles multiple DNS servers for example.
I just want to be sure that it will*stay* disabled when I update the
OS on my Pi systems.
On 02/12/2021 13:03, Chris Green wrote:
The Natural Philosopher <tnp@invalid.invalid> wrote:
On 02/12/2021 10:36, Chris Green wrote:Yes, that's fairly typical I think, most Linux distributions seem to
So, to continue from my other question....On my Pi Zero-W it is disabled, but on my desktop (Mint) it is enabled.
Why is systemd-resolved.service disabled, at least it's disabled on my >>> Pi systems (some very old ones and an early Pi 4) :-
root@raspberrypi:~# systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; >> vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/systemd-resolved.service.d
└─resolvconf.conf
Active: inactive (dead)
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Is this actually as intended by the basic configuration or is there an error
somewhere that's causing the systemd-resolved.service to be disabled. It >>> *looks* as if it's meant to be enabled because it says "vendor preset: enabled".
What this *suggests* to me is that its a disk and ram saving
configuration on the Pi. But I can't be authoritative on that.
enable it to provide local DNS cacheing. I've had to explicitly
disable it on systems where I'm running dnsmasq (which does the same
things plus some more). Apart from anything else dnsmasq is *much*
easier to configure and has much better support.
No, as I replied to the other comment, I really wish systemd-resolved
However I can't see anything about 'resolved' in the system logs so maybe itDo you need to trade a lot of ram and disk for a DNS cache?
is explicitly disabled by default and that 'vendor preset' is misleading. >>>
Does anyone here know anything?
would go away completely, it's difficult to understand (compared with dnsmasq anyway) and it has some arcane 'oddities' in the way it works. There's a long, ongoing discussion on some Linux distributions about
how it handles multiple DNS servers for example.
I just want to be sure that it will *stay* disabled when I update the
OS on my Pi systems.
I think, this is the page to peruse
https://unix.stackexchange.com/questions/304050/how-to-avoid-conflicts-between-dnsmasq-and-systemd-resolved
Theres enough detail and feedback there to sort you out
On Thu, 02 Dec 2021 10:36:57 +0000, Chris Green wrote:
So, to continue from my other question....
Why is systemd-resolved.service disabled, at least it's disabled on my
Pi systems (some very old ones and an early Pi 4) :-
root@raspberrypi:~# systemctl status systemd-resolved.servicevendor preset: enabled)
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled;
Drop-In: /usr/lib/systemd/system/systemd-resolved.service.d
└─resolvconf.conf
Active: inactive (dead)
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Is this actually as intended by the basic configuration or is there an error
somewhere that's causing the systemd-resolved.service to be disabled. It *looks* as if it's meant to be enabled because it says "vendor preset: enabled".
However I can't see anything about 'resolved' in the system logs so maybe it
is explicitly disabled by default and that 'vendor preset' is misleading.
Does anyone here know anything?
man systemd.preset
I must admit, I would be a bit pissed off to have to worry about that nowadays.
On 02/12/2021 12:36, The Natural Philosopher wrote:
Does anyone here know anything?Do you need to trade a lot of ram and disk for a DNS cache?
Define, a lot? Naively, I would expect a local DNS cache to be tiny. My
Win10 PC, used all morning, has 200 entries.
Hmmm, I suspect that knowledge of what "vendor enabled" means is
rather arcane systemd knowledge. :-)
On 2021-12-02, Chris Green <cl@isbd.net> wrote:
Hmmm, I suspect that knowledge of what "vendor enabled" means is
rather arcane systemd knowledge. :-)
"vendor preset: enabled" means that the application developers (systemd in this case) recommend its activation. The distribution maintainers can
differ from that recommendation.
On 02/12/2021 13:03, Pancho wrote:
On 02/12/2021 11:57, A. Dumas wrote:most applications cache lookups themselves
On 02-12-2021 11:36, Chris Green wrote:
Why is systemd-resolved.service disabled, at least it's disabled on my >>>> Pi systems (some very old ones and an early Pi 4) :-
I don't know. Why do you want or need it, DNS cache only for the
machine running it or for the LAN? I don't know a useful application
of the former (but I do precious little with network tech)
Speed up remote service calls (REST/RPC). Back in the day, I remember
we could genuinely speed up apps by avoiding multiple DNS lookups of
the same address.
I must admit, I would be a bit pissed off to have to worry about that
nowadays.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 371 |
Nodes: | 16 (2 / 14) |
Uptime: | 175:10:37 |
Calls: | 7,915 |
Files: | 12,983 |
Messages: | 5,797,729 |