Stack Exchange Network

Stack Exchange network consists of 174 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]

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

0
votes
0answers
19 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 ...
0
votes
0answers
15 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 ...
0
votes
0answers
23 views

Prioritize VPN's DNS Server

Is there a way to prioritize a particular DNS server when connecting to a VPN (OpenVPN) through Network Manager? I have a VPN (192.168.1.*) I frequently connect to that has DNS (192.168.1.53) ...
0
votes
3answers
209 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
0answers
11 views

Can I use systemd-resolved to send some traffic to a certain iface?

I want to use the normal 8.8.8.8, 8.8.4.4 DNS for most of my traffic outgoing traffic, but for my local subnet I want all requests of the form *.peter.net to be sent down interface eth2 for further ...
0
votes
1answer
46 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 ...
1
vote
2answers
87 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
32 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. ...
0
votes
2answers
1k 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 ...
0
votes
1answer
456 views

DNS over TLS with systemd-resolved

Folks, I was trying to enable DNS over TLS via systemd-resolved. I changed /etc/systemd/resolved.conf as follows: [Resolve] DNS=1.1.1.1 #FallbackDNS= Domains=~. #LLMNR=no #MulticastDNS=no #DNSSEC=no ...
0
votes
0answers
82 views

Domains setting in systemd-resolved

Folks, I'm running a fresh install of 18.10. I configured as: [Resolve] DNS=1.1.1.1 #FallbackDNS= Domains=~. #LLMNR=no #MulticastDNS=no #DNSSEC=no DNSOverTLS=opportunistic #Cache=yes #...
1
vote
0answers
22 views

Avoid resolution of invalid hostname to default ip

When connecting to my internet provider's box with Ubuntu 16.04 or 18.04, any invalid hostname is resolved to some kind of default IP (82.216.111.26 which is fact is the ip of numericable.fr). ...
2
votes
0answers
498 views

Ubuntu 18.10 wifi not working at starbucks

I had this problem with 18.04. Adding an entry to /etc/hosts as mentioned in this bug report. In 18.10, that does not work. I get an IP assigned via DHCP, but never get the login page. ...
2
votes
3answers
1k views

How to make Ubuntu server 18.04 use dns-nameservers from /etc/network/interfaces?

On Ubuntu server 18.04 I've disabled netplan and using /etc/network/interfaces. sudo apt-get -y install ifupdown cat <<EOM | sudo bash -c 'cat > /etc/network/interfaces' auto lo iface lo ...
2
votes
1answer
4k views

Lost editing DNS config in Ubuntu 18.04

Objective For personal use, I need to add a custom server running on 127.0.0.1#5354 that resolves queries for .hyperboria domains. What I've done There used to be a file called /etc/resolv.conf ...
1
vote
0answers
272 views

very slow dns resolution

I haven't found a thread on this specific issue : My DNS resolution can be very long on linux. Generaly after a while using it (after 3/4h uptime). I am using a specific DNS for specific domains : ...
0
votes
1answer
561 views

How do I set the search path for systemd-resolved?

The man page for systemd-resolved.service says: systemd-resolved maintains the /run/systemd/resolve/stub-resolv.conf file for compatibility with traditional Linux programs. This file ...
1
vote
0answers
246 views

How can I override netplan's per-interface nameservers, rather than appending to them?

I have an DigitalOcean server that's being configured via cloud-init. With Ubuntu Bionic Beaver, this creates a netplan file in /etc/netplan/50-cloud-init.yaml that contains nameserver addresses. ...
0
votes
0answers
21 views

How to make systemd-resolvd stop going crazy [duplicate]

systemd-resolve is using 99% CPU, all the time. The only way I have found to stop it is to stop the service with systemctl, but then it doesn't resolve names. Does anyone else have this problem or ...
0
votes
0answers
429 views

Running dnsmasq dhcp on Ubuntu 18.04

I am trying to setup wifi router on ubuntu with two wifi cards connected. Router is to be configured by application that uses command line tools like iwconfig, dnsmasq and hostapd. On Ubuntu 17.10 ...
3
votes
0answers
494 views

18.04 server - systemd-resolve returns cached cname NODATA for A lookup

Summary: DNS A record lookups fail to resolve due to cached CNAME NODATA lookups. Details: Mail log reports errors with DNS lookups: Host or domain name not found. Name service error for name=...
2
votes
0answers
3k views

dnsmasq : failed to create listening socket for port 53: Address already in use

I'm trying to configure dnsmasq to work along with NetworkManager, the problem is when I try to run the service it fails with: dnsmasq: failed to create listening socket for port 53: Address already ...
0
votes
0answers
245 views

Ubuntu 18.04 how to use DNS server for all FQDN queries?

I have a server on my local network which I resolve its name as using this /etc/hosts entry: 192.68.0.4 localserver This works fine, so 'ping localserver' or 'ssh localserver' will resolve to 192....
2
votes
0answers
221 views

Systemd-resolved not getting nameservers from DHCP

I'm running a few ubuntu 18.04 servers in a Windows AD environment. The servers have no problem getting IPs via DHCP, but the DNS settings specified in option-6 are not written to any files. ...
14
votes
6answers
21k views

New alert keeps showing up: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001

I just installed a new Ubuntu Server 18.04. I set my hostname hostnamectl set-hostname ****.openbayou.biz and I set /etc/hosts: 127.0.0.1 localhost [ip address] ****.openbayou.biz hostname # The ...
3
votes
1answer
1k views

Why do I need to add nameservers to resolv.conf?

I'm running Ubuntu 18.04 (upgraded from some earlier version) which uses Network Manager and systemd-resolved for name resolution. When I boot, my ethernet connection enp0s31f6 is brought up by ...
2
votes
1answer
2k views

Ubuntu 18.04 does not get search domain from DHCP server?

I have a system with Ubuntu 18.04 on it, and there have been some (apparently) radical changes in the way DHCP client and DNS are handled. After stumbling through documentation on systemd-resolved, I'...
0
votes
2answers
461 views

systemd resolve doesn't respond to queries

I'm getting dns failures on some of the servers with Ubuntu Server 17.10 or 18.01. I can't resolve addresses unless I go direct to the nameservers (ie with dig @1.2.3.4 ...) It can't resolve the ...
2
votes
1answer
396 views

¿How to use systemd-resolve instead of connman as DNS proxy?

Everytime that I start my computer, my DNS does not work. In /etc/resolv.conf I see: # Generated by Connection Manager nameserver ::1 nameserver 127.0.0.1 I see that /etc/resolv.conf is a soft link ...
16
votes
5answers
20k views

Ubuntu 18.04 no DNS resolution when connected to openvpn

When I connect to a VPN network through Gnome Network-manager I lose DNS resolution and in practice, I cannot access resources inside the VPN network or outside. When I was using Ubuntu 16.04 and I ...
8
votes
3answers
7k views

How to Add dnsmasq and keep systemd-resolved (18.04)

I want to get fast dns resolution with dnsmasq and keep the default systemd-resolved. Looking for an elegant way to do this
3
votes
1answer
568 views

How should I be doing LAN name resolution on 18.04

How should I be doing LAN enable name resolution on 18.04? I have a LAN full of Ubuntu 16.04 devices, connected via a router running dnsmasq. All the local devices have a single word names, IP are ...
0
votes
0answers
16 views

terminal error while Set permission to install torrent [duplicate]

When I've attempted to install utorrent on 16.04 using terminal with no succes due to error in "sudo chmod -R 755 /opt/utorrent-server-alpha-v3_3/" which shows this "sudo : unable to resolve host <(...
3
votes
1answer
1k views

How can I disable LLMNR in systemd-resolved?

How can I disable LLMNR in systemd-resolved? I tried adding: LLMNR=no to /etc/systemd/resolved.conf but when I type systemd-resolve --status it still shows LLMNR setting: yes I have tried ...
3
votes
1answer
2k views

How to configure 17.10 desktop's systemd-resolve dns via terminal?

I can do this via network setting's manual dns input field yet if I like to manage it via terminal (ssh), what may I do to accomplish this?
0
votes
1answer
298 views

17.10 DNS problems

It seems that my installation started to fail sometime after an update. I also have a 16.04 installation as well as Win10 which work fine. It APPEARS to be a DNS problem, in that I can ping ...
3
votes
4answers
4k views

Change DNS to Coudflare 1.1.1.1 on Ubuntu 17.10

I'd like to take advantage of the recent Cloudflare 1.1.1.1 DNS service on my Ubuntu (17.10, will be on 18.04 LTS when it lands). I can not get the GUI instruction to work (changing the DNS using ...
0
votes
1answer
111 views

Wrong DNS resolution of FQDN LAN server

I have a server connected to my LAN and the Internet that I am unable to connect to using its FQDN. Let's say the FQDN is server.com. For whatever reason I have not been able to get to the bottom of,...
16
votes
5answers
32k views

DNS set to systemd's 127.0.0.53 - how to change permanently?

I've recently upgraded to 17.10. When I try to browse to a website, or ping a domain it fails saying the site cannot be resolved. network-admin shows the contents of /etc/resolv.conf to be ...
0
votes
2answers
1k views

Remove search entry from resolv.conf in Ubuntu 17.10

My /etc/resolv.conf (and also /run/systemd/resolve/resolv.conf) contain a search entry for wifi.ns.nl that I did not put there and do not want there. It seems related to a problem I have now in that I ...
1
vote
1answer
440 views

Fallback DNS servers on Ubuntu 17.10

It doesn't seem like that nslookup falls back to other DNS servers in Ubuntu 17.10. DNS subsystem is now managed by systemd-resolved daemon. And I see the /etc/resolv.conf is linked as below: $ ls -...
1
vote
1answer
669 views

DNS resolving problem after upgrading to 17.10

After upgrading to 17.10, Ubuntu is using systemd-resolved to handle all DNS requests, and it has a stub listener, but the listener only accept requests from local. I am using a Vultr VPS, this is ...
0
votes
0answers
86 views

Cannot reach most internet pages

I have to type this using my phone. This morning my computer was working fine, for some reason I cannot access most pages anymore. Facebook and Google works, askubuntu.com and most other pages doesn't....
4
votes
1answer
431 views

Why there are resolvconf.service and systemd-resolved.service services present in ubuntu at the same time

In ubuntu there are two solutions that provide dns cache and configure functionality. One is resolvconf.service (part of resolvconf package). Another is systemd-resolved.service (part of systemd ...
2
votes
1answer
180 views

17.10: Find which script is putting “search somedomain.edu” in resolv.conf on startup

The following files contain a line "search somedomain.edu", which prevents me from accessing that domain (DNS error in a browser). /run/resolvconf/interface/systemd-resolved /run/resolvconf/resolv....
0
votes
3answers
190 views

Mobile broadband DNS configuration

For some strange reason Ubuntu / Systemd do not want to update resolv.conf for one of my interfaces. But works fine for the others. So the systemd-resolved only works for the two first interfaces. The ...
0
votes
0answers
60 views

Why won't Ubuntu 17.10 see DNS changes after they've been made? [duplicate]

[I'm rewording the title to further clarify why this isn't a duplicate of the DNS caching question. This has nothing to do with dnsmasq, which is not caching at all. Even when I set the correct DNS ...
6
votes
1answer
792 views

After changing networks, DNS lookup fails to domains that were local

I recently upgraded from 16.04 to 17.10, and some domain names now fail to resolve in systemd-resolved, even though my home DNS server resolves the domain names just fine. My workplace domain is *.cs....
0
votes
1answer
90 views

How do you turn off System-DNS bound to localhost

root@deathstar:~# lsof -ni|grep -v firefo COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME systemd 1 root 59u IPv4 187418 0t0 TCP 127.0.2.1:domain (LISTEN) systemd 1 root 60u ...
1
vote
1answer
454 views

Zesty DNS resolution no longer accepts search domain setting from DHCP

This is on Ubuntu Gnome 17.04 (fully updated), btw... As we all know, Zesty's name resolution changed from dnsmasq (via NetworkManager) to systemd-resolved. One side effect (that apparently 17.10 ...