Skip to main content

Questions tagged [systemd-resolved]

Systemd Network Name Resolution manager

0 votes
1 answer
246 views

systemd-resolved configuration not working

I am having some troubles in making systemd-resolved to properly work. My configuration is "minimal": the main configuration file /etc/systemd/resolved.conf is basically empty (everything is ...
Morix Dev's user avatar
  • 143
0 votes
1 answer
402 views

Dealing with systemd-resolved failing to work after a period of time

In Ubuntu 24.10 systemd-resolved often goes comatose and stops resolving everything. The following messages are logged: Apr 21 12:50:27 localhost systemd-resolved[5452]: [🡕] DNSSEC validation failed ...
Artem S. Tashkinov's user avatar
0 votes
1 answer
43 views

Route DNS query to my tunnel

I have the following system: root@debian:~# dpkg -l systemd-resolved Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(...
PersianGulf's user avatar
  • 11.3k
2 votes
3 answers
322 views

Replacing a string in a file with GAWK issue

I have a program that will run a set of commands against new server installs and I need to change an entry in a file for each install. We need to change the default DNS from 127.0.0.X (which it ...
The ScaryJello's user avatar
0 votes
1 answer
102 views

systemd DNS resolver broken by USB-connected iPhone - how to prevent?

Today, on my Ubuntu 22.04.5 computer, I discovered two unknown nameservers in /etc/resolv.conf (symlink to /run/systemd/resolve/resolv.conf): nameserver fe80::e0eb:40ff:fe79:e364%36 # Does not ...
DanB's user avatar
  • 488
0 votes
2 answers
675 views

Resolve an IP to FQDN in domain that are not in resolvctl config

I want to use basic tool available without installing anything to solve an IP into it's FQDN. I know the domain in which I can solve this IP. The command line or the tool should be available on any ...
Kiwy's user avatar
  • 9,882
0 votes
1 answer
478 views

Configure systemd-resolved to try multicast dns for `.local` names and fall back to unicast dns if multicast can't resolve

I have machines that run in all kinds of environments which aren't under my control and I need to configure them to work in all of those. My current issue is, that some environments have a .local ...
toydarian's user avatar
  • 173
0 votes
0 answers
199 views

systemd-resolved: Unexpected Behavior with Single-Label Names and Search Domain

I am using systemd-resolved on Ubuntu 24 LTS to manage DNS resolution. My goal is to implement split-DNS with the following behavior: Single-label names should be resolved by a local dnsmasq server ...
SiegeX's user avatar
  • 9,259
5 votes
3 answers
544 views

Parsing and processing "resolvectl statistics" output using awk

I'm trying to parse and rewrite the output of the "resolvectl statistics" command in the hope of producing a munin plugin to monitor resolvectl processing. The output looks like this: ...
Scott Hollenbeck's user avatar
0 votes
1 answer
167 views

Implement UDP packets filtering in C

I have a question on how to setup the filtering as described in the following scenario: I see that systemd-resolved listens on port 53 and sends all the DNS requests to the real DNS resolvers. I am ...
Andrei Glingeanu's user avatar
1 vote
0 answers
827 views

Adding trust-ad option to systemd-networkd resolv.conf

I am currently symlinking /etc/resolv.conf to /var/run/systemd/resolve/resolv.conf, which automatically configures my DNS resolvers from DHCP and bypasses the systemd-resolved stub resolver. I now ...
triatic's user avatar
  • 11
1 vote
0 answers
149 views

Debugging systemd-resolved cache / systemd-resolved returns outdated responses

I updated the DNS settings at my DNS provider for my domain. While all public DNS servers including the DNS resolver of my router have picked up the new settings after some hours, systemd-resolved ...
user2690527's user avatar
0 votes
1 answer
149 views

What processes are systemd-resolved?

What is systemd-resolved? When I search the web, I come across stub resolvers, but stub resolvers are basically provided to the app side in the form of a library, I believe it is not provided as a ...
tester's user avatar
  • 9
0 votes
1 answer
129 views

Bypassing DHCP DNS with systemd-resolved

The issue Changing the DNS option in resolv.conf from the VM's gateway to 8.8.8.8 will result in no DNS resolution. resolvectl query google.com succeeds if I set DNS to my gateway. The set-up /etc/...
Centaro's user avatar
  • 33
0 votes
1 answer
592 views

Host name resolution fails on Fedora 39 system

One of my Fedora systems will often fail to do DNS resolution. Both ping host.ext and nslookup host.ext fail. When I edit /etc/resolv.conf to use nameserver 1.1.1.1 instead of nameserver 127.0.0.53, ...
Lars Poulsen's user avatar

15 30 50 per page
1
2 3 4 5
…
9