Questions tagged [resolvconf]

a program that manages the resolv.conf file.

Filter by
Sorted by
Tagged with
0 votes
1 answer
566 views

16.04 - DNS problem when waking laptop up from suspend-mode

I am on Ubuntu 16.04 LTS, Dell XPS 15 9550. Since one week ago (which probably matches last kernel update), every time I wake up my Laptop from suspend-mode, it correctly connects to the WiFi, but ...
user197675's user avatar
1 vote
0 answers
850 views

Error encountered while processing resolvconf

I am using Ubuntu 16.04. Internet is not working in browser or terminal. If I do ping 8.8.8.8 it works: data is sent and received But otherwise no internet works When I do sudo apt-get update I ...
Anand's user avatar
  • 11
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
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
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
0 votes
1 answer
304 views

U16.04- DNS messed up, must edit /run/resolvconf/resolv.conf after booting

Somehow I've clobbered my whole DNS system in 16.04. I now must edit /run/resolvconf/resolv.conf to add a name server such as nameserver 8.8.8.8 or similar. Of course, this always disappears after a ...
aqk's user avatar
  • 301
0 votes
1 answer
770 views

Can't connect to the internet after purging resolvconf

I was trying to fix my internet because it wasn't working randomly, so I used the command sudo apt-get remove --purge resolvconf && sudo apt-get install --reinstall resolvconf Anyways, I got ...
user280339'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
7 votes
3 answers
10k 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
0 votes
1 answer
1k views

From where comes /run/resolvconf/interface/eth0.dhclient file

I'm searching for original configuration file that is the source for generating /run/resolvconf/interface/eth0.dhclient file. That file contain DNS server names and the domain name for my machine. I'...
Michel Wicky's user avatar
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
1 vote
0 answers
45 views

Can't install 15.10 on my laptop

I upgraded from 15.04 and the upgrade seemed to go alright. It won't boot now --- x windows crashes. I tried running it from a root shell after enabling networking, but that doesn't work: resolvconf ...
Justin Smith's user avatar
0 votes
2 answers
1k views

Trying to change the nameservers, I am stuck by the complexity I found

I am trying to change the nameservers being used by my Ubuntu machine (just my laptop, not a server). In the good old days in which I was using Slackware I just needed to edit /etc/resolv.conf and my ...
fstab's user avatar
  • 135
0 votes
2 answers
98 views

DNS only seems to work with VPS provider's servers

On Ubuntu Server 15.04. My /etc/resolv.conf is the only place I can find DNS servers and it looks like this: # Automatically generated by OnApp (2.3.1) domain localdomain nameserver [vps_provider_ip] ...
Daniel's user avatar
  • 11
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
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
0 votes
1 answer
8k views

DNS routing after PPTP connection

I use a PPTP VPN to connect to my work's environment, but don't know how to configure DNS resolution the way it seems appropriate. When I connect via Network Manager I get two servers in /etc/ppp/...
lzkill's user avatar
  • 23
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
63 votes
4 answers
98k 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
0 votes
1 answer
589 views

DNS configured in network manager but not working

I have 2 DNS configured in network manager for my connection (Selected DHCP Addresses only). The DNS are working good if used with nslookup. /run/resolvconf/resolv.conf # Dynamic resolv.conf(5) ...
JorgeeFG's user avatar
  • 1,996
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,309
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
1 vote
0 answers
544 views

Resolvconf doesn't generate nameserver IP when I used openvswitch?

Why can't resolvconf generate dns-server or how to troubleshoot it? root@openstack-controller-01[Standby]:/home/user01# cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) ...
Takayuki Hirano's user avatar
4 votes
3 answers
24k 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
1 vote
1 answer
6k views

Ubuntu 14.04 Server Install Unable to Connect to Network via Ethernet

I have tried so much and cannot seem to configure the ethernet network properly. I've looked at past questions that have similar issues but none of them resolved my issues. Note that my ethernet ...
atavel's user avatar
  • 17
1 vote
1 answer
5k views

How to configure Ubuntu to use all nameservers detected by dnsmasq?

I am having trouble resolving DNS names on an internal VPN network, even though dnsmasq successfully detects nameservers on the VPN. The following is relevant output from /var/log/syslog: /var/log/...
Lupius's user avatar
  • 11
3 votes
1 answer
723 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
1 vote
0 answers
364 views

dns-nameserver entries are ignored after 127.x.x.x

I'm trying to configure a static eth0 in a 1404 vps (lxc container). My interface config is auto eth0 iface eth0 inet static address 192.168.1.1 netmask 255.255.0.0 gateway 192.168.10.10 dns-...
starfry's user avatar
  • 401
0 votes
1 answer
1k views

Where does `resolvconf` gets the IPs of DNS servers from?

On a server machine, I have the /etc/network/interfaces file similar to: # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet ...
Arseni Mourzenko's user avatar
1 vote
1 answer
580 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
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 votes
1 answer
2k views

Ubuntu 12.04 server will not resolve

I am at a loss as to why I can't resolve. I am sure I am missing something and I hope someone can help. I have installed Ubuntu 12.04 server. After setting to static, I can not resolve host names (to ...
Mace's user avatar
  • 9
10 votes
5 answers
62k 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
0 votes
1 answer
521 views

Is it safe to purge resolvconf if you handle /etc/resolv.conf via puppet?

We have multiple servers running 12.04 LTS and 10.04 LTS with static network settings. Is it safe to purge the package resolvconf if you handle /etc/resolv.conf via puppet?
Sebastian's user avatar
  • 103
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
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
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
0 votes
2 answers
1k views

How can I use a local DNS server?

I need to test a few websites on my local network. I've already setup a DNS server with bind9 for my internet domains, and that works. I can also add a few domains to the /etc/hosts file, so I can ...
WitchCraft's user avatar
  • 1,834
0 votes
1 answer
390 views

Why does resolvconf change a domain to a search keyword?

I am trying to get a domain xxx.yy into the /etc/resolv.conf. Before, there are only nameserver entries. I add the domain to the previously empty /etc/resolvconf/resolv.conf.d/base. After running ...
rausch's user avatar
  • 896
2 votes
2 answers
10k 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
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
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
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
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,187
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
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

1
2