Questions tagged [resolv.conf]

resolv.conf - resolver configuration file

Filter by
Sorted by
Tagged with
1
vote
3answers
307 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,...
0
votes
0answers
53 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: ...
3
votes
2answers
438 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
301 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
96 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
155 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
58 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
101 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
209 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
126 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
118 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 ...
3
votes
0answers
57 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 ...
0
votes
0answers
52 views

how to resolve DNS server from same network without changing in resolve.conf file

I have configured DNS server in debian on Virtual machine.IP is of N/W- 192.168.50.0/24. My server resolv.conf file root@ser:~# cat /etc/resolv.conf domain cdac.local search cdac.local nameserver 192....
1
vote
1answer
879 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/...
3
votes
0answers
2k 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)) ...
0
votes
0answers
38 views

DNS resolving does not work on customized LiveCD (only IPs can be reached, not URLs)

I followed this tutorial on how to create a customized LiveCD and tested the result in a VM as well as by booting the physical machine with it. When using the LiveCD on a physical machine, I found ...
0
votes
0answers
126 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
57 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
72 views

DNS resolution on local network stopped working “;; connection timed out; no servers could be reached”

I have a DNS server (bind9) on my local network (IP address 192.168.1.11). It is running in a LXD container. For some reason, the resolution is not working anymore when DNS server is queried by a ...
0
votes
0answers
59 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
188 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 ...
0
votes
0answers
44 views

Network stops working when changing DNS on Kubuntu

I'm trying out Kubuntu, and want to use opendns. Once I change it in network manager, the network stops working, permanently. The network in the GUI still says its connected, but nothing will ...
1
vote
1answer
720 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 ...
0
votes
1answer
999 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
1answer
431 views

Network connection drops down after upgrading to Ubuntu 19.04

I can make it connect temporarily by restarting resolv.conf and network-manager services. Any idea what might be going wrong? Here's the additional info while it was working http://paste.ubuntu.com/p/...
2
votes
4answers
6k views

make netplan write resolve.conf

I have an Odroid C2 - a single board computer running 18.04 minimal for ARM. Originally, it was using NetworkManager + systemd-resolved to manage network connections, but since I use only Ethernet and ...
1
vote
4answers
10k views

How to make persistent changes to /etc/resolv.conf Ubuntu 18.10

My resolv.conf file has 'nameserver 127.0.0.53'. I need to replace it with different value or add another nameserver. I erased symlink, replaced it with file. Now it is managed by Network Manager, ...
1
vote
1answer
2k views

DNS not working after reboot

After booting the Ubuntu 18.10 I can't resolve domain names and my /etc/resolv.conf file is looking like this: # Generated by NetworkManager nameserver 127.0.0.53 The $ nslookup google.com - 127.0.0....
0
votes
1answer
473 views

Network issues - resolvconf problem

Internet access is available for a brief second when the browser is initiated, but after a split second, internet connection is unavailable. Searching a bit in the forum, I found out that dpkg-...
2
votes
2answers
4k views

Since Ubuntu 18, why doesn't openvpn's client.ovpn:“dhcp-option DNS xxx.xxx.xxx.xxx” configure /etc/resolv.conf?

I'm trying to setup an openvpn client with Ubuntu 18. I run these magic steps: $ sudo apt-get install openvpn $ sudo apt-get install openvpn-systemd-resolved $ sudo openvpn --client --config ./...
1
vote
1answer
181 views

Name resolution works with host but fails otherwise

Ubuntu bash on Windows 10 I have an issue where the host and nslookup commands resolve all hosts just fine but all other commands fail domain resolution. See below: user@computer:/mnt/c/Users/user$ ...
1
vote
0answers
477 views

Local cURL Not Working on www Subdomain, Ubuntu 18.04, GCE

I have a VPS on GCE running WordPress and Nginx under Ubuntu 18.04. When I $ curl -v majlovesreg.one it returns okay. But when I add www, $ curl -v www.majlovesreg.one within the server it throws ...
0
votes
1answer
164 views

Fail to point my domain through the resolv.conf file

I'm trying to connect my domain with my Ubuntu 18.04 server through the resolv.conf file. I add the domain on cloudflare (it is already active) I create an A record to point the server IP and then I ...
0
votes
0answers
87 views

Not allowed to edit resolv.conf on Ubuntu [duplicate]

I'm trying to edit the resolv.conf file on my ubuntu 16.04 instance, but I'm unable. Here are the first two lines of the file: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
3
votes
2answers
13k 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
334 views

unable to retain 4 nameservers in resolvconf

Here is my /etc/resolvconf/resolv.conf.d/base file contents: # leave commented out above line lin resolvconf...as its listed in another file. options timeout:1 attempts:1 nameserver 10.0.4.15 ...
0
votes
1answer
778 views

How can I refresh resolv.conf after changing the resolv options in the interfaces file?

After bringing up a dhcp controlled instance in AWS I have made changes to the /etc/network/interfaces file for custom nameserver and DNS search strings: auto lo auto eth0 iface lo inet loopback dns-...
0
votes
1answer
696 views

Can't use DNS resolver even though I added to /etc/resolv.conf

I'm using a custom Ubuntu and I can't seem to use a DNS resolver. I updated my /etc/resolv.conf file so it would contain the line nameserver 8.8.8.8: # cat /etc/resolv.conf nameserver 8.8.8.8 but ...
0
votes
2answers
468 views

resolv.conf to localhost

For about 2 hours I've been banging my head against a wall trying to get /etc/resolv.conf to use 127.0.0.1 instead of 127.0.0.53 I've just finished grep -r on my entire partition and cannot find ...
1
vote
1answer
5k views

Unable to start resolvconf-pull-resolved

I've installed resolvconf but for some reason resolvconf-pull-resolved doesn't want to initiate, Any idea what is preventing this, I would think that it's systemd but then again i don't even know what ...
1
vote
1answer
3k views

DNS resolution broke after upgrading to 18.04, resolvconf broken or not fully installed

when googling i find stuff like this: askubuntu resolvconf but /etc/resolv.conf doesn't seem to exist sudo dpkg-reconfigure resolvconf returns that resolvconf is broken or not fully installed ...
2
votes
2answers
10k views

/etc/resolv.conf" E166: Can't open linked file for writing

unable to update resolv.conf file. "/etc/resolv.conf" E166: Can't open linked file for writing ubuntu 18.04.1
2
votes
0answers
799 views

Disabling DNSStubListener causes VM cannot resolve domain names

My VM has been created starting from ubuntu-minimal 18.04 realtebo@192.168.1.224:~$ uname -a Linux pihole3.local 4.15.0-32-generic #35-Ubuntu SMP Fri Aug 10 17:58:07 UTC 2018 x86_64 x86_64 x86_64 ...
1
vote
0answers
1k views

Upon boot resolv.conf is empty, but then eventually is populated; why?

I have a few 17.10 instances running in Amazon EC2 on a VPC. When I freshly reboot a server (unsure if it happens on a cold boot, I have not tested), the /etc/resolv.conf file shows as empty: # ...
6
votes
2answers
5k views

Accidentally deleted /etc/resolv.conf and now can't access any domain

I was getting dns probe finished message in chrome on Ubuntu 18.04 so I looked up on the internet and tried to run the following commands. sudo rm/etc/resolv.conf sudo ln -s /var/run/resolvconf/...
1
vote
0answers
183 views

How does DNS resolving and caching work on Ubuntu?

I'm trying to understand more about DNS resolving and caching on Ubuntu 16.04. What does a standard install of Ubuntu uses (systemd, dnsmasq)? what configuration files are used? What processes are ...
1
vote
0answers
1k views

could not resolve archive.ubuntu.com after fresh install of ubuntu 18.04

I can open Firefox and it works well but when I try to run sudo apt update it returns could not resolve archive.ubuntu.com I've tried changing dns server in wifi settings to 8.8.8.8 and 8.8.4.4 ...
10
votes
4answers
33k views

18.04: Bionic Beaver: enforce static /etc/resolv.conf

Previously, on Ubuntu 16.04, I felt betrayed when an Ubuntu update installed dnsmasq package, configured it, and gave it precedence over my own super-stable, ultra-fast, and own-configured BIND DNS ...
1
vote
2answers
505 views

Resolver: LAN, VPN and WAN name resolution

I have read the man pages on resolv.conf and resolvconf and resolvconf.conf but don't understand everything and feel I'm a tad lost on how I might (ahem) resolve this problem: Scenario: I have a LAN ...
3
votes
5answers
9k 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 ...