Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [systemd-resolved]

Systemd Network Name Resolution manager

0
votes
0answers
40 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
26 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 / ...
1
vote
1answer
225 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 ...
2
votes
0answers
100 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 ...
1
vote
1answer
161 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
67 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-...
2
votes
2answers
334 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
442 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
44 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 ...
3
votes
2answers
2k 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
98 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 ...
0
votes
1answer
843 views

DNS is not applied with systemd-resolved

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-...
4
votes
3answers
3k 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
238 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 ...
5
votes
1answer
2k 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 ...
12
votes
1answer
15k 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
165 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
1k 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
1k 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 ...
9
votes
3answers
19k 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
1k 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
932 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
688 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
101 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
0answers
3k 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 ...