Questions tagged [resolv.conf]

resolv.conf - resolver configuration file

Filter by
Sorted by
Tagged with
0 votes
1 answer
48 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 ...
Shawn Shahpari's user avatar
-2 votes
0 answers
23 views

How to Persist Options rotate in Resolv.conf in a dynamically generated file

I am looking for Options to rotate the two nameservers I have and I read options rotate is one way to do so. However my /etc/resolv.conf is a dynamically generated file which is generated via /run/...
s.gupta's user avatar
1 vote
1 answer
149 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 ...
Yehuda Clinton's user avatar
0 votes
0 answers
41 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 ...
jabroni's user avatar
  • 11
1 vote
2 answers
913 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:...
William J. Starck's user avatar
1 vote
1 answer
429 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 ...
William Le's user avatar
0 votes
1 answer
102 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 ...
Mihira Kasun's user avatar
0 votes
0 answers
55 views

Root Server won't boot

I rent a ubuntu server from Hetzner which has been working great for a long time. What happend today is that i entered the command "sudo iptables -F". This made my SSH on port 1994 ...
Anglhz's user avatar
  • 1
0 votes
1 answer
163 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 ...
Akshay's user avatar
  • 1
0 votes
1 answer
266 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 ...
Pythonaire's user avatar
0 votes
0 answers
155 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 ...
Bourbon's user avatar
0 votes
0 answers
303 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....
gameveloster's user avatar
0 votes
0 answers
24 views

No connection despite being properly connected (not solved by changing resolv.conf)

I was trying to install my new earphones, and mid download internet stopped working. I had come across this issue where pinging google.com would lead to « temporary failure in name resolution » My ...
user310148's user avatar
0 votes
0 answers
500 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 ...
Thiemo Kellner's user avatar
1 vote
0 answers
57 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 ...
Claude Mutela's user avatar
0 votes
0 answers
24 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: ...
Codertjay's user avatar
  • 101
-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. ...
George H. Lenzer's user avatar
0 votes
0 answers
38 views

Ubuntu 20.04 temporary failure in name resolution [duplicate]

I am having this issue when trying to connect to the internet. The real problem is that I want to update my system and then I realized that I can't access the internet. I modified my resolv.conf file ...
Claude Mutela's user avatar
0 votes
0 answers
118 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 ...
John Stoneman's user avatar
0 votes
1 answer
5k 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 ...
S M's user avatar
  • 1
0 votes
0 answers
98 views

nameservers in netplan vs nameservers in resolv.conf

What's the difference between the nameservers specified in the netplan configuration file and the nameservers listed under the resolv.conf ?
rugby2312's user avatar
  • 101
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 ...
ogcyborg's user avatar
0 votes
1 answer
329 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 ...
Parsa Noori's user avatar
0 votes
1 answer
3k 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 ...
Yusuf AYHAN's user avatar
0 votes
0 answers
234 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 ...
moys's user avatar
  • 101
0 votes
0 answers
242 views

impossible to repair/reinstall resolve.conf

the link of my /etc/resolve.conf is broken (screen resolve.conf missing), i try to reinstall it but i cant (error when i try to reinstall it) i also try to install it by using wget but my dns missing ...
JUST PAC's user avatar
0 votes
1 answer
2k 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 ...
nehz's user avatar
  • 101
0 votes
0 answers
130 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 ...
Stina Gerard's user avatar
0 votes
0 answers
26 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....
LEMMIIX's user avatar
1 vote
1 answer
675 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 ...
ITnewbie's user avatar
  • 137
0 votes
1 answer
1k 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/...
Paul Wellner Bou's user avatar
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, ...
teppo's user avatar
  • 163
0 votes
0 answers
218 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 ...
Joshua Robison's user avatar
2 votes
3 answers
6k 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. ...
Ledi's user avatar
  • 21
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 ...
geardogg's user avatar
0 votes
1 answer
318 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 ...
tp427's user avatar
  • 1
0 votes
0 answers
3k 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 ...
nick's user avatar
  • 1
1 vote
0 answers
258 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 ...
AndyL's user avatar
  • 111
0 votes
1 answer
407 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 ...
sancho.s ReinstateMonicaCellio's user avatar
28 votes
3 answers
55k 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 ...
Olivier Grégoire's user avatar
1 vote
0 answers
130 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 ...
Charles's user avatar
  • 101
1 vote
1 answer
10k 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.
Mr.Robot's user avatar
1 vote
0 answers
433 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. ...
syzwlop's user avatar
  • 11
0 votes
0 answers
436 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 ...
Holly C.'s user avatar
0 votes
0 answers
75 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 - ...
user avatar
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 ...
Tobia's user avatar
  • 173
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 ...
Sambhav Gore's user avatar
0 votes
1 answer
766 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 ...
champost's user avatar
  • 413
0 votes
0 answers
175 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 ...
badperson's user avatar
  • 259
0 votes
0 answers
310 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 ...
Ciasto piekarz's user avatar

1
2 3 4 5