Questions tagged [resolv.conf]

resolv.conf - resolver configuration file

Filter by
Sorted by
Tagged with
0
votes
0answers
36 views

How can I tell what app, script, or service is responsible for changing resolv.conf?

I am aware that DNS and other name resolution is controlled most proximately by /etc/resolv.conf, and that resolvconf / resolvectl / systemd-resolve is most proximately responsible for the contents of ...
1
vote
1answer
111 views

How to permanently save the content of /etc/resolv.conf

As I mentioned in the title, ctrl+s doesn't permanently save the content of that file, if I rebooted my machine I lost all the configuration I did in there, an help, please.
1
vote
0answers
64 views

accidentally modified /etc/resolv.conf and now cannot acces the Internet

I'm using ubuntu 18.04 on my dell inspiron 5402.I was annoyed about frequently getting a question mark on that wifi icon,so I followed some method on the Internet and unfortunately got this problem. ...
0
votes
0answers
97 views

“Connect: Network is unreachable” when pinging 8.8.8.8

I installed lubuntu 18.04 onto my Windows 10 laptop, but I am unable to ping 8.8.8.8. Here are my specs for my computer: Architecture: i686 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian ...
0
votes
0answers
59 views

Abnormal DNS output

Why does dnsleaktest.com find previous DNS address/multiple new DNS addresses? I used Cloudflare DNS, now I switched to a new one to see how it works. My previous DNS-switching process was simple - I ...
0
votes
0answers
156 views

Local resolver with PowerDNS and Ubuntu 20.04

I installed PowerDNS as authoritative server for my domain. I had to remove systemd-resolved package for the installation of pdns-server and pdns-backend-mysql package. After the installation, my ...
0
votes
1answer
177 views

on 20.04 after a recent upgrade I am unable to clear DNS cache

I recently changed the NS records for a website and when I dig that using online tool such https://toolbox.googleapps.com/apps/dig/#NS/ I can see that it is pointing to the correct place. and even my ...
0
votes
0answers
22 views

what is difference between IPs returned from “dig google.com | grep SERVER” and “systemd-resolve --status | grep DNS Servers”?

Both above commands return IP addresses. But I want to know which one returns IP of stub resolver and which one returns IP of default recursive resolver?
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
84 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
0answers
235 views

resolv.conf and sporadic slow host resolving (DNS issue) - Ubuntu 20.04

since last autumn I'm struggeling to find what's wrong with my network configuration on Ubuntustudio 20.04 which is basically a Ubuntu 20.04. I installed from scratch last autumn with the official ...
0
votes
0answers
52 views

what's the real DNS server used by my system

First of all, my embedded system is running Ubuntu 18.04 and I'm not using NetworkManager to manage my connections (instead I'm using /etc/network/intefaces). I have already looked at similar ...
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
149 views

/etc/resolv.conf not populated on boot, only after subsequent reboot

We have an Ubuntu Server 16.04.7 virtual machine running on top of Proxmox 6.3. On reboot of the host, this machine comes up with an "empty" /etc/resolv.conf: # Dynamic resolv.conf(5) file ...
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
0answers
145 views

How to permamently add a nameserver to the /etc/resolv.conf?

I daily need to connect to a VPN from my Ubuntu Desktop 20.04, and each time I do that I need to edit the resolv.conf file, since it is constantly updated by NetworkManager. Its content is reset to: # ...
0
votes
0answers
67 views

How to resolve single-name (no dot) domain names with upstream DNS server?

I am using dnsmasq as the DNS repeater on my network, and it has the ability to answer domain name queries for entries in that machine's hosts file. This gives me a convenient way to propagate a ...
0
votes
2answers
155 views

L2TP VPN connected but no traffic / not working

I'm using Kubuntu 20.04 and having issues with L2TP VPN By the way it was working fine up until today, would connect and all traffic was fine. Now the VPN connects but I cant do anything.. even www....
0
votes
1answer
255 views

error writing /etc/resolv.conf operation not permitted

I write sudo nano /etc/resolv.conf terminal and add nameserver 8.8.8.8 nameserver 8.8.4.4 but it gives error operation not permitted so I could not reach websites how to fix the error
0
votes
1answer
482 views

Ubuntu DNS Issues

Using Ubuntu 18.04 - My DNS suddenly stopped working. Just had installed Docker and minikube etc - not sure if this caused it - no idea. I can ping an IP (like Google) but cannot ping google.com. $ ...
-1
votes
1answer
3k views

How to fix error writing /etc./resolv.conf operation not permitted and Internet connection [duplicate]

I wrongly deleted nameserver from resolv.conf. After I delete, my Internet has gone.It is connecting Wi-Fi network but I couldn't reach any website. When I write the terminal sudo nano /etc/resolv....
1
vote
0answers
380 views

Ubuntu Server Name Resolution fails after upgrading to 20.04 from 18.04

Immediately after upgrading Ubuntu Server from 18.04 to 20.04 name resolution stopped working. If I edit /etc/resolv.conf and replace nameserver 127.0.0.1 with nameserver 8.8.8.8 then everything works ...
0
votes
1answer
149 views

On Samba DCs running on Ubuntu Server 20.04, is DNS resolution handled by by the netplan config or by resolv.conf?

Apologies if this might be a silly question. I'm reading that best practice when having two DCs in a domain is to point their DNS addresses at each other and also at themselves. So: DC1 nameservers = ...
0
votes
0answers
84 views

resolv.conf second DNS server not working

I created an internal DNS server (ubuntu server), and after checking with other VMs the DNS server working properly. I try to add 3 ubuntu VMs to the network but none of them being able to use ...
0
votes
0answers
67 views

Resolv.conf file gets rewrited everytime

On my lubuntu 20.04 LTS I disabled the resolved service before I installed pihole (as dns server for my home network) which in turn installed dnsmasq too. I also modified the resolv.conf file to ...
0
votes
0answers
17 views

How to solve "Temporary failure in name resolution'' in Ubuntu 20.04? [duplicate]

I am using Ubuntu 20.04. I just faced an error "Temporary failure in name resolution". I am unable to access the internet. At first, it was just happening in the terminal. If I ran a command ...
2
votes
0answers
620 views

Why curl and apt update resolve DNS names differently?

I am running Ubuntu 18.04 on Windows 10 WSL2. The command sudo apt update could not resolve all the DNS names (for example archive.ubuntu.com): np@DESKTOP-LF80KK2:/mnt/c/Users/niko$ sudo apt update ...
1
vote
2answers
834 views

resolv.conf mismatch netplan configuration

I'm setting up an Ubuntu Server 20.04 system as a gateway between my LAN and the WAN. I'm not able to configure the DNS properly. I have 2 netplan config files for my 2 interfaces. Internal eth ...
0
votes
2answers
108 views

My server cant make a connection to the outside [closed]

I am running a newly installed Ubuntu Server 20.04. Every time I try to access the internet or download something I get this screen. # This file is managed by man:systemd-resolved(8). Do not edit. # # ...
1
vote
1answer
989 views

NetworkManager updates to a bad nameserver in /etc/resolv.conf on restart

Whenever I restart my computer NetworkManager sets /etc/resolv.conf to this, my DNS stops working and I get this error in Chrome. /etc/resolv.conf # Generated by NetworkManager search tampabay.rr.com ...
5
votes
4answers
24k views

DNS issues after upgrading to 20.04

After upgrading to 20.04, both my wired and wireless networking lost access to the internet. I confirmed my drivers were working when I was able to resolve a ping to the Google nameserver 8.8.8.8. Now,...
4
votes
1answer
1k views

Openconnect in network-manager does not update resolv.conf

I just updated from ubuntu 19.10 to ubuntu 20.04. Now my resolve.conf does not get updated anymore when I connect to vpn with the openconnect thing in the network manager. This works correctly: ...
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 ...
4
votes
1answer
9k views

Ubuntu 20.04 “Temporary failure in name resolution” - recently reinstalled

I rent a vps from contabo for about half a year now, it worked fine until now, because it started producing "Temporary failure in name resolution" errors. I read that this is a DNS error, I tried ...
-1
votes
1answer
171 views

Can't get to some web sites

I changed my DNS settings in /etc/resolv.conf and /systemd/resolved.conf to Google DNS and I cannot access some websites. Solved: Turns out I have changed my DNS configuration in the past, member ...
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 ...
0
votes
0answers
427 views

Prefer AAAA (IPv6) DNS lookups before A (IPv4) lookups

I want AAAA requests first as required by https://tools.ietf.org/html/rfc8305#section-3 Both queries SHOULD be made as soon after each other as possible, with the AAAA query made first but I ...
0
votes
1answer
505 views

System error resolving - Device or resource busy, cannot apt-get and no internet after I moved - VirtualBox

I use Ubuntu 18.04 64bit in Oracle VirtualBox, on a Windows 10 PC. I moved with my PC to a different flat. Both before and now I connect to the internet via wifi but of course now I have a different ...
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 ...
0
votes
1answer
1k views

NetworkManager resets resolv.conf on every reboot

Why is netowrk manager resetting resolv.conf to 127.0.0.53 resolv.conf # Generated by NetworkManager nameserver 127.0.0.53 this causes internet to not work on my computer.
0
votes
1answer
572 views

unable to install apt or run get update

For no apparent reason my Ubuntu suddenly stopped letting me install apts for example sudo apt-get update gets this response: Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease ...
4
votes
0answers
219 views

Ubuntu 18.04 `$DISPLAY` is set to `127.0.0.53` instead of `:0`

I have a freshly installed Ubuntu 18.04 on a Lenovo T470 I ran into some weird issues, which seemed to be related to rendering of GUI windows on my machine: Some code not running correctly and ...
1
vote
1answer
1k views

Prepend nameserver to resolv.conf in Ubuntu 19.10

I'm trying to add a nameserver to the top of my resolv.conf file on Ubuntu 19.10. I want to always have the nameserver 127.0.0.1 at the top. I have created a created a new file called: /etc/...
8
votes
2answers
11k views

Temporary Failure in name resolution on WSL

Running Ubuntu on WSL and trying to push to github and download new python modules using pip and I get this error. Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after ...
1
vote
0answers
207 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 ...
0
votes
0answers
60 views

it does not work when I change dns in /etc/resolv.conf

I temporarily moved into new apartment with modem in hallway that it is open and when I connect needs login for access to internet and I do login and I have access to internet but when I change dns ...
0
votes
0answers
88 views

Is resolvconf hard-coded its nameserver setting?

First of all, this is not a duplicate of How do I include lines in resolv.conf that won't get lost on reboot?, as A) It has not been working since 14.04. See the comment: In 14.04 this answer ...
1
vote
0answers
268 views

VPN not setting correct DNS server

I set my VPN connection to explicitly use 192.168.253.65 server but my Ubuntu (19.04) does not do that. It tries to resolves servers from other IP addresses and fails to do so. The /etc/resolv.conf ...
1
vote
1answer
2k views

How to set up DNS and resolv.conf file

I've had Ubuntu Server 18.04 up and running for a couple weeks. For a while my network interface never connected. I eventually got a proper netplan YAML file setup. I can now ping my servers IP, not ...

1
2 3 4 5