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

97 questions
63
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,647
  • 4
  • 20
  • 31
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 …
Romain Moreau
  • 101
  • 1
  • 4
10
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
  • 819
  • 4
  • 13
  • 27
10
votes
3 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
  • 184
  • 1
  • 1
  • 10
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
  • 463
  • 3
  • 19
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…
Stephen Ostermiller
  • 4,083
  • 2
  • 37
  • 52
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…
आनंद
  • 205
  • 1
  • 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
  • 1
  • 3
  • 10
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
  • 1,857
  • 2
  • 18
  • 30
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…
Mikey T.K.
  • 473
  • 1
  • 4
  • 19
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
  • 5
  • 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…
JustTrying
  • 337
  • 2
  • 5
  • 11
4
votes
1 answer

Setting DNS via NetworkManager/nm-applet doesn't update the /etc/resolv.conf (17.10)

My /etc/resolv.conf shows # Generated by NetworkManager search [value provided by local network] nameserver 127.0.1.1 The nameserver value is not the one provided by the local network (checked using nm-applet), but the search is. I've removed…
Saftever
  • 403
  • 6
  • 14
4
votes
3 answers

Removed resolvconf can't install anymore

As stated in the title, I removed resolvconf (with reinstalling in mind because name resolution was acting up) but now I'm unable to install this package. I tried two things: apt-get install --reinstall resolvconf resulting in the following…
TheLinuxNoob
  • 53
  • 1
  • 1
  • 4
1
2 3 4 5 6 7