Questions tagged [resolv.conf]
resolv.conf - resolver configuration file
249
questions
0
votes
0
answers
57
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 ...
-1
votes
0
answers
36
views
Is it safe to uninstall resolvconf if ubuntu >= 18.04?
I recently installed an ubuntu 20.04 for testing, and noticed it did not have resolvconf installed on it.
Going over the changelogs of Ubuntu, it seems this is part of Ubuntu 18: https://wiki.ubuntu....
0
votes
1
answer
159
views
wsl2: resolv.conf stubbornly being regenerated [duplicate]
My /etc/wsl.conf:
[network]
generateResolvConf = false
And yet my /etc/resolv.conf continues to regenerate.
I specify:
nameserver 8.8.8.8
Only to find it changed to:
# This file was automatically ...
0
votes
1
answer
242
views
Ubuntu 22.04 is connected to internet, but cannot open any website in the browser
HELP!!!
everything was ok until I went to the office and connected my laptop to the Wi-Fi.
then I came home and everything was destroyed!
My Ubuntu is connected to wifi, and the ping of 8.8.8.8 is ok, ...
0
votes
1
answer
94
views
Should I edit resolv.conf?
I am using U20 LTS, our Search Domain changed. I did change that in netplan Config but when I grep for old domain in /etc there is still the old one in resolv.conf.
In the file it says I shouldn't ...
0
votes
1
answer
110
views
DNS resolve sometimes connection timed out
Good day to all. Made a command: nslookup kafka.zxc.stage @dns1.prod And sometimes I get an answer - ;; connection timed out; no servers could be reached
For example, when I run a command every second,...
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
202
views
Resolv.conf is out of control
I have tried God knows how many ways to resolve this and get it under control, but, it doesnt seem to take. I only want the single nameserver in there as 10.0.0.8. Can someone please help.
I have ...
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 ...
1
vote
1
answer
212
views
Ubuntu22 DNS broken after power short
After a blackout, I had to fsck the partition to be able to login. After that, the clock was a few hours off, which caused the internet not to work. Eventually I got the time correct, but the internet ...
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 ...
1
vote
2
answers
5k
views
Temporary failure in name resolution Ubuntu 22.04 -> 22.10
I recently upgraded from 22.04 to 22.10.
Now I get a 'Temporary failure in name resolution' when I try to ping a domain name
a
$sudo resolvectl status shows this for eth0:
Link 3 (eth0)
Current Scopes:...
1
vote
1
answer
902
views
How to prevent warp-cli from overwriting /etc/resolv.conf file
Whenever I connect with warp-cli, it always generates a new resolv.conf file, as a result, if I ever disconnect from warp-cli I lose my internet connection, even though ping 8.8.8.8 and ping localhost ...
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
1
answer
307
views
resolv.h not found in Ubuntu 22.04 (Jammy)
Just wanted to know where is this resolv.h configuration file is located in Ubuntu 22.04 LTS Jammy Jellyfish release.
I can able to find resolv.h and res_state.h in RHEL / Fedora distros but cannot ...
0
votes
1
answer
467
views
bind9, system-resolved and avahi
I've set bind9 with DDNS and following the advice to disable systemd-resolved. All works fine so far.
I need to use avahi, but avahi complaining about missing /etc/resolv.conf (normally generated by ...
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
659
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 ...
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 ...
0
votes
0
answers
25
views
Ubuntu internet error After Upgrade to 20 from 18 [duplicate]
I just made an upgrade on my ubuntu from ubuntu 18 to ubuntu 20 now I cant even ping google.com in my server and i have added 8.8.8.8 to my nameserver but i still get the issues.
ping google.com: ...
-2
votes
1
answer
2k
views
Ubuntu 22.04: The DNS Cache Problem [closed]
INTRO:
I'm sure quite a few people have run into problems with DNS caching. There are plenty of hints and tips for flushing DNS cache in Ubuntu, and the more rare info about disabling it altogether. ...
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
9k
views
Ubuntu 20.04 LTS /etc/resolv.conf is getting overwritten after either netplan apply or server reboot and not able access DNS
Ubuntu 20.04 LTS /etc/resolv.conf is getting overwritten after either netplan apply or server reboot. We are not using networkmanager.
We did the following changes not sure if this will help:
sudo ...
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 ...
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
...
0
votes
1
answer
4k
views
Ubuntu 22.04 has internet and wifi but dns probe finished gives bad config error
I get this error every time I turn on the computer.
enter image description here
sudo systemctl restart NetworkManager.service
every time i run this command it changes the etc/resolv.conf file
...
0
votes
0
answers
302
views
using the value from resolv.conf in a config file
Windows Subsystem for Linux (WSL2) generates as new resolv.conf file on every reboot with the content like so
nameserver 123.45.67.8
in the ~/.bashrc file, I am using this value like below so that ...
0
votes
1
answer
3k
views
Default search domain for /etc/resolv.conf
With systemd-resolved, where does DOMAINS in search come from?
/etc/systemd/resolved.conf
[Resolve]
DNS=1.1.1.1
Domains=lan
/etc/resolv.conf
nameserver 127.0.0.53
search lan DOMAINS <----
lan is ...
0
votes
0
answers
155
views
wrong DNS resolution
I have 2 servers with similar configuration but one of them give me different result from a nslookup command
The first one is working correctly and here is the answer I have:
Server: 8.8.8.8
...
0
votes
0
answers
28
views
resolv.conf file errors [duplicate]
I'm very new to Ubuntu (20.4.4) and for a few days now I can't connect to the internet. Well, I can get a WIFI connection, but there's no internet.
After digging I think I traced it back to my resolv....
1
vote
1
answer
888
views
Ubuntu DNS doesn't failover to the secondary when primary can't resolve?
I'm running an Ubuntu 18.04 in our company. I tried to implement dual DNS server in our LAN.
DNS1: 192.168.1.1 (BIND9),
DNS2: 192.168.1.2 (dnsmasq)
Here is the config file in the client:
### cat ...
0
votes
1
answer
2k
views
Where is the resolvconf database, and how to reset it?
I am running Ubuntu 21.10 Desktop. For my work, I have to jump between different VPNs, and in the past I had to adjust DNS
nameservers for some of them, too. I did this just with editing my /etc/...
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, ...
0
votes
0
answers
261
views
How do I script resolve.conf to force only a specific url to use a DNS in Ubuntu 21.10
Here is my current /etc/resolvconf/resolv.conf.d/head file in Ubuntu 21.10
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR ...
2
votes
3
answers
8k
views
nameserver goes missing from /etc/resolv.conf
I have a problem where the line nameserver 8.8.8.8 just disappears from my /etc/resolv.conf.
This might happen every few days or so and I haven't noticed anything that would be linked to this issue. ...
0
votes
0
answers
4k
views
Ubuntu Server 20.04.3 LTS 00-installer-config.yaml or resolv.conf for DNS settings
So I'm freaking confused. I'm trying to specify local DNS servers for our domain. This Ubuntu Server 20.04.3 doesn't use the old interfaces file. I configured the yaml file for netplan,
# This ...
0
votes
1
answer
372
views
Why is DNS Resolution failing when default gateway is changed to backup circuit?
We have a strange problem that I hope someone can help with. We have a building that has a fiber circuit and a backup Comcast circuit (coax).
The system is setup like this:
Fiber NID (cat6 cable to ...
0
votes
0
answers
4k
views
Changing DNS nameservers with systemd-resolve doesn't persist
let me start by saying that I'm not sure whether I'm running Ubuntu server or Ubuntu desktop, that being said, my 'server' is running on a VPS.
Here is the output of lsb_release -a:
No LSB modules are ...
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 ...
0
votes
1
answer
437
views
Why do two Ubuntu systems in the same network behave differently in DNS resolution?
EDIT (tl;dr)
I seem to have identified part of the problem here, as at least the differences in /etc/resolv.conf and related files are gone.
But I still cannot connect via WiFi, so other difference ...
34
votes
3
answers
75k
views
Make /etc/resolv.conf changes permanent in WSL 2
On WSL 2, when I try to connect to a website, I get an issue:
$ ping www.google.com
ping: www.google.com: Temporary failure in name resolution
Now, to fix this, I had to add /etc/wsl.conf with this ...
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
1
answer
14k
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
0
answers
486
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
0
answers
477
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
0
answers
77
views
Abnormal DNS output
Why does dnsleaktest.com find previous DNS address/multiple new DNS addresses?
Now I decided to try a new one and to my surprise the dnsleaktest.com gives me three diferent outputs as I check my DNS - ...
0
votes
0
answers
1k
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 ...
5
votes
1
answer
3k
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
1
answer
909
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 ...