resolv.conf - resolver configuration file

learn more… | top users | synonyms

-1
votes
1answer
72 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 ...
1
vote
0answers
100 views

Why would having multiple nameservers in resolv.conf cause nslookup to fail, but a single entry work?

I have a resolv.conf on ubuntu 12.04 that looks like this (IP addresses have been changed to nonsense): search internal.mydomain.com nameserver 205.169.169.193 That nameserver is not authoritative ...
0
votes
1answer
90 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
0answers
198 views

Resolvconf is not updating resolv.conf file when connecting via DHCP

I'm running 13.10, and when I connect to a wired network which is configured in Network Manager for DHCP, I get an address, but resolvconf is not updating /etc/resolv.conf properly. I get an IP ...
0
votes
1answer
128 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" ...
0
votes
1answer
770 views

How do I remove localhost nameserver from resolv.conf

Currently my /etc/resolv.conf reads: nameserver 127.0.0.1 nameserver 10.255.0.101 nameserver 10.255.0.11 and I want it to instead read: search [my domain] nameserver 10.255.0.101 ...
0
votes
1answer
293 views

“domain” in resolv.conf shows the wrong domain name

I have noticed that the "domain" field in /etc/resolv.conf contains the domain name of a network I do not use any more. Is there a program/application available that can search for the right domain ...
0
votes
1answer
549 views

VPN connection DNS server order reversed

In fixing my admittedly somewhat custom setup on my Ubuntu 12.04 workstation, when I connect the VPN connection, the DNS server of it is added to the bottom of /etc/resolv.conf instead of the top, ...
3
votes
1answer
831 views

Changing/Setting DNS settings on boot

I have a situation where i do not give access to a machine, but there may be circumstances where the IP settings need to be changed. I have overcome this by providing a USB stick with a file with both ...
0
votes
1answer
149 views

What's the downside of choosing <Yes> in resolvconf's configuration dialog?

An automatic restart by its Windows host has somehow messed up my Ubuntu (12.04 lts) VirtualBox's resolvconf. (For one thing, /etc/resolv.conf is gone.) Therefore, I ran % sudo dpkg-reconfigure ...
1
vote
2answers
3k views

Adding nameserver in resolv.conf

Im using Ubuntu server edition. In that it's configured to use ip address provided by DHCP. Now, I want to edit the resolv.conf file so that it points to the nameservers that I want to define. ...
0
votes
1answer
1k 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 ...
0
votes
1answer
916 views

search lan in resolv.conf

On 12.04 server, I have static NIC config, but I want to remove lan from the dns search path, or resolv.conf. This is auto-generated as we know. I don't want it to search anything, except for what I ...
1
vote
1answer
679 views

Where has the /var/run/nm-dns-dnsmasq.conf file gone? [duplicate]

In 12.04 I could find out which nameservers are registered by "cat"ing the /var/run/nm-dns-dnsmasq.conf file, but now in 13.04 this file has gone. Where is it or how else can I get this list? ...
1
vote
2answers
1k views

Cannot resolve dns on 12.10 install

I am very new to networking on Ubuntu so I have been struggling with this issue for several hours now. I am running a fresh install of Ubuntu 12.10 and I am unable to resolve DNS when using my ...
0
votes
1answer
689 views

How do I configure IPv4 connection to use a DNS accessible only over IPv6?

I'm trying to make my system resolve IPv4 addresses over an IPv6 connection because my IPv6 connection is more secure (yes, it really is. Long story). The IPv6 nameserver resolves IPv4 addresses; it ...
1
vote
1answer
1k 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 ...
2
votes
2answers
318 views

Why does Ubuntu spends so much time setting the network at startup?

Booting got very slow about the time I began testing Ubuntu 12.10 quantal. I think networking is one of the causes. I suspect networking is doing a lot of work that is unnecessary (since it was very ...
1
vote
0answers
58 views

How do I change /etc/resolv.conf? [duplicate]

I am using ubuntu 12.04. How do I change /etc/resolv.conf file ? Every time I edit it, it automatically gets reset. If I want to retain changes in the file what needs to be done. When I browsed ...
0
votes
1answer
880 views

Easiest way to assign a static IP address for a LAMP server / VBox snapshot

I want to create a basic Ubuntu 12.04 LAMP server under VBox. Once I have it configured with a base Data set I want to Snapshot that and be able to hand it off to my development partners to use. ...
6
votes
2answers
3k views

How do I activate a local caching nameserver?

I want to have strong DNS cache server on my local host (server). So I need to change name server to my localhost. How can I change it? byt this config it seems I must don't change it via editor so ...
1
vote
1answer
1k 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 ...
1
vote
1answer
4k views

The “resolv.conf” file becomes empty after each restart [duplicate]

The "/etc/resolv.conf" file becomes empty after each restart and I lose the DNS data set in it. It only contains the following text each time: # Generated by NetworkManager What should I do?
4
votes
1answer
4k views

What does “sudo echo nameserver 8.8.8.8 > /etc/resolv.conf” do?

Can someone please tell me what sudo echo nameserver 8.8.8.8 > /etc/resolv.conf does? I used to have random dropping of internet connection for 15 seconds to 3 mins but after using this command, ...
4
votes
4answers
15k 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 ...
24
votes
2answers
15k views

How do I get resolvconf to regenerate resolv.conf after I change /etc/network/interfaces?

After updating /etc/networking/interfaces with something very similar to below, how do I get /etc/resolv.conf to update? I tried (as root) resolver -u, service networking restart but they didn't ...
2
votes
2answers
3k views

Changes to /etc/resolv.conf discarded when connecting to a new network

I have upgraded to 12.10 from 12.04 recently and I am having issues with connecting to the Internet. I got an IP address and am able to ping other LAN IPs in the local network but I am unable to ...
1
vote
2answers
4k views

Name resolver doesn't work

Oh, Hello! Tried to fix name resolution on my Ubuntu 12.04 LTS box using answers read here... no effect at all: Tried to move /etc/resolv.conf link away Tried to change hosts order in ...
1
vote
1answer
21k views

How do I set a static DNS nameserver address on Ubuntu Server?

I am trying statically to set DNS server addresses in my Ubuntu server running as virtual machine. I followed all recommendations on official Ubuntu support pages but I simply cannot get rid of my ...
0
votes
2answers
1k views

Network Manager Issues after upgrading to 12.10

I Have upgraded from 12.04 to 12.10 and upgrade went smoothly, but after the restart I was not able to access the Internet and unable to ping any Domain like google.com, though i was able to access my ...
5
votes
3answers
31k views

Editing dns-nameservers in /etc/network/interfaces without a restart [duplicate]

After editing dns-nameservers in /etc/network/interfaces, how do I tell resolvconf(8) to read the new value without restarting networking? (causing a service interruption) The -u option doesn't seem ...
16
votes
4answers
50k views

How do I edit my resolv.conf file?

I have the problem that my Ubuntu machine uses the wrong DNS server. For some reason the machine queries localhost for DNS information. I have added the DNS server in the network settings GUI, but ...
0
votes
3answers
422 views

resolv.conf still the same on new network

When I switch between different networks with different dhcp servers, my resolv.conf file doesn't change (other settings like ip and gw change). Workaround is to remove resolv.conf and run dhclient ...
1
vote
2answers
879 views

Is there a way to make dig report the actual name server rather than 127.0.0.1? [duplicate]

With resolvconf, dig always shows the loopback address. Is there anyway to see which server is actually answering?
0
votes
1answer
815 views

Running 12.04 as a gateway - resolvconf, dhclient and dnsmasq integration

I have a gateway server which is set up originally with Ubuntu desktop 12.04 - perhaps a mistake, I don't know, something to bear in mind. I ripped out network-manager and now want to get ...
1
vote
2answers
702 views

How to configue a DNS server statically?

I am setting up an Ubuntu (12.04) Server with a single statically-configured network interface. Every time I reboot /etc/resolv.conf seems to get reset to empty. Where can I put my DNS server address? ...
2
votes
1answer
317 views

DNS issues with 12.04, apt-get, and openssh

On a fresh Ubuntu 12.04 installation, we noticed that we were having issues with openssh as it was constantly breaking the connection randomly after a period of time. After doing some debugging, we ...
3
votes
0answers
399 views

DNS servers not correctly set in VPN

I have to use an OpenVPN network to work from home, and I occasionally have problems getting DNS to resolve. The problem comes and goes, and I can't reproduce it reliably. I took the OpenVPN config ...
1
vote
1answer
2k views

ubuntu 12.04 server doesn't resolve local domain name

After apt-get upgrade this morning, my Ubuntu 12.04 web server does no longer resolve a domain name hosted on it. I also received the error message: "resolvconf: Error: /etc/resolv.conf isn't a ...
28
votes
4answers
76k views

How to set the fully qualified domain name in 12.04?

I tried adding dns-domain domain.com to /etc/network/interfaces with no luck. When I run hostname -d I get an empty string
44
votes
8answers
104k views

How do I include lines in resolv.conf that won't get lost on reboot?

I have finally migrated to 12.04 from 7.10. I have one last part to complete but I am stumped. I am using Puppet on each server, and in the past I have included a nameserver address and a search ...
4
votes
4answers
4k views

How to prevent Juniper Network Connect breaking DNS resolutions

Juniper Network Connect has been an issue on 64bit linux for quite sometime. I have found 2 solutions to the Java issue (Solution 1 and 2) but now I am struggling with a new issue. Network connect ...
2
votes
1answer
555 views

How do I create a psuedo-domain through bind on Ubuntu 12.04?

I've done some prerequisite reading on DNS and BIND via O'Reilly's book. My goal is to have a local DNS server (i.e. seldon.foundation) that resolves local names (i.e. *.foundation) but forwards the ...
0
votes
1answer
865 views

Kubuntu 12.04 - DNS Issues

Starting yesterday (6/11/12), I've been having many network problems. When requesting a page in chrome, the page hangs on "Sending request" and then will eventually timeout. I'm within a VPN that has ...
2
votes
4answers
1k views

Changing file permissions problem

A few hours earlier I bought a beaglebone and now I am trying to add nameserver 8.8.8.8 (google DNS) to /etc/resolv.conf. However when I open it with vim and try to add my nameserver, it gives me E21: ...
3
votes
5answers
6k views

host is able to resolve a hostname, ssh isn't

I'm trying to connect from a 10.04 system to a 12.04 system via SSH. Strangely enough the rules in resolv.conf seem to take effect only selectively, which leaves me puzzled. Observe: [2] user@mach:~$ ...
1
vote
1answer
1k views

12.04 VPN/resolv.conf issues

According to http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/ resolv.conf contains only a single record for local dnsmasq server When I connect to OpenVPN server using network-manager-openvpn ...
23
votes
4answers
33k views

NetworkManager not populating resolv.conf

I recently upgraded from 11.10 to 12.04, and now NetworkManager isn't populating /etc/resolv.conf when connecting to wireless networks, when it had been working perfectly in 11.10. I'm not seeing any ...
1
vote
3answers
7k views

How to restore/recreate etc/resolv.conf files

I deleted both the resolvconf folder and the resolv.conf file in /etc by mistake, assuming that resolvconf was causing UCK to fail. Now the application has upgraded, fixing the issue, but it says no ...
5
votes
3answers
9k views

Why did I have to remove resolvconf to get dnsmasq to work again?

Yesterday I upgraded to Precise and dnsmasq stopped working. That is, DNS queries to localhost where dnsmasq is listening (127.0.0.1) were refused. Removing resolvconf (apt-get remove resolvconf) ...