Skip to main content

Questions tagged [resolvconf]

a program that manages the resolv.conf file.

Filter by
Sorted by
Tagged with
63 votes
4 answers
99k views

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 ...
Mehran's user avatar
  • 1,787
12 votes
4 answers
63k views

/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's user avatar
  • 304
10 votes
5 answers
63k views

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, ...
ThiagoCMC's user avatar
  • 829
10 votes
1 answer
7k views

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 ...
Romain Moreau's user avatar
9 votes
2 answers
2k views

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]: ...
Josh's user avatar
  • 463
7 votes
2 answers
15k views

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/...
आनंद's user avatar
7 votes
3 answers
11k views

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 ...
Stephen Ostermiller's user avatar
6 votes
1 answer
4k views

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 ...
Pavel Moukhataev's user avatar
6 votes
2 answers
34k views

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-...
zje's user avatar
  • 221
5 votes
1 answer
19k views

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 ...
OZ1SEJ's user avatar
  • 1,255
5 votes
4 answers
35k views

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 ...
JustTrying's user avatar
5 votes
1 answer
6k views

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-...
CAB's user avatar
  • 257
5 votes
1 answer
9k views

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 ...
Mikey T.K.'s user avatar
5 votes
0 answers
1k 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 ...
birdman's user avatar
  • 51
5 votes
0 answers
7k views

How can I repair /run/resolvconf/interface missing error? [closed]

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: ...
Bryce's user avatar
  • 1,937
4 votes
3 answers
25k views

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 --...
TheLinuxNoob's user avatar
4 votes
1 answer
10k views

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 ...
Saftever's user avatar
  • 433
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 ...
xyzzyrz's user avatar
  • 886
3 votes
3 answers
910 views

Upgraded from 10.04 to 12.04, lost internet connectivity

Since I upgraded my HP Proliant Server from Ubuntu 10.04 to 12.04, I am unable to: ping google.com ping 8.8.8.8 browse the internet with Firefox git fetch origin cap deploy from a remote machine I ...
Dean Richardson's user avatar
3 votes
1 answer
726 views

dns not resolving

I upgraded to ubuntu 14.04 and DNS no longer resolves. I've got a static IP in /etc/network/interfaces with dns-nameservers and dns-search lines. My resolv.conf file appears to be the correct ...
brains's user avatar
  • 41
3 votes
1 answer
3k views

ubuntu 18.04 DNS issue

I have an ubuntu 18.04 server running apache/mysql that can't seem to resolve DNS anymore. I didn't do anything, but maybe I missed something when checking the server after the last update. Here's ...
grimnebluna's user avatar
2 votes
1 answer
2k views

Why is the content of /run/resolvconf/interface/NetworkManager changed every time I reboot?

I have some issue with my dns configuration, so I googled and picked up a solution by 1) editing /run/resolvconf/interface/NetworkManager and 2) running sudo resolvconf -u. This helped a little bit,...
philton's user avatar
  • 33
2 votes
2 answers
23k views

openvpn via command line: permission denied to update resolv.conf

This might be a duplicate of this question, but I am not proficient enough in networking matters to tell for sure. I use a VPN service named Cyberghost to stay private on the internet. After facing ...
Alex's user avatar
  • 81
2 votes
1 answer
630 views

resolvconf-pull-resolved.service and plymouth-quit-wait.service slows down my ubuntu 20.04

The problem is resolveconf-pull-resolved.service and plymouth-quit-wait.service are taking a lot of time to start making the overall boot process slow. The first one upon searching, I found various ...
Aaryan BHAGAT's user avatar
2 votes
1 answer
2k views

resolvconf Error when running dhclient in recovery mode

when I go to recovery mode and I want to activate networking, I usually type: dhclient eth0 After this, I can for example ping to www.google.com. However, I get the following error: RTNETLINK ...
Santiago's user avatar
  • 162
2 votes
1 answer
5k views

What is the preferred way to setup resolvconf on Ubuntu in ec2?

I had been using Ubuntu 10.04.3 or 11.04. In either of these versions, hostnames like ec2-123-45-6-7.compute-1.amazonaws.com would resolve to a private in the 10.0.0.0/8 range. After upgrading to 12....
skrewler's user avatar
  • 125
2 votes
2 answers
11k views

Resolv.conf: presence of 'search localdomain' fails correct DNS lookup

Scenario: Attempt to resolve host named 'puppet' in domain 'puppet.mydomain.com' Resolution is successful if the resolv.conf file does not include search directive for 'localdomain' and only the ...
Alex's user avatar
  • 123
2 votes
0 answers
3k 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 ...
Ebrahim Ghasemi's user avatar
2 votes
0 answers
278 views

NetworkManager problem with dns servers

I've got two network cards, one is onboard and the other is an added PCI card. I also created a bridge interface for my KVM virtual machines to use, so my desktop (host) uses the enp3s0 interface and ...
Damon Hill's user avatar
2 votes
0 answers
2k views

Where is the content of my generated resolv.conf coming from?

I have a Ubuntu 14.10 server with resolvconf installed. In /etc/resolvconf/resolv.conf.d/base, I have: nameserver 127.0.0.1 In /etc/resolvconf/resolv.conf.d/head, I have: # Dynamic resolv.conf(5) ...
F21's user avatar
  • 4,329
2 votes
0 answers
1k views

Resolvconf is ignoring domain-names received by dhcpclient

My workstation is connected to a network which uses dhcp for IP-configuration. I'm running 12.04 which is using /etc/network/interfaces for the network configuration. For eth0 I have: auto eth0 iface ...
Patrick B.'s user avatar
1 vote
3 answers
8k views

DNS settings messed up and resolvconf uninstalled

Yesterday I messed up my network settings on Lubuntu 16.04. Wifi had problems and I thought it was my problem, it turned out later, that the problem was a temporary problem with the central wifi, it ...
Paguro's user avatar
  • 11
1 vote
1 answer
8k views

DNS suddenly broken in Ubuntu VirtualBox

My Ubuntu 12.04 VirtualBox (Windows 7 host) suddenly stopped connecting to remote servers unless I refer to them by their IP addresses. I'm looking for a way to fix this problem (or at least to ...
kjo's user avatar
  • 1,177
1 vote
3 answers
13k views

Is /etc/resolv.conf a symbolic link, and are changes to it persistent?

Is /etc/resolv.conf a symbolic link? If so, how can one make persistent changes to the DNS?
yoyo_fun's user avatar
  • 181
1 vote
1 answer
5k views

How to execute resolvconf without warning?

I configured NetworkManager, so that it maintains symbolic link from /etc/resolv.conf to file in its directory - /var/run/NetworkManager/resolv.conf ls -l /etc/resolv.conf ... /etc/resolv.conf -> /...
user avatar
1 vote
2 answers
6k views

/run/resolvconf/resolv.conf ubuntu 18.04

I do need some clarifications for resolv.conf handling on ubuntu 18.04.02 My host is configure to use the old interfaces files. But the interface itself is configured to use dhcp auto enp2s0 iface ...
stackelk's user avatar
1 vote
1 answer
9k views

DNS resolv config

Let me narrate you my small story: So right now, I am using an Ubuntu 16.04 LTS distribution in my lab. After installing Ubuntu, I tried just check my Internet access by googling. However that was ...
Manolis Vlatakis Gkaragkounis's user avatar
1 vote
1 answer
3k views

dhclient.conf supersede stanzas ignored

I'm putting the following lines at the top (also tried the bottom) of my dhclient.conf file: send host-name "hostname"; supersede domain-name "my-domain-name" supersede domain-search "my-domain-name" ...
David Pfeffer's user avatar
1 vote
1 answer
5k views

DNS resolution broke after upgrading to 18.04, resolvconf broken or not fully installed

when googling i find stuff like this: askubuntu resolvconf but /etc/resolv.conf doesn't seem to exist sudo dpkg-reconfigure resolvconf returns that resolvconf is broken or not fully installed ...
user301538's user avatar
1 vote
1 answer
3k views

DNS/systemd-resolve/dnsmasq/resolvconf problems. Errors in syslog. 18.04

I'm trying to resolve these two repeating errors in /var/log/syslog... nf_conntrack: nf_conntrack: table full, dropping packet Maximum number of concurrent DNS queries reached (max: 150) Looking at ...
heynnema's user avatar
  • 71.3k
1 vote
1 answer
3k views

Setting pdnsd server

I installed pdnsd: it is correctly working. My problem is that it ignores the opendns server I provided in the "server" section of pdnsd.conf labeled "resolvconf": instead of it, it uses the server ...
brad's user avatar
  • 201
1 vote
1 answer
358 views

DHCP dns stopped working on ubuntu 18.04

I have setup new ubuntu 18.04 server which has dhcp assigned ip and dns 192.168.120.62 , after setup when i checked i waw able to get result using nslookup for local dns entries of 192.168.120.62 but ...
kunal borse's user avatar
1 vote
1 answer
996 views

DNS resolving of localhost subdomains stopped working after resolvconf update

For years I'm using Ubuntu (currently on 18.10) to develop PHP applications on domains like foo.bar.localhost for local testing. These domains were resolved to 127.0.0.1 and handled by Apache 2.4. ...
foobar's user avatar
  • 693
1 vote
2 answers
728 views

Resolver: LAN, VPN and WAN name resolution

I have read the man pages on resolv.conf and resolvconf and resolvconf.conf but don't understand everything and feel I'm a tad lost on how I might (ahem) resolve this problem: Scenario: I have a LAN ...
Validator's user avatar
1 vote
1 answer
581 views

Static ip but dynamic nameservers?

Trying to change nameserver' settings for a Ubuntu-13.04 server I came upon this situation! /etc/network/interfaces : # This file describes the network interfaces available on your system # and how ...
ionreflex's user avatar
  • 629
1 vote
2 answers
3k views

Cannot access internet due to tampering with resolv.conf

I'm running Ubuntu 13.10 and attempted to fix an issue with running wicd through the instructions from this answer. After following these instructions, the program wicd works, and my wired and ...
Omar's user avatar
  • 11
1 vote
2 answers
296 views

Can't resolve any DNS addresses, resolveconf is not installed (and can't be installed)

I just updated to 24.04. Ever since, my machine hasn't been able to resolve any DNS names, making it impossible to update or install any packages. I've followed numerous forum posts saying to edit ...
meatlocker's user avatar
1 vote
1 answer
6k views

Ubuntu 22.04 wipes out /etc/resolv.conf symlink on reboot!

I'm trying to transition from an older Debian 10 container to a fresh Ubuntu 22.04 container. When re-installing and configuring everything I'm having a heck of a time with resolvconf. For some reason,...
Jason's user avatar
  • 11
1 vote
0 answers
1k views

resolvconf-pull-resolved.service is a disabled or a static unit

I am having a problem with the WIFI connection. The installed os is Ubuntu 18.04 and I got the following error on the browser. Error on Browser: activation of network connection failed Based on the ...
Kahraman's user avatar
1 vote
0 answers
170 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
  • 111