Questions tagged [resolv.conf]
resolv.conf - resolver configuration file
88
questions with no upvoted or accepted answers
12
votes
2
answers
16k
views
Getting openconnect vpn to work through network-manager
This is the same issue as here: Getting openconnect vpn to work through gui , but my additions to it were deleted and I was asked to create a new question.
In fact, there are a number of folks asking ...
7
votes
0
answers
22k
views
Issue with resolv.conf - no such file or directory
Having a bit of issue restoring my ubuntu box
When I start it I get the following error
Failed to start Clean up any mess left by 0dns-up.....dns-clean.service"
When booting into recovery mode > ...
4
votes
1
answer
15k
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 ...
4
votes
0
answers
1k
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 ...
4
votes
0
answers
900
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 ...
4
votes
0
answers
531
views
DNS servers not correctly set in VPN
I have to use an OpenVPN network to work from home, and I occasionally have problems getting DNS to resolve. The problem comes and goes, and I can't reproduce it reliably.
I took the OpenVPN config ...
4
votes
1
answer
7k
views
Regenerate resolv.conf from dhclient.conf without releasing/renewing IP?
When I make changes to dhclient.conf such as modifying the DNS search path (so that the changes don't get lost on reboot or DHCP renews), how do I regenerate /etc/resolv.conf? That page suggests ...
3
votes
0
answers
2k
views
Why would having multiple nameservers in resolv.conf cause nslookup to fail, but a single entry work?
I have a resolv.conf on ubuntu 12.04 that looks like this (IP addresses have been changed to nonsense):
search internal.mydomain.com
nameserver 205.169.169.193
That nameserver is not authoritative ...
2
votes
0
answers
2k
views
Ubuntu 21.10: Problems with Internet access / DNS
The question is partly a duplicate of multiple questions, but since I don't have enough reputation for commenting, this is my take on trying to understand the issue and prevent it from repeating.
So, ...
2
votes
0
answers
548
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 ...
2
votes
0
answers
299
views
Ubuntu 17.10 public hotspot problem
So /etc/resolv.conf doesn't help if i put googles DNS 8.8.8.8
I have public hotspot network were this pc has to work and Artful 17.10 can't connect to that through browser.
Error resolving : Name ...
2
votes
0
answers
2k
views
resolv.conf does not work as expected
As you can see here (and in man resolv.conf), there is an option named use-vc for resolv.conf to force Ubuntu to use TCP for DNS queries instead of UDP.
use-vc (since glibc 2.14)
Sets ...
2
votes
0
answers
4k
views
how to update /etc/resolv.conf in ubuntu
I have made changes to "/etc/reslov.conf" and want to changes to take effect. I tried following this but still no effect
$ sudo su
sudo: unable to resolve host accretive-new32GB-ephimeral-new
root@...
2
votes
1
answer
357
views
WiFi connection much slower on 14.04 than windows
I just installed Ubuntu and am very new to it, but my connection is super slow: downloading at a rate of 8kb/s whereas on Windows I download a rate of 4MB/s on a 70mbps internet connection.
How ...
2
votes
2
answers
855
views
Why does Ubuntu spends so much time setting the network at startup?
Booting got very slow about the time I began testing Ubuntu 12.10 quantal. I think networking is one of the causes. I suspect networking is doing a lot of work that is unnecessary (since it was very ...
1
vote
0
answers
69
views
Ubuntu 20.04 temporary failure in name resolution
I have this problem when I try to connect to the internet. The real problem is that I want to update my system, then I realized that I can't access the internet. I modified my resolv.conf file by ...
1
vote
1
answer
1k
views
Ubuntu 22.04 resolv.conf/DNS problem, cannot access internet
My Ubuntu 22.04 computer was working fine. Somehow it crashed, upon reboot, I could not access the internet. Network works fine, able to access other network devices. I traced the issue to what I ...
1
vote
0
answers
325
views
/etc/resolv.conf not getting properly regenerated after VPN disconnect
I'm running Ubuntu 20.04.3 LTS.
After booting, and before connecting to my VPN, my /etc/resolv.conf looks like this:
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a ...
1
vote
0
answers
159
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
0
answers
487
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.
...
1
vote
0
answers
607
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:
# ...
1
vote
1
answer
2k
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
...
1
vote
0
answers
2k
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
1
answer
2k
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/...
1
vote
0
answers
470
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
0
answers
841
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 ...
1
vote
0
answers
2k
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:
# ...
1
vote
0
answers
284
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
0
answers
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
...
1
vote
0
answers
596
views
Why do /etc/resolvconf/resolv.conf.d/base contents not appear in /etc/resolv.conf?
I am using openresolv 3.7.2-1 in Ubuntu 16.04.2 LTS (Xenial Xerus).
Modifying /etc/resolvconf/resolv.conf.d/head and running resolvconf -u
updates /etc/resolv.conf but modifying /etc/resolvconf/resolv....
1
vote
0
answers
4k
views
Ubuntu 16.04 Cannot Resolve Hostname
I am trying to get my OpenStack instance of Ubuntu 16.04 able to resolve DNS. I just created the instance from the given default Ubuntu image and I am trying to apt-get update my machine. However, I ...
1
vote
0
answers
514
views
resolvconf search no longer working in 17.04
I just upgraded from 16.10 to 17.04 when I did I lost DNS access to my domains which I quickly realized in my resolv.conf file in a search line like:
search mydomain.com anotherdomain.com yetanother....
1
vote
0
answers
524
views
Ubuntu ignores my GUI entered nameservers?
I'm on Lubuntu 16.04 and have problems resolving names of my company's network through VPN. It's not so clear to me what has the last say on my system dnsmasq/resolvconf/network-manager... and would ...
1
vote
0
answers
4k
views
How to fix Stale file handle errors?
I receive "Stale file handle" errors (see below) when listing the directory /etc/resolvconf
ls: cannot access 'resolv.conf.d': Stale file handle
ls: cannot access 'update-libc.d': Stale file handle
...
1
vote
0
answers
407
views
OEM install asking for nameservers after oem-config-prepare
I'm trying to create an install image of server 15.10 that I can deploy to a few dozen machines by running through the OEM install, customizing packages and settings, then running "oem-config-prepare"....
1
vote
0
answers
356
views
Unable to use Internet (hosts unknown) after upgrade from 12.04 to 14.04 - DNS Resolv.conf problem
I upgraded my PC two days ago from 12.04 (desktop) to 14.04 (desktop). Since then, I am unable to surf on the internet. More exactly, I have the connection (wired) but not host resolving. I have ...
1
vote
1
answer
123
views
I can't fix the resolution on virtual box for ubuntu 14.04 The resolution is set to 2560x1965
I need help in solving this problem. I have tried doing that through system settings but to no avail I cannot reach the part to change the resolution. Is there another way I can set it to another ...
1
vote
1
answer
2k
views
How do I configure IPv4 connection to use a DNS accessible only over IPv6?
I'm trying to make my system resolve IPv4 addresses over an IPv6 connection because my IPv6 connection is more secure (yes, it really is. Long story). The IPv6 nameserver resolves IPv4 addresses; it ...
1
vote
1
answer
2k
views
12.04 VPN/resolv.conf issues
According to http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/ resolv.conf contains only a single record for local dnsmasq server
When I connect to OpenVPN server using network-manager-openvpn ...
1
vote
2
answers
2k
views
Cannot resolve dns on 12.10 install
I am very new to networking on Ubuntu so I have been struggling with this issue for several hours now. I am running a fresh install of Ubuntu 12.10 and I am unable to resolve DNS when using my ...
0
votes
0
answers
59
views
Ubuntu 23.10 "Temporary failure in name resolution"
Recently my Ubuntu server has started giving me "Temporary failure in name resolution" when using ping or apt update.
The server is plugged in via Ethernet and I haven't had any DNS issues ...
0
votes
1
answer
59
views
something wont allow me to reach websites
I'm connected to WiFi but can't reach web pages, Firefox returns error: Having trouble finding that site. Can't connect to server at github.com (and all other sites I've tried to open).
I tried ...
0
votes
1
answer
159
views
Configuring the DNS client
I use WiFi to connect my Ubuntu os running on a Macbook Air to my router. In order to send traffic, I went to configure its network interface by entering the code:
sudo ifconfig wlp3s0 192.168.1.10 ...
0
votes
0
answers
49
views
Old IP displayed in route table after Ubuntu image clone on new server
I have cloned an existing Ubuntu image off of our AWS server, upgraded to 20.04, and am trying to configure the connection to the outside world. I've been running into a lot issues on the frontend ...
0
votes
1
answer
185
views
Ubuntu DNS nameserver
I am new to Ubuntu, and i have a ubuntu workstation installed with ubuntu 20.04. I edited the \etc\resolv.config file previously and add nameservers 8.8.8.8 and nameservers 1.1.1.1. Now i need to add ...
0
votes
0
answers
224
views
"resolvectl dns" gives empty output
I do on my VPS with Ubuntu 22 server (new, clean setup):
root@vm905709:~# resolvectl dns ens3
Link 2 (ens3):
root@vm905709:~#
(BTW, I did it on the same VPS with Debian and it was the same.)
And ...
0
votes
0
answers
636
views
Temporary failure in name resolution, Ping not working, Missing /etc/resolv.conf
$ ping google.com
ping: google.com: Temporary failure in name resolution
So I checked for /etc/resolv.conf but its missing
$ ll /etc/resolv.conf
lrwxrwxrwx 1 root root 39 Jul 31 2020 /etc/resolv....
0
votes
0
answers
660
views
How to fix failing name resolution
I have a quite new Kubuntu installation and I messed its name resolution up somehow.
root @ asus-f751s ~ # host www.ecosia.org ...
0
votes
0
answers
195
views
Netplan nameservers settings not used without resolv.conf entry
I read here that you're usually not supposed to edit resolv.conf, since it is managed by other services. The server is running Ubuntu 22.04.1 LTS.
However, the DNS on my server is not working unless I ...
0
votes
1
answer
424
views
`resolvconf` changing current DNS. Netplan stict using nameserver
I need to have my own DNS server in the corporate.
I have the following config set for netplan:
network:
version: 2
renderer: NetworkManager
ethernets:
eno1:
dhcp4: yes
...