Questions tagged [systemd-resolved]

Systemd Network Name Resolution manager

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

system-resolvd starts using local nameserver as DNS whenever network is not available

I have an IoT device that is connected to a node via a local wireless network. After doing the computations, the device tries to posts the data to the cloud. The device is connected to the internet ...
0
votes
1answer
30 views

how are DNS servers selected in system-resolved?

The man page of resolved.conf for system-resolved states that if DNS= is set, "DNS requests are sent to one of the listed DNS servers". How is that server selected? Is that a round-robin? a random ...
1
vote
0answers
39 views

Where's my stub-resolve.conf missing?

I'd like to start using systemd-resolved on Oracle Linux 7.6. I've installed systemd-networkd and systemd-resolved. I've enabled these services and I've disabled network and NetworkManager. From the ...
0
votes
0answers
46 views

Prevent NetworkManager from setting ~. search domain per-link on systemd-resolved

I'm trying to use the DNS over at /etc/systemd/resolved.conf in their capacity as DNS over TLS providers, but NetworkManager somehow manages to set ~. as search domain on the connections it sets up. ...
0
votes
0answers
251 views

How to set systemd-resolve DNS servers?

Ubuntu 18.04 is not respecting local configuration anymore. Since I cannot have my DHCP server advertising anymore the DNS servers, I want to set up the clients manually (LXD containers). I tried to ...
1
vote
0answers
59 views

On Ubuntu 18.04 what is the way to remove dnsmasq and systemd-resolved and switch to resolv.conf

I noticed that with introduction with the combo of systemd-resolved and dnsmasq in Ubuntu 18.04 network connectity is becoming a luxury feature. What is the correct way to remove these components in ...
5
votes
1answer
115 views

Going all-in on DNSSEC

I have been doing an effort to go full on DNSSEC on my system with the following setup: dnscrypt-proxy installed, up and running on 127.0.0.1 with require_dnssec = true systemd-resolved running, with ...
3
votes
0answers
411 views

What's the difference between /run/systemd/resolve/stub-resolv.conf and /run/systemd/resolve/resolv.conf?

For configuring custom DNS servers in a brand new Kubuntu 19.10 laptop it wasn't enough with adding to /etc/systemd/resolved.conf: DNS=77.88.8.7 77.88.8.3 #Yandex's DNS with no porn even on Google ...
0
votes
1answer
87 views

Network problems after system reboot - Ubuntu 18.04 Server

I have a problem with one of my Ubuntu 18.04 servers. After a recent power cut, I can no longer connect to it from outside the network. I'm currently SSHing to it through another server in my ...
0
votes
0answers
279 views

Enable systemd-resolved DNSStubListener respond to LAN queries

Yes, I know you aren't supposed to use resolved as DNS despite it hogging the relevant ports. But I have a requirement that I can't elaborate and use resolved as the DNS for the VMs on my host. What ...
0
votes
1answer
279 views

Configuring Stub Resolver in RHEL 8: systemd-resolved not caching DNS queries

In RHEL 8, systemctl list-unit-files|grep resolved reports that systemd-resolved is both present and running by default. However, systemd-resolve --statistics shows no name:ip mappings are being ...
2
votes
1answer
102 views

DNS: a “short” query (UDP) does not return an address, but a “long” (ANY, TCP) query does

This is a companion to an AskUbuntu question I posted before I had learned enough to ask this question. (This is for Ubuntu 18.04) By watching the debug output from systemd-resolved, I can do ...
1
vote
1answer
2k views

How do you remove bad DNS server IPs from systemd-resolved?

So I was testing a router and it added some random IPv6 addresses to all the machines on my network, including my DNS server. Somehow those IPs were broadcasted around as valid DNS servers (not sure ...
9
votes
0answers
980 views

What is the recommended way to set a global DNS server override on a system using systemd-resolved?

I would like my newer GNU/Linux system (Ubuntu 18.04 LTS) to use a single, manually-configured, DNS server for all DNS queries. In the past, I could simply do echo "nameserver 1.1.1.1" | sudo tee /etc/...
0
votes
1answer
172 views

systemd-timesyncd not starting with /var set as a rw ubifs volume

I am running debian with systemd version 241. I have a nand flash ubifs partition for my rootfs that I have split into two volumes (/dev/ubi0_1 for rootfs and /dev/ubi0_2 for var): ubi0:rootfs on / ...
2
votes
1answer
3k views

What are DNS server, resolver and stub resolver?

https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html#Description says Additionally, systemd-resolved provides a local DNS stub listener on IP address 127.0.0.53 on the ...
3
votes
0answers
591 views

Why is systemd-resolved falling back to using Google Public DNS over IPv6 when I did not configure it to do that?

I'm having problems with SystemD's resolved service on Ubuntu 18.10 - on my wireless network we have an IPv6 subnet that is tunneled through some weird network setup (work stuff) and can't be used for ...
0
votes
1answer
847 views

Update of /etc/resolve.conf needs restart of application

I am working with an embedded linux Target (ARM) and have the following problem: When /etc/resolv.conf is updated, while a process is running (e.g. C Program using gethostbyname()) the running process ...
1
vote
1answer
237 views

do “search domain” in networkd configuration and LLMNR conflict?

in networkd man page, the search domains are used to handle single-label names: The domains without the prefix are called "search domains" and are first used as search suffixes for extending single-...
4
votes
2answers
912 views

How single-label dns lookup requests are handled by systemd-resolved?

I looked into the systemd-networkd and systemd-resolved: systemd.network(5) on manpages.ubuntu.com systemd-resolved.service(8) on manpages.ubuntu.com and I am confused by some words: systemd-...
6
votes
2answers
1k views

systemd-resolved block a domain name

Using systemd-resolved how do I block, route, or resolve, a domain name to a black hole, or a nowhere address. Bonus points for subdomains as well. I tried a single domain in /etc/hosts: 127.0.0.1 ...
0
votes
1answer
163 views

Some web sites can not be reached [closed]

With my laptop running an arch-linux I can not access some websites when I am at home like for example: https://www.wikipedia.org/ https://wiki.archlinux.org/ https://www.leo.org/ But I can access ...
4
votes
2answers
5k views

How to make systemd-resolved stop trying to use offline DNS servers?

I have configured my DHCP server to supply two nameservers for redundancy, so that if one is offline the other one can be used. I have configured my PCs with systemd-resolved and according to ...
0
votes
0answers
174 views

systemd-resolved - how to stop forwarding and go direct to DNSBLs / RBLs (mailserver blacklists)

My mailserver needs to check IPs of incoming connections against external blacklists, this is done by a DNS lookup but it must go direct to the blacklist and not via the usual configured DNS ...
1
vote
1answer
2k views

DNS is not applied with systemd-resolved [closed]

I'm using Kubuntu 18.04. When I'm in the office network, everything works fine, but when I connect to any other network (wired of wifi) I don't get proper DNS names - the old ones are still in systemd-...
5
votes
4answers
8k views

How to configure systemd-resolved for mdns multicast dns on local network?

Ubuntu 18 I've done a ton of research and am close to pulling this picture together but can't quite understand: How can I configure systemd-resolved for mdns? My goal specifically: to bring up a ...
1
vote
1answer
444 views

Why does systemd-networkd consider UseDomains= (domain search list from DHCP) less safe than LLMNR?

UseDomains= Takes a boolean argument, or the special value "route". When true, the domain name received from the DHCP server will be used as DNS search domain over this link, similar to the ...
9
votes
2answers
4k views

How to allow systemd-resolved to listen to an interface other than loopback?

systemd-resolved is a daemon that, among other things, acts as a DNS server by listening IP address 127.0.0.53 on the local loopback interface. I would like to let the daemon listen to another ...
34
votes
2answers
47k views

How to configure systemd-resolved and systemd-networkd to use local DNS server for resolving local domains and remote DNS server for remote domains?

I'm connected to local area network with access to the Internet through gateway. There is DNS server in local network which is capable of resolving hostnames of computers from local network. I would ...
3
votes
1answer
268 views

systemd version 219 from CentOS 7 listening on random UDP port

Why does systemd-resolved from systemd version 219 listen on one random UDP port? One of my machines listens on port 58557 (CentOS 7 with systemd version 219). sudo netstat -tunlp|grep -P '^Active|^...
3
votes
1answer
4k views

Clarifying four modes of handling /etc/resolv.conf in systemd-resolved

I have read about systemd-resolved.service https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html and learnt four modes of handling /etc/resolv.conf. /run/systemd/resolve/stub-...
1
vote
1answer
2k views

Default DNS server settings

I recently updated my Ubuntu which ended in a shot DNS config. I am able to add a nameserver to /etc/resolvconf/resolv.conf.d/tail (and restart the service) to get DNS resolution for everything ...
13
votes
4answers
35k views

Why doesn't systemd-resolved use my local DNS server?

I'm using a local BIND9 server to host some local dns records. When trying to dig for a local domain name I can't find it if I don't explicitly tell dig to use my local BIND9 server. user@heimdal:~$ ...
2
votes
4answers
2k views

dnsmasq & systemd Causing Intermittent CPU Spikes

Problem: Running Ubuntu 17.10 I have been trying to resolv (hehe) this issue for about a week now and despite countless Google searches and about 20 different attempts, I can not stop dnsmasq from ...
0
votes
1answer
1k views

how to disable LLMNR on ubuntu 17.10

My understanding is that if i am using third party dns (google, etc) or dns provided by my ISP(comcast, etc) i do not need this feature on. I am attempting to disable it but setting LLMNR=no in /etc/...
2
votes
1answer
1k views

What are link “scopes” in systemd?

While trying to fix a DNS issue with NetworkManager's ModemManager on Ubuntu, I came across this difference in the output of systemd-resolve --status when connected. (ping ip works, manually editing /...
0
votes
1answer
114 views

How to understand and mitigate the Evil DNS remote attack under linux systems?

A new vulnerability has discovered on the systemd package called Evil DNS allowing the remote control of a linux machine. From the security-tracker.debian , the debian Stretch , Buster and Sid are ...
1
vote
1answer
4k views

Arch Linux resolving issues

I have a Rasberry Pi running Arch and i'm encountering some weird resolving behavior. Long story short, dig and nslookup can resolve hostnames, curl, wget, pacman can't. If i add a host in /etc/hosts ...