a program that manages the resolv.conf file.

learn more… | top users | synonyms

0
votes
0answers
5 views

How can I make OpenVPN run two --up scripts?

Im running uBuntu and I have a OpenVPN connection to my VPN provider and it runs a upscript that starts transmission and a few other things and a --down script that closes it etc. But its leaking DNS ...
0
votes
2answers
1k 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 --...
2
votes
1answer
4k 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 ...
0
votes
1answer
72 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 ...
0
votes
1answer
73 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'...
1
vote
0answers
738 views

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

An upgrade from Ubuntu 14.04LTS to Ubuntu 15 failed. Package repair hangs at this point: Setting up resolvconf (1.77ubuntu1) ... Processing triggers for resolvconf (1.77ubuntu1) ... resolvconf: ...
1
vote
0answers
39 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 ...
0
votes
2answers
123 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 ...
0
votes
0answers
19 views

dhcp default behavior

Ubuntu 15.04 (but I think that the question may be also "relevant" with previous and may be following releases) When I start my laptop, the initial dns/resolv conf looks like : # Generated by ...
0
votes
2answers
31 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] ...
3
votes
0answers
210 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 ...
1
vote
1answer
207 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 ...
5
votes
4answers
27k 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 ...
0
votes
1answer
2k 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/...
2
votes
1answer
299 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,...
15
votes
2answers
18k 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 ...
0
votes
1answer
57 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) ...
2
votes
0answers
347 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) ...
3
votes
1answer
606 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 ...
1
vote
0answers
139 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) ...
1
vote
1answer
4k 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 ...
0
votes
1answer
3k 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/...
3
votes
1answer
295 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 ...
1
vote
0answers
240 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-...
0
votes
1answer
274 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 ...
1
vote
1answer
399 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 ...
0
votes
1answer
2k 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 ...
-1
votes
1answer
1k 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 ...
3
votes
3answers
12k 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, it does ...
0
votes
1answer
229 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?
0
votes
1answer
1k 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" ...
1
vote
2answers
424 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 ...
0
votes
2answers
705 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 ...
1
vote
1answer
3k 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....
0
votes
1answer
245 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 ...
0
votes
1answer
5k 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 ...
2
votes
0answers
668 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 ...
2
votes
1answer
2k 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-...
3
votes
3answers
844 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 ...
1
vote
1answer
3k 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 ...
5
votes
2answers
24k 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-...