0
votes
1answer
23 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: ...
1
vote
1answer
36 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 ...
0
votes
0answers
16 views

Server with two DHCP NICs: How to define whose nameserver to use?

I have a Ubuntu 14.04 server with two NICs, both get their configuration via DHCP. eth0 is connected to the internet, eth1 is connected to an internal subnet. I want that server to always use the ...
1
vote
0answers
44 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 ...
0
votes
1answer
88 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
81 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 ...
-1
votes
1answer
194 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
3answers
2k 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
0answers
560 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 ...
1
vote
1answer
1k 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 ...
0
votes
2answers
360 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 ...
0
votes
1answer
3k 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
1answer
624 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 ...
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 ...
1
vote
1answer
2k 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 ...
3
votes
2answers
15k 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 ...