Questions tagged [resolvconf]

a program that manages the resolv.conf file.

The file is a plain-text file usually created by the network administrator or by applications that manage the configuration tasks of the system. The resolvconf program is one such program on FreeBSD or other Unix machines which manages the resolv.conf file.

Also see .

source

101 questions
64
votes
4 answers

nameserver 127.0.1.1 in resolv.conf won't go away!

I've read that I should have nameserver 127.0.1.1 in my /etc/resolv.conf file only if my machine has its own DNS server. Since it doesn't, having it causes problems. But no matter what I do I can not get rid of it! Here are the things I've done so…
Mehran
  • 1,827
14
votes
4 answers

/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
JackyChan
  • 320
13
votes
5 answers

How to add two IPv6 dns-nameservers into /etc/network/interfaces?

With IPv4, I can add two DNS Name Servers without any problem, like this: "dns-nameservers 8.8.4.4 8.8.8.8" Then on my resolv.conf I got: nameserver 8.8.4.4 nameserver 8.8.8.8 BUT, it does not work for IPv6, only the first IPv6 DNS Server…
ThiagoCMC
  • 869
  • 4
  • 13
  • 28
11
votes
2 answers

DNS Stopped resolving on upgrade to Ubuntu 23.10 and Ubuntu 24.04

I just upgraded my Ubuntu 22.04 boxes to 23.10 and then to 24.04. They stopped resolving DNS queries. They are using systemd-resolved and resolvconf.
David
  • 3,391
10
votes
1 answer

How to completly disable LLMNR?

By default, with LLMNR=yes set in /etc/systemd/resolved.conf, here are the port bindings (using netstat -l -p -a -n): tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 8214/systemd-resolv tcp6 0 0 :::5355 …
9
votes
2 answers

Why is Ubuntu Mate using Google DNS servers?

Update: Looks like it's avahi-dnsconfd that's adding 8.8.8.8 and 8.8.4.4 to my /etc/resolv.conf file. I found this in /var/log/syslog: Jan 4 17:00:21 freewill nm-dispatcher: req:1 'up' [ens33]: start running ordered scripts... Jan 4 17:00:21…
Josh
  • 473
7
votes
3 answers

resolveconf -u keeps adding an unwanted search domain to resolve.conf

I have my desktop computer configured with a static IP address: However, /etc/resolve.conf keeps getting overwritten with: nameserver 127.0.0.1 search localdomain example.com This seems to happen periodically or when I run sudo resolvconf -u. I…
7
votes
2 answers

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/resolv.conf /etc/resolv.conf Above 2 commands executed…
आनंद
  • 215
  • 2
  • 3
  • 7
6
votes
1 answer

Why there are resolvconf.service and systemd-resolved.service services present in ubuntu at the same time

In ubuntu there are two solutions that provide dns cache and configure functionality. One is resolvconf.service (part of resolvconf package). Another is systemd-resolved.service (part of systemd package). Under some circumstances one solution gets…
6
votes
2 answers

Can resolve hostname via dns using `host` but can't ping/ssh/ntp

I'm setting up a local network and have configured a DNS server. I can resolve hostnames by querying the DNS server, but no programs can look them up. I uninstalled libnss-mdns and removed avahi-daemon and even rebooted afterwards. Here are some…
zje
  • 221
6
votes
1 answer

How to disable 127.0.0.53 as DNS?

For some reason, my DNS seems to be set to 127.0.0.53. It's not really a problem, since my local (i.e. on my laptop) DNS seems to redirect DNS requests to the default gateway. But I would like it to not go that way. I suppose I must have installed…
OZ1SEJ
  • 1,323
5
votes
0 answers

How can I repair /run/resolvconf/interface missing error?

An upgrade from Ubuntu 14.04 LTS to Ubuntu 15 failed. Package repair hangs at this point: Setting up resolvconf (1.77ubuntu1) ... Processing triggers for resolvconf (1.77ubuntu1) ... resolvconf: Error: /run/resolvconf/interface either does not…
Bryce
  • 2,007
5
votes
1 answer

How do you update the DNS resolver configuration without causing downtime?

A note New question, since everything else on this matter appears to be outdated and/or conflicting. Hold your close votes, please :) The problem On stock installs of Ubuntu 12 and 14 Server, the going advice seems to be that the way you make DNS…
5
votes
1 answer

How do I control the order of nameserver addresses in resolv.conf?

I need to re-order /etc/resolv.conf to list the nameserver provided by eth1 dhcp before the nameserver provided by eth0 dhcp on a 12.04 server (no NetworkManager). I edited /etc/resolveconf/interface-order and replaced its 'eth*' entry…
CAB
  • 257
  • 1
  • 6
  • 15
5
votes
4 answers

How to edit /etc/resolv.conf on Ubuntu 12.04

I have two network interfaces configured via DHCP. As a result, /etc/resolv.conf is populated with information coming from the DHCP server. How can I edit this file? I know that if I add prepend domain-name-servers 127.0.0.1 to…
1
2 3 4 5 6 7