resolv.conf - resolver configuration file

learn more… | top users | synonyms

0
votes
1answer
23 views

KVM DNS Access guest by using it's hostname (ubuntu 14.04)

I have a guest machine running ubuntu 14.04 on an ubuntu 14.04 host running KVM/QEMU. Everything works fine except for one thing. Given my guest's hostname is virtual-machine-1 I would like to be able ...
1
vote
1answer
28 views

I can't fix the resolution on virtual box for ubuntu 14.04 The resolution is set to 2560x1965

I need help in solving this problem. I have tried doing that through system settings but to no avail I cannot reach the part to change the resolution. Is there another way I can set it to another ...
0
votes
1answer
39 views

How to set DNS exclusively for a Network Namespace

I've created a network namespace. I thought there was a resolv.conf file for each namespaces created but it's not the case on my system (Ubuntu 14.04). I don't have the following path ...
1
vote
2answers
69 views

Connecting to internet over wifi or tether, DHCP does not set DNS [duplicate]

sorry for bad english. I'm using Ubuntu 14.04 64 bit and I have a strange internet connection problem. When I'm at work I can access internet via DHCP wireless and wired without problems. When I'm at ...
0
votes
2answers
135 views

I messed up my /etc/hosts and /etc/resolv.conf files, now my network doesn't work. How can I reset it?

I tweaked my system by installing ftp server and a dns server. I think in the process I messed up resolv.conf and the hosts file. Now I want to restore it but am not able to do so. I am using ...
0
votes
2answers
270 views

Problem with resolv.conf

I made these changes to resolv.conf today and when i restarted my laptop i cannot connect to the internet. It says server cant be found. These commands were given to me by unoDNS when trying to delete ...
0
votes
0answers
28 views

Trouble with resolv.conf [duplicate]

I recently tried to delete unoDNS from my laptop. A member of their team gave me some commands to input in a terminal. It looked like it changed the nameserver address back to 8.8.8.8. But after I ...
0
votes
1answer
229 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
vote
0answers
57 views

Prevent some interfaces from editing resolv.conf

I am trying to connect a camera to the internet. To do this, I have two devices: lte0 and wlan0. The camera (Sony NEX 5) is controlled over wlan0, and lte0 is the LTE connection. My ...
-1
votes
1answer
158 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 ...
2
votes
0answers
367 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
113 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
322 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
228 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
1answer
2k 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
609 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
662 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
1k 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
169 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 ...
2
votes
2answers
4k 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
2k 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
1k 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
870 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
2k 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
777 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
2k 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
403 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
1k 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
4k 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
6k 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
5k 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
18k 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 ...
29
votes
2answers
23k 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
4k 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 ...
3
votes
3answers
24k 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 ...
6
votes
3answers
43k 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 ...
17
votes
4answers
61k views

How do I edit my resolv.conf file to fix wrong DNS problem?

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
428 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
1k 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
871 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
709 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
338 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
424 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 ...
38
votes
4answers
96k 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
53
votes
10answers
126k 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 ...