Questions tagged [systemd-resolved]

Use this tag for questions that relate directly to systemd's version of resolved. Do not use this tag for dnsmasq or regular resolved.

Filter by
Sorted by
Tagged with
1
vote
1answer
58 views

DNS resolver stopped working after upgrade to 20.04

Just after Ubuntu upgrade to 20.04 /etc/resolv.conf contains: nameserver 127.0.2.1 and it does not work. It works after changing to: nameserver 127.0.0.53 but it is overridden after each restart ...
0
votes
0answers
20 views

Ubuntu No DNS server found

I'mm running Ubuntu 18.04. I'm having issues connecting to the Internet after an install of Red Hat Code Ready Containers which did something with dnsmasq. There was a workaround posted here, but I no ...
1
vote
2answers
113 views

IPv6 DNS resolve - Ubuntu 20.04

I've installed Ubuntu 20.04 and I'm not getting IPv6 to work. Can someone help me, please? $ resolvectl -6 query google.com google.com: 2a00:1450:4003:801::200e -- link: wlo1 -- ...
0
votes
1answer
68 views

DNS resolution not working as expected with Pi Hole

I am running Ubuntu 20.04 and the machine is connected to my LAN via wifi. I setup a raspberry pi hole on my local network and I want it to be my primary DNS. The command resolvectl status looks OK ...
1
vote
0answers
79 views

Ubuntu 19.10 - How to set local DNS IP for local wifi connection

I recently purchased a raspberry pi and got pi-hole running on it. Unfortunately, my router does not allow me to use the raspberry pi as the network-wide DNS server so I want my laptop (Ubuntu 19.10) ...
1
vote
1answer
50 views

systemd-resolved keeps multiple copies of cache?

I put systemd-resolved into debug mode trying to troubleshoot high number of DNS queries from this machine (tcfe01). It seems systemd-resolved is keeping multiple copies of cache, one for global scope ...
1
vote
1answer
129 views

ubuntu 18.04 DNS issue

I have an ubuntu 18.04 server running apache/mysql that can't seem to resolve DNS anymore. I didn't do anything, but maybe I missed something when checking the server after the last update. Here's ...
0
votes
1answer
80 views

systemd-resolved Cache Issues

I have an aging router which exhibits some sort of stack overflow issue under load when it's used as a DNS source. So I'm instead telling my machines to use a local (Debian) dnmasq server with 1.0.0....
0
votes
0answers
44 views

NordVPN DNS leaks after disabling systemd-resolved

NordVPN had no DNS leaks before, but after following the steps listed by the accepted answer at: How to disable systemd-resolved in Ubuntu? in order to disable systemd-resolved, dnsleaktest.com ...
1
vote
0answers
71 views

Use VPN DNS server with openvpn under 18.04, configuration of systemd-resolved unsuccessful

I have tried for our hours to setup my DNS Resolution on a Ubuntu 18.04 with no success so far .... I have an openvpn connection that is up and running and creating interface tun1. I do have some ...
0
votes
1answer
47 views

Booting problem in Ubuntu.18.04lts

Yesterday ,i normally shutdown my laptop. But,when I switch on my laptop ,there was a problem on booting. It is showing that UNEXPECTED INCONSISTENCY , /dev/sda3 run fsck manually.what will be the ...
1
vote
0answers
122 views

19.10 Ubuntu “Temporary failure in name resolution” Suddenly!

An Ubuntu 19.10 machine has been experiencing sudden loss of network connectivity. It is on the same network as several Windows and Mac systems which never experience these network problems. When the ...
0
votes
0answers
47 views

DNS and systemd-resolve: Dig and skype work but not firefox ping wget apt-get

Have Xubuntu - Ubuntu 18.04.4 LTS. I installed dnscrypt-proxy and resolvconf - then purged them both. This has messed up networking. Skype and dig work but NO other Internet application works. I use ...
0
votes
0answers
10 views

whats the purpose of rtkit-dameon and bolt-dameon? I

I've found these daemons on every release of Ubuntu18.04 that I've tested. Are these rougue programs I'm finding under /var/tmp affecting my system performance? I've looked under https://systemd.org....
0
votes
0answers
54 views

systemd-resolved is returning servfail on every request

On one of my servers starting this morning, every DNS lookup sent to systemd-resolved comes backs SERVFAIL and I am completely stuck debugging any further as there are not any errors to go on. I am ...
0
votes
1answer
138 views

Need to manually set resolve.conf after successfull VPN install

As many have done in recent weeks I tried to get VPN up and running and working from home now. After a lot of struggle, I managed. We're using L2TP/IPsec VPN. Installing: xl2tpd from github (needed ...
0
votes
0answers
97 views

Bridge link losing DefaultRoute and DNS scope after hot-plugging slave interface - why?

Using 19.10 (eoan). Here's a bird's-eye view of the setup: netplan is set to put wlan0, eth0, eth1 in a bridge, br0 netplan statically sets br0 with DNS servers (and IP4 address, gateway4, etc.) ...
2
votes
1answer
200 views

systemd-resolved iptables rules

Before systemd-resolved my iptables rules for DNS were DNS_SERVER="8.8.8.8 8.8.4.4" echo "Set default INPUT policy to 'DROP'" $IPT -P INPUT DROP for ip in $DNS_SERVER do echo "Allowing DNS ...
0
votes
1answer
138 views

How settings in systemd-resolved affect netplan settings?

I wanted to make sure my server used DNSSEC and DNS-over-TLS, so I went to /etc/systemd/resolved.conf and added the following: [Resolve] DNS=9.9.9.9 FallbackDNS=149.112.112.112 DNSSEC=true DNSOverTLS=...
0
votes
0answers
70 views

Cannot use many public Wifi using Ubuntu 18.04

this problem seems to come in a lot of different flavors. With my Ubuntu 18.04.3 LTS I can rarely use public Wifi because I cannot connect to the captive portal to login/"click connect". In the KDE ...
1
vote
1answer
642 views

How to properly disable systemd-resolved

On my Ubuntu Eoan laptop, I find that systemd-resolved sporadically inexplicably fails to respond to local DNS requests to 127.0.0.53 even when requests to my router's DNS server still work, so I want ...
0
votes
0answers
39 views

Ubuntu not resolving local domain

I have setup a wordpress blog on my raspberry pi. I can access it normally from my windows pc and mobile but the local domain is not resolving on ubuntu which I installed in virtualbox. I tried to ...
1
vote
0answers
311 views

systemd-resolve reset after wake from suspend

I'm using wireguard client with the following PostUp script: PostUp = systemd-resolve -i %i --set-dns=x.x.x.x --set-domain=~. systemd-resolve did set the DNS setting correctly and 127.0.0.53 was ...
0
votes
0answers
113 views

systemd-resolved and resolvconf : is it ok to have both installed?

Systemd-resolved is present by default in Ubuntu 18.04. Resolvconf pkg is not. From reading around, systemd-resolved provides name resolution while resolvconf provides multi-client access to update ...
1
vote
0answers
119 views

openvpn cli and dns leaks with systemd

How do I make openvpn add the provider dns ? I used to disable systemd-resolved to let resolvconf do it's work but now it totally unsupported by the network manager. When I start the vpn with the gui ...
2
votes
0answers
110 views

Is it possible to use systemd-resolved as a container-level DNS forwarder? Specifically by Anbox

I'm using ubuntu 18.04 which has systemd-resolved enabled by default, and by convention the local 'virtual' DNS ip address set to 127.0.0.53:53. other dns services like dnsmasq are not installed, all ...
0
votes
0answers
2k views

“Using degraded feature set (UDP) for DNS server 8.8.8.8” on new ubuntu installation on virtualbox over windows10

I am getting a lot of these messages on /var/log/syslog on my new installation of ubuntu 18.04 on a virtualbox over a windows 10 host. I was getting them on my previous installation of ubuntu on the ...
2
votes
1answer
322 views

systemd-resolved needs to be restarted each time after rebooting

I've installed dnscrypt-proxy a while ago and modified my resolv.conf and systemctl settings. Then it stopped working with my internet, so I've removed it. I tried to get back to old settings, but ...
1
vote
1answer
301 views

Adding hosts to hostfile breaks DNS in 18.04 but didn't in 16.04

EDIT I managed to find out what I was missing that made it clear how to fix my problem. Turns out that between 16.04 and 18.04, Ubuntu and derivatives switched from something dnsmasq based to ...
0
votes
0answers
36 views

Use dedicated nameserver for particular domain

How can I configure Ubuntu 18.04 LTS that's using systemd-resolved to use a particular nameserver for a certain domain? When I login to my customer VPN I want all .customer.com go over the VPN to ...
0
votes
1answer
865 views

/run/resolvconf/resolv.conf ubuntu 18.04

I do need some clarifications for resolv.conf handling on ubuntu 18.04.02 My host is configure to use the old interfaces files. But the interface itself is configured to use dhcp auto enp2s0 iface ...
0
votes
0answers
851 views

systemd-resolved and systemd-timesyncd timeout failure, keep trying to restart

After a recent update my 18.04 server is running in a degraded state (as reported by systemctl status) because of two failed units. In /var/log/syslog I get these lines every 90 s: Jun 10 22:07:49 ...
0
votes
1answer
499 views

UBUNTU 18.04 Desktop Resolved DNS problems and updating /etc/resolv.conf

I have several questions about the internal workings of network-manager, systemd-resolve, and the /etc/resolv.conf and any other files such as nsswitch.conf. Is there a file or several files, where ...
5
votes
1answer
3k views

Why is resolvectl no longer included in Bionic and what's the alternative

resolvectl is no longer part of the bionic systemd package: bionic search for resolvectl cosmic search for resolvectl I'm curious why it was removed and what we should be using as an alternative?
2
votes
0answers
100 views

dnsmasq + systemd-resolved high cpu

I'm using DNSMasq only for DNS caching, other DNS queries should go to the original DNS configured in systemd-resolved (if I understand the flow correctly). All the solutions to this issue are saying ...
2
votes
1answer
3k views

How to write systemd service to ensure start after dns service?

After upgrading to Kubuntu 19.04, I don't know how to write a service so that it can start after DNS service has been initialized. In this past, I just use After=network.target, but now it doesn't ...
5
votes
1answer
2k views

Default DNS Server not switched after connecting to OpenVPN

I'm using a OpenVPN connection between my laptop and my server. The configuration was working until today (i simply ran apt update && apt upgrade), but since then my DNS settings are "wrong" ...
1
vote
0answers
373 views

DNS no longer working after Ubuntu-Desktop installed

I built a Ubuntu Server 18.04 server to play with Docker and a few other things. When I initially installed Server I had some issues with Netplan and getting DNS (my own server) to work, but I go ...
0
votes
0answers
277 views

Sudden DNS Problems With Ubuntu 18.10

I have suddenly been having DNS resolution problems with my Ubuntu 18.10 server. I checked everything, /etc/netplan etc, couldnt see anything that had changed. Tried rebooting several times. I get: ...
0
votes
0answers
211 views

Is the resolvconf package really needed?

Is the resolvconf package really needed? I have Ubuntu 18.04.2 LTS Server and Xubuntu 18.04.2 (as my development machine) on which I have BIND9 installed and running well and of course systemd-resolve ...
0
votes
1answer
904 views

DNS lookups fail on 18.04 host: trying to resolve from 127.0.0.1:53 but resolvd is listening on 127.0.0.53:53

My 18.04 can't do name lookups. I have a problem similar to the one described in this question, but the answer there didn't help me. nslookup --verbose google.com ;; Connection to 127.0.0.1#53(127.0....
3
votes
1answer
845 views

Why is dhclient + systemd-resolved restarting frequently?

I'm running an ubuntu server in aws on VERSION="18.10 (Cosmic Cuttlefish)" We've been having intermittent dns resolution issues, and while looking into that I've seen that every 20 minutes or so I'm ...
2
votes
0answers
2k views

systemd-resolved crashing with “Failed to set up mount namespacing: Invalid argument” & “status=226/NAMESPACE”

Problem I'm trying to investigate this weird error where systemd-resolved is constantly crashing on 2 out of 4 machines. The one thing different with these two problematic machines (that I can think ...
4
votes
2answers
4k views

How do I list DNS server order in systemd-resolve?

I know that systemd-resolve --status lists all my connections and their DNS servers and nmcli connection show <connection> | grep -i dns will list the priority of the DNS connections. But is ...
2
votes
3answers
2k views

Prioritize VPN's DNS Server

Is there a way to prioritize a particular DNS server only when connecting to a VPN (OpenVPN) through Network Manager or one of its configuration files? I have a VPN (192.168.1.*) I frequently connect ...
9
votes
6answers
16k views

Ubuntu 18.04 systemd-resolved error NXDOMAIN

I have installed Ubuntu 18.04 and the syslog is showing me the following error: systemd-resolved: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying ...
0
votes
1answer
502 views

Serving DHCP Under Ubuntu 18.04 [duplicate]

Problem Summary I have two network interfaces in the machine, and need them to behave in the following way: enp3s0: Main network interface for the machine. Receive over DHCP an IP address (will be ...
2
votes
2answers
3k views

systemd-resolved not resolving specific domains

I have a very strange problem with Ubuntu 18.04.1 Server, where the default resolver, systemd-resolved, isn't resolving some specific domain names. The one it reliably fails on is stephenreescarter....
0
votes
1answer
52 views

DNS resolution requires wireless link?

I have a Lenovo Thinkpad X220 running Ubuntu 18.04. It has an Ethernet port and a wireless card. So far as networking goes, everything was automatically configured using defaults during installation. ...
3
votes
2answers
12k views

18.04 Unable to connect to server due to “Temporary failure in name resolution”

I am at a bit of a loss. I am able to perform an nslookup and a dig on the address "imap.comcast.net" but if I try to ping it or connect to it from my application I get a "Temporary failure in name ...