Questions tagged [systemd-resolved]

Systemd Network Name Resolution manager

35 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
1k 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 ...
3
votes
0answers
2k 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 ...
2
votes
0answers
26 views

How to configure systemd-resolved to use chosen DNS servers on public wifi

When I'm at home or at work I'd like my laptop to accept the DNS servers offered by the DHCP server but when I'm on a public wireless server at a cafe or coffee place, I'd prefer to use DNS servers I ...
2
votes
0answers
212 views

Why is resolvectl missing from CentOS 7

I've got a Linux system (Centos 7) on a LAN with about 70 Windows machines, but the Windows machine names are not in the DNS. I'm trying to use LLMNR (Link-Local Multicast Name Resolution) to resolve ...
2
votes
0answers
76 views

systemd-resolved's ResolveUnicastSingleLabel setting does not seem to work with non-search domains

ResolveUnicastSingleLabel=yes still does not seem to solve the problem of non-fully-qualified domain names (NFQDN) not being resolved. I use a single wireguard tunnel to my corporate network (with ...
2
votes
1answer
870 views

Remove a DNS server from systemd-resolved?

I have connected to an openconnect VPN like thing, and it has added a DNS server (& DNS domain) to my systemd-resolved, and they don't work, so using the internet is slowed down, because every new ...
2
votes
1answer
287 views

How to properly enable DNSoverTLS on Systemd

I came across this strange problem the other day. I enabled DNS over TLS(DoT) months ago on my laptop. My laptop had been sitting at home until I decided to take it with me to town. Recently I ...
2
votes
0answers
88 views

How do I (correctly) manage/update search domains with systemd?

I have a system (running Ubuntu 20.04) with multiple network interfaces and I realized that the search domains (I'm looking at /etc/resolv.conf, which I know is just a symlink to a systemd-resolved ...
2
votes
0answers
171 views

systemd-resolved browse for mdns services

Can systemd-resolved be used to browse for mdns services the same way like avahi-browse? For example: $ avahi-browse _smb._tcp + eno1 IPv6 PC1 Microsoft Windows ...
2
votes
0answers
219 views

per-link (VPN) systemd-resolved configuration but keep link unmanaged by systemd-networkd

Background I manage my WLAN interface through systemd-networkd and use systemd-resolved for the whole system. I have several VPN connections managed by OpenVPN or Openconnect. I have them properly ...
2
votes
0answers
526 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 ...
2
votes
1answer
64 views

host command takes a long time on .local queries

I'm using systemd-resolved configured for mDNS. host command takes a long time on .local queries. Example: $ time host blah.local ;; connection timed out; no servers could be reached real 0m10....
1
vote
0answers
89 views

Systemd-resolved service stopping unexpectedly

Almost every day, sometimes more than once a day, Systemd-resolved crashes on my fedora machine. Output: https://pastebin.com/sgN3C0BU (I removed some stuff which I did not know if it was safe to ...
1
vote
0answers
50 views

Tool to manage and set right domain resolution

This horror story began a week ago when after an update, my Arcolinux install started behaving erratically and some sites (at random) won't open (they would after I left them for a while and tried ...
1
vote
1answer
796 views

Setting domains in resolvectl results in timeouts

For some reason I can't manage to set domains for resolvectl. Either I don't understand what it does at all or something is weird for me. Once I set a domain e.g. sudo resolvectl domain enp2s0 example....
1
vote
0answers
764 views

How to disable IPv6 short hostname resolution

For a long time I've been able to SSH to other hosts on my network just with the short name, e.g. ssh otherpc and it recognises it's a short name, adds the DNS search suffix, does a lookup for otherpc....
1
vote
1answer
170 views

Make systemd-resolved ignore a DNS server and only use the one I specify

I am experiencing an issue with DNS and to help narrow down the problem, I have been asked to configure my machine's DNS settings manually, only specifying one DNS server instead of the two returned ...
1
vote
0answers
432 views

systemd-resolved add option rotate Ubuntu 18.04

I'm trying to add options rotate to my resolv.conf on Ubuntu 18.04 LTS upgrade Ubuntu 16.04 LTS: /etc/resolv.conf -> ../run/resolvconf/resolv.conf handled just by adding options rotate to /etc/...
1
vote
0answers
262 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
0answers
23 views

dnsmasq container on ARM OMV5

Would like to ask for your help with something i'm working on these days. I'm running Openmediavault 5 on an ODROID HC2 (ARM). It uses systemd-resolve. I use docker containers and access everything ...
0
votes
0answers
30 views

Systemd service is unable to resolve host (temporary failure in name resolution), but the root user is able to

I have a systemd service that runs a script that checks my wireguard connection. The service file looks like this: [Unit] Description=Check the wg status and restart it if necessary After=network-...
0
votes
1answer
48 views

Configure split DNS resolver to always use VPN-internal nameserver for fixed list of domains

What's the most reliable configuration to have a fixed list of internal domains always resolved through an internal nameserver, even if it's unreachable because the VPN is down, while still using the ...
0
votes
0answers
279 views

systemd-resolved: Use DNS over TLS only for some DNS servers

For any dns query, I want systemd-resolved to first query 100.100.100.100 for the domain without using DNS over TLS and if this fails, it should query the nextdns server using DNS over TLS. I have ...
0
votes
0answers
26 views

DNS and FallbackDNS only apply globally, not per link

I'm trying to set up systemd-resolved to use DNS over TLS and DNSSec. After editing /etc/systemd/resolved.conf and restarting both systemd-resolved and NetworkManager, resolvectl status shows that ...
0
votes
1answer
26 views

DNS resolution not working after avahi installation

I installed and set up avahi and nss-mdns according to Arch wiki (I'm on Arch) and disabled systemd-resolved's multicast dns, but now dns resolution fails on my machine entirely. I then tried ...
0
votes
0answers
55 views

how to add my own dns server to systemd managed resolv.conf?

On ubuntu 20.04, I have a dnsmasq processing running on one of my interface has ip 192.168.122.1. If I directly add nameserver 192.168.122.1 to the /etc/resolv.conf it works. If I use dig @192.168.122....
0
votes
1answer
31 views

Use DHCP provided DNS servers but use specific servers for specific domains

Long story short, my country is censoring some websites by forcing ISPs to configure their DNS servers to not return the correct answer when queried about specific domains. For various reasons, I want ...
0
votes
0answers
27 views

systemd-resolved when default route is via VPN

With the (abbreviated) ifconfig below, I sometimes temporarily change the default route to use tun1 instead of enp2s0 - using the ip route command. But I assume that systemd-resolved continues ...
0
votes
0answers
66 views

Using systemd-resolved to resolve separate DHCP-derived domains

So this is a slightly weird setup, but I feel this should be possible to accomplish. I'm just not sure how to make systemd-resolved do what I want it to do here. I have two separate DHCP-derived ...
0
votes
1answer
971 views

Reverse Lookups to Local DNS Server Failing on Ubuntu 18.04

On Ubuntu 16.04 REVERSE lookups to a local DNS/DHCP bind9 server on the local network are SUCCESSFUL, while on the other hand, on Ubuntu 18.04 (and higher) the REVERSE lookups FAIL. All systems are ...
0
votes
0answers
22 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
93 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 ...
0
votes
1answer
691 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
1answer
810 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 ...
0
votes
1answer
2k 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/...