-1
votes
1answer
81 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
107 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
0answers
201 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
795 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
554 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
842 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
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 ...
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
691 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 ...
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 ...
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?
24
votes
2answers
16k 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 ...
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 ...
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 ...
1
vote
2answers
888 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
816 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 ...
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
868 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: ...
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 ...
2
votes
0answers
354 views

/etc/resolv.conf managed by NM? [duplicate]

Possible Duplicate: How do I add a DNS server via resolv.conf? I discovered (with great disappointment) that in 12.04 the file /etc/resolv.conf no longer contains the real nameserver IP, ...
76
votes
13answers
238k views

How do I add a DNS server via resolv.conf?

Is /etc/resolv.conf useless in Ubuntu 12.04 LTS (Precise Pangolin)? I see that the DNS server information is stored in NetworkManager now. The nmcli command line tool can list that for you. If I ...
10
votes
3answers
10k views

DNS server address no longer stored in resolv.conf; where is it now?

I sometimes switch DNS servers, using the NetworkManager indicator in the taskbar; this worked fine with previous versions, and actually works fine with 12.04, too, except for one thing: I use Conky ...
0
votes
1answer
485 views

Different nameservers for different networks

I use Ubuntu 12.04 on my work laptop. Currently I live abroad and I only have this one computer, and I take it home after work to use as my personal computer. The problem is that the nameserver used ...
8
votes
3answers
3k views

Cannot resolve custom domains when VPN is up

I just upgraded to 12.04 from 11.10, and now I can't resolve custom domains over my VPN (e.g. *.dev.local). It worked splendid before the upgrade. Both my /etc/resolv.conf and route -n looks exactly ...
0
votes
4answers
963 views

why is chrome resolving domain names differently than ping which is resolving differently than ssh?

When I go to me.com in chrome it tells me that domain can't be found. When I go to me.com with ssh, it connects to that server. When I try to ping me.com it pings localhost. I want me.com to ...
0
votes
0answers
61 views

Updating my resolv.conf manually [duplicate]

Possible Duplicate: Why does my resolv.conf file get regenerated every time? I need to update my resolv.conf, for this reason. So I simply nano'd the file and edited (added the ...
1
vote
1answer
2k views

how to configure two Nic for dns & resolv.conf &how to eth0 DNS forwards to eth1 & gw

I have two NICs. Here's my /etc/network/interfaces: auto eth0 iface eth0 inet dhcp //for internet auto eth1 iface eth1 inet static //for lan address 20.X.X.X.X netmask 255.255.255.0 broadcast ...
14
votes
7answers
8k views

Why does my resolv.conf file get regenerated every time?

My /etc/resolv.conf file gets regenerated every time, making me loose Google DNS servers when I reconnect my 3G modem. For changing the DNS settings, I looked at ...
7
votes
1answer
10k views

Why does my name resolution hit the DNS even with a hosts file entry?

I'm running Ubuntu 10.04.2 LTS Desktop. Being a web developer, naturally I created a "me.com" in my /etc/hosts file. Unfortunately, my name resolution is going out to the DNS before first checking my ...
1
vote
3answers
2k views

DNS server configuration is changed automatically

The default DNS server was running too slowly, so I changed the configuration by adding a nameserver. /etc/resolv.conf : nameserver 202.102.192.68 nameserver 210.45.240.99 domain ***edu.cn search ...
7
votes
1answer
1k views

Dynamic /etc/resolv.conf file?

I have several Ubuntu servers. Two of them are working as DNS servers. One of my name servers (let's call it DNS1) went down for maintenance. I sill had another DNS server running (DNS2). All other ...