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
0
votes
0answers
21 views

ubuntu 20.04 systemd-resolved cannot resolve .local zone

On a Ubuntu 20.04 AWS EC2 instance, an application need to resolve .local zone. It is a private zone, created in Route53, accessible only from the VPC. From a CentOS 7 instance (without systemd-...
0
votes
1answer
22 views

MAAS cloud-init hanging due to systemd-resolved?

We're observing some weirdness when using MAAS (version 2.8 in this case). The machines get systemd-resolved configured after deployment (using an ansible role) and from that point every system reboot ...
1
vote
1answer
69 views

SOLVED upgrade error: illegal package name `systemd/noawait'

when I run this sudo apt upgrade command I get this: Reading package list ... Done Creating dependency tree Reading status information ... Done Calculating the update ... Done The following packages ...
5
votes
2answers
119 views

Using Host DNS resolution in Docker Containers

I think this is one of the widely discussed problem in SO Network. Most of the solutions are either out-dated or stale suggestions with latest Ubuntu (21.04)/Systemd changes. Problem: VPN Changes from ...
1
vote
0answers
31 views

How to set two services as alternative to each other?

I'm using unbound instead of the normal resolver on a development server that I have unfortunately - it crashes many times and service do not start Ubuntu has it's own resolver as a service systemd-...
0
votes
1answer
45 views

Failed to start systemd-resolved.service . systemd-resolved.service: Failed with result 'resources'. [1]: Failed to start Network Name Resolution

Main Issue is: # systemctl status systemd-resolved.service systemd-resolved.service - Network Name Resolution Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: ...
0
votes
0answers
83 views

how to turn on dnssec on ubuntu 20.04 as client via systemd-resolved

I want to turn on dnssec validation on ubuntu 20.04 as a normal client. When I do dig +dnssec on my router as name server it returns a rrsig. I assume that this means, that the router is capable of ...
0
votes
1answer
57 views

systemd-resolved: ResolveUnicastSingleLabel= missing in 20.04?

I am trying to get systemd-resolved to resolve single-label querries/hostnames. As far as I understand systemd-resolved, it just drops request like dig randomhostname because no fqdn is provided. if I ...
2
votes
1answer
91 views

Proxy failing because system resolves it using local DNS instead of VPN (Ubuntu 20.04)

I am using an VPN over openconnect through NetworkManager. I also have a proxy server whose configuration is reachable via VPN (at http://wpad/wpad.dat). Sporadically, when I connect to VPN it fails ...
0
votes
1answer
175 views

How to disable 127.0.0.53 as DNS?

For some reason, my DNS seems to be set to 127.0.0.53. It's not really a problem, since my local (i.e. on my laptop) DNS seems to redirect DNS requests to the default gateway. But I would like it to ...
0
votes
0answers
80 views

DNS systemd-resolved 127.0.0.53 seems to trunc some bytes

On a fresh Ubuntu 20.04 raspberry pi 4 install, i set up Bind9 for my local domain. I try to debug some troubles with my DNS : "EDNS UDP packet size" and "long response time". ...
0
votes
0answers
166 views

What is mitigating potential DNS violation DVE-2018-0001 coming from systemd-resolved service?

I am not able to ping some websites , but nslookup works for example : # ping registry-1.docker.io PING registry-1.docker.io (52.1.121.53) 56(84) bytes of data. gets stuck no result no timeout but ...
0
votes
0answers
353 views

How do I disable EDNS in systemd-resolved

I am experiencing long DNS lookup times (> 5s) due to non-compliant EDNS responses from my DNS server triggering (I think) this bug in systemd-resolved. I'd like to turn off EDNS in resolved to see ...
0
votes
0answers
255 views

How to get systemd-resolved to use /etc/hosts when openFortiVPN is active

Ubuntu 18.04. I have a host entry in /etc/hosts and this is being resolved correctly when I use nslookup. My /etc/nsswitch.conf looks like # /etc/nsswitch.conf # # Example configuration of GNU Name ...
0
votes
0answers
56 views

How to add _gateway resolution to Unbound/DNSMasq

In Debian 10 Buster/Ubuntu Server 20.04 LTS, systemd-resolved has a feature where it automatically resolves the default route's IP to _gateway. However, I need Unbound or DNSMasqd to run and takeover ...
0
votes
0answers
35 views

Select preferred DNS in NetworkManager when more connections are active

Good morning. I have this situation, in which I have the primary interface eth0 set with its DNS, and I set a second interface (connection in NetworkManager) up, tun0, which is a VPN, but ...
0
votes
0answers
41 views

Is there a way for systemd-resolve to retunr entry in /etc/hosts?

is there a way to make systemd-resolve return entries in /etc/hosts when I do dig on 192.168.0.1 ? I have issue that one software is querying dns and thus ignoring /etc/hosts entries... any ideas ? ( ...
0
votes
1answer
80 views

Can ping and traceroute but not able to browse certain websites

I can ping and traceroute with the help of mtr -rw but I simply cannot browse certain websites. I have found no common denominator between these websites to understand where the problem lies. The only ...
0
votes
0answers
83 views

ubuntu 20.04 freezes with error Server returned error NXDOMAIN

my ubuntu 20.04 machine has been periodically freezing over the past several weeks. When I hold the power button down and power off the machine and restart, looking at /var/log/syslog, the last entry ...
0
votes
0answers
64 views

how come resolvconf update /etc/resolve.conf file even if systemd-resovled service is disabled?

I disabled systemd-resoved service and set nameserver in raspberry pi to my local dns, but I discovered it on reboot it got changed. To nameserver I don't know where it came from and how it is ...
0
votes
1answer
49 views

systemd-resolved returns server failure time to time

One of my c++ app under 18.04 makes a lot http/s requests with libcurl. Later in logs I see such moaning: CURL error has occurred: Couldn't resolve host name. Nearly the same in the syslog: Jan 17 19:...
0
votes
1answer
50 views

DHCP dns stopped working on ubuntu 18.04

I have setup new ubuntu 18.04 server which has dhcp assigned ip and dns 192.168.120.62 , after setup when i checked i waw able to get result using nslookup for local dns entries of 192.168.120.62 but ...
1
vote
0answers
1k views

Using degraded feature set (UDP) for DNS server

I have a problem with DNS on the wired connection. For some reason, DNS isn't working on it, though I can ping. Some logs: systemd[1]: Started Network Name Resolution. systemd-resolved[1060]: Using ...
0
votes
0answers
61 views

Connectivity issues after VPN disconnect: Ping but no DNS

PROBLEM I often use NordVPN on my linux machine (20.04.1), which uses the systemd-resolve network manager. After I disconnect from the VPN, I often have connectivity issues: I CAN ping 8.8.8.8 I ...
0
votes
0answers
34 views

After image rollback, journald, logind, netword, resolved, timesync and udevd all failed

New to Ubuntu/Linux and this forum. Apologies in advance for any missteps on posting protocol. Running Ubuntu 20.04 on a VPS After rolling back to previous VPS image, I am not longer able to ssh into ...
0
votes
0answers
60 views

resolved does not use my DNS server

Ubuntu 20.10 In my local network I have my DNS server (IP hole) addres of this server is 192.168.0.155 Until systemd-resolved.service is active my system do not use this server When resolved is ...
3
votes
2answers
4k views

resolv.conf - No DNS servers known

I am using focal Ubuntu 20.04.1 LTS (hosted virtual machine) Occasionally after a reboot DNS resolution fails (e.g. ping google.com > Resource temporarily unavailable) To 'fix' this I reboot the ...
0
votes
1answer
153 views

Per-domain DNS servers

My laptop is running Ubuntu 20.10. It's connected to a network with a fairly normal internet connection - the router provides DHCP, DNS etc. But another host on the network (not the router) provides ...
0
votes
0answers
80 views

resolvectl without root?

I am writing an application that needs to set DNS using resolvectl, is it possible to use linux capabilities or any other trick (except for sudo or setuid) to use resolvectl dns command without having ...
2
votes
1answer
229 views

systemd-resolve seems to not query the specified DNS server

Edit: during the time it took me to type out this question it apparently fixed itself, it now works as intended. I'm still interested in as to why this could have happened :) My Setup is as follows: I ...
0
votes
1answer
252 views

how to change the log level to ERROR for systemd-resolved

I am using ubuntu 20.04, I configured rsyslog to send/forward logs to a remote syslog-ng but I am getting to many WARNING message like this: Server returned error NXDOMAIN, mitigating potential DNS ...
1
vote
0answers
82 views

from where is nameserver 1.1.1.1 getting added to my ubuntu /etc/resolv.conf

I am running my own DNS server, which I have added to the router, every device on the networks gets the custom DNS, but my ubuntu server that is running pihole in a docker container. I yesterday ...
0
votes
1answer
403 views

How do I configure the ndots option in /etc/resolv.conf from netplan?

I have netplan managing a simple bridge and have DNS served with BIND from the same server, it's all working perfectly well except for relative domain resolution. host -t A foo outputs: foo.example....
0
votes
2answers
1k views

systemd resolvectl drop in files for dns

My Setup Ubuntu 20.04 dumb proprietary vpn client which changes /etc/resolv.conf problem each time any interface re-connect, NetworkManager come into play, redo resolv.conf So far so good. With ...
2
votes
1answer
2k views

How can I see systemd-resolve dns cache?

Using sudo systemd-resolve --statistics let me see the current dns cache statistics, for example : Cache Current Cache Size: 68 Cache Hits: 412 Cache Misses:...
0
votes
0answers
2k views

Wireguard connects successfully but not internet

I am given two WireGuard config files by the company I work for. I have setup one on my Android phone and it works perfectly and another one on my Ubuntu. It used to work for a day or two; but ...
0
votes
1answer
94 views

Why would Ubuntu treat NXDOMAIN as resolving to localhost?

Every time I should be getting an error because a domain does not exist (e.g. could not resolve host), I instead get an error about connecting to a loopback address: $ curl -4 -v https://nonexist....
7
votes
4answers
8k 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 ...
1
vote
2answers
1k 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
3k 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
468 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) ...
2
votes
1answer
206 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 ...
3
votes
1answer
1k 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
437 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....
2
votes
0answers
361 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
97 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
798 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 ...
1
vote
0answers
798 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 ...
1
vote
1answer
873 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
204 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.) ...