The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
25 views

Unkown File permissions for /etc/resolv.conf

I am unable to ping any url (for example www.google.com), neither any of the website is working. However, I can ping static IPs (E.g. 8.8.8.8). A little debugging showed that the issue is /etc/resolv....
0
votes
1answer
75 views

resolvconf coupled with dnsmasq and lxd

Q: How do I programmatically add a persistent resolvconf entry for my lxd based dnsmasq? I have a very base installation of Ubuntu 16.04 server. I have installed and configured lxd and created a ...
0
votes
0answers
21 views

RHEL resolv.conf search domains ordering constraints?

I can't seem to find anything (Google, man pages) on what the order of the search line should be used when searching for a host against DNS with multiple levels of subdomains. host and dig work ...
3
votes
1answer
39 views

Search option in resolv.conf getting overwritten by prepend statement in dhclient.conf

I have setup a DNS server for my department which is running FreeBSD 10.2. It is currently connected to the campus internet and receiving its address via dhcp, so /etc/resolv.conf looks like this: #...
-1
votes
1answer
78 views

bad localhost resolution on linux [closed]

$ dig @127.0.0.1 localhost $ dig @127.0.0.1 localhost. ;localhost. IN A ;; ANSWER SECTION: localhost. 604800 IN A 127.0.0.1 ;; AUTHORITY SECTION: localhost. 604800 IN NS ...
1
vote
0answers
45 views

NSD/BIND — how to log dns resolver ip and edns

Do BIND and NSD support verbose logging of the DNS resolver's ip address for a query? If the vanilla releases do support that, what's the best practice for enabling/configuring that functionality. ...
0
votes
1answer
51 views

Debian Remove a Line from Resolv.conf

I was trying to change the Google DNS servers to OpenDNS in my resolv.conf file and accidentally added them incorrectly. Now my resolv.conf file looks like this: # Dynamic resolv.conf(5) file for ...
-1
votes
1answer
25 views

resolve a previously failing url without editing resolv.conf

I want to ping a some website from my machine. But currently its failing to resolve ubuntu % nslookup somewebsite.in ...
0
votes
1answer
155 views

Is `127.0.0.1` a special token for Ubuntu 14 LTS `resolvconf` when DHCP pushes DNS settings?

Dear Linux Graybeards, Is 127.0.0.1 a magic token for resolvconf in Ubuntu 14 LTS when using DNS settings pushed by DHCP? I'm using Ubuntu 14.0.3 (LTS) in AWS (ami-0f8bce65) with custom DNS settings ...
2
votes
2answers
105 views

DNS lookups eventually become consistently slow in long lived ruby process

I have a Ruby application running on an Ubuntu server, and this application frequently has to make HTTP requests to other services. Some of those services are on an internal domain, some are ...
0
votes
1answer
176 views

How to automatically add localhost DNS server (dnsmasq) to resolv.conf

I did the steps at https://wiki.archlinux.org/index.php/OpenVPN#DNS to set up DNS with OpenVPN so that anytime the OpenVPN connects or disconnects, it automatically updates /etc/resolv.conf. The ...
5
votes
2answers
435 views

How to persist resolv.conf options such as rotate, timeout in CentOS?

CentOS will wipe out any manual changes made to /etc/resolv.conf periodically. The defaults in Linux are poor in terms of failing over in a reasonable time (query name servers in same order every time,...
3
votes
1answer
213 views

OpenVPN and systemd-resolved

How does one use the dns pushed via an openvpn server with systemd-resolved ? Before I decide to 'upgrade' to systemd-networkd. I could use some variant of openvpn-resolv-conf script to call ...
0
votes
0answers
68 views

Sendmail has stopped working after editing resolv.conf. Why?

I previously resolved an issue with upstream timeout errors by changing the nameservers in my resolv.conf to Google's nameservers. While the upstream timeout and 504 errors were sorted by doing this, ...
1
vote
2answers
104 views

Linux DMZ server internal and external DNS resolving [duplicate]

I have a mailserver that should resolve everything from mydomain.com to an internal DNS server and everything else (to send email) from an external DNS server. The internal DNS server can't resolve (...
2
votes
2answers
651 views

Puppet: How to set line order within a file?

Linux servers in my company are managed by Puppet. There's a DNS module which configures /etc/resolv.conf on all servers based on physical location which is configured as a facter value. As you know ...
1
vote
1answer
70 views

nameserver not falling back

I'm trying to use several nameserver, each one is able to resolve some hosts the other does not. Here is my resolv.conf : options timeout:1 # This one is used to resolve hostnames for servers ...
1
vote
1answer
170 views

resolv.conf “search” ignored

my /etc/resolv.conf file is quite basic, something like: # Generated by NetworkManager domain subdomain.example.org search subdomain.example.org nameserver 192.0.2.100 nameserver 192.0.2.200 From ...
0
votes
0answers
41 views

tcpdump returns no multicast traffic when a DNS entry is being used in resolv.conf

I have noticed on a 6.5 Centos host that when I am using tcpdump to determine if a multicast source is being received/ sent that it does appear to get any results when I have a DNS registered in the /...
0
votes
1answer
208 views

Debian 6 Not resolving hostnames

Regards, I've run into the following issue recently following an intrusion in to my VPS: Although resolv.conf is properly configured with the correct DNS servers the VPS can not resolve hosts. I ...
-3
votes
1answer
217 views

When to use resolv.conf? [closed]

I understand resolv.conf file is used by Linux to resolve DNS lookup but I cant figure if I need to edit this file in my case. My Scenario: I am not hosting the DNS on my vps machine. I have ...
4
votes
3answers
1k views

Sendmail and nslookup resolution problems

On my Ubuntu server I've been trying to get the PHP mail() function to work by installing sendmail (I also have postfix installed but I gave up on it). However, when I try to send mail it gets queued ...
0
votes
2answers
661 views

127.0.0.1 in /etc/resolv.conf file (Debian)

I am not running DNS server on my Debian machine. However, file resolv.conf contains the following lines: nameserver 127.0.0.1 nameserver 213.186.33.99 search ovh.net Is it normal to have line ...
1
vote
2answers
223 views

Randomize DNS Nameservers

Is it possible to list multiple nameservers in /etc/resolv.conf on a Unix system and resolve dns queries using a random nameserver when making a dns query and not just the first one?
-1
votes
2answers
249 views

What is the difference between search domains and nameservers? [closed]

I've usually seen two kinds of entries in /etc/resolv.conf on certain servers. The domain-name-servers entry specifies which DNS to use for resolving hostnames to IP addresses. Recently I saw an entry ...
2
votes
1answer
1k views

How to set DNS exclusively for a Network Namespace in Linux

I've created a network namespace in Linux. I thought there was a resolv.conf file for each namespaces created but it's not the case on my system. I don't have the following path /etc/netns/...
1
vote
3answers
358 views

Rotating DNS servers specified by DHCP

I've got an OpenStack cluster running with about 200 CentOS instances and I've gotten a complaint from my hosting provider that the DNS traffic is getting to be too much for their servers. To address ...
0
votes
1answer
121 views

Can winbind influence name resolution in Linux

I have to Linux boxes on vagrant, the have the same /etc/resolv.conf and /etc/hosts, but one is using winbind to do SSO with Active Directory. When I try to resolve the domain controllers with: dig ...
1
vote
2answers
1k views

Debian resolver adds domain and I don't want that

I have the following problem: if I ping a non existent domain name I get a reply from an IP address # ping nosuchdomain.common PING nosuchdomain.common.myrealdomain.com (192.168.1.1) 56(84) bytes of ...
7
votes
2answers
672 views

Why nslookup doesn't use mdns while ping do?

In dnsmasq.conf: address=/local/127.0.0.1 In resolv.conf: # Generated by NetworkManager domain example.com search example.com nameserver 127.0.0.1 nameserver 10.66.127.17 nameserver 10.68.5.26 I ...
-2
votes
1answer
200 views

domain-search value on my clients computer [closed]

I need help with configure my DNS and DHCP server - I have spent some time searching on google but have not got any informations regarding my problem. I have an Ubuntu 12.04 server running and use ...
1
vote
1answer
80 views

Non woking domain parameter at resolv.conf

I have inserted domain test into resolv.conf and have then expected that # getent ahosts srv # getent ahosts srv.test 1.1.1.1 STREAM srv.test 1.1.1.1 DGRAM 1.1.1.1 RAW ...
2
votes
3answers
2k views

In resolv.conf, why do my search domains have a period after them?

What's the difference between server.com and server.com. in the search section of an /etc/resolv.conf file? user@host /etc/sysconfig/network-scripts $ head -n 3 /etc/resolv.conf # Generated by ...
0
votes
1answer
215 views

dhcp dns not resolving queries

I having been working through a lot issues with a setup and I reached another where I may have been staring at it for too long to see the issue. The server is reachable from the outside world. ...
6
votes
2answers
8k views

Adjusting how long Linux takes to fail over to backup DNS server listed in resolv.conf

Currently I'm using the plain vanilla linux configuration for resolv.conf... something like: nameserver 123.123.123.123 nameserver 8.8.8.8 When 123.123.123.123 goes down DNS queries become ...
1
vote
1answer
151 views

What is the purpose of using resolve.conf along with authoritative DNS?

I have a Debian 7 server that I just installed and configured. Linode is the provider. There is a file called /etc/resolv.conf that contains "members xx.xx.xx" and 2x "nameserver xx.xx.xx.xx" lines. ...
7
votes
4answers
13k views

NetworkManager is not changing /etc/resolv.conf after openvpn dns push

I've got a problem which is "NetworkManager is not updating /etc/resolv.conf after openvpn connection with dns push configured". Here's my openvpn server config: (I've changed domain name to ABC.COM ...
2
votes
1answer
28k views

DNS server can't resolve localhost name

I'm trying to set up an Apache server on my RHEL6.4 vm and can't because dnsmasq can't recognize the hostname for some reason: nslookup rhel64.example.com Server: xxx.xxx.xx.1 Address: ...
-1
votes
2answers
74 views

nameserver in resolv.conf, 1 unavailable [closed]

I have my company network and my home network configured in linux networking, using an alias interface. (pinging IPs works.) Now in resolv.conf I have timeout 1 nameserver 10.1.1.1 nameserver 192....
0
votes
1answer
152 views

Get local and remote (via VPN) DNS names to resolve

Here's the scenario: Network 1 has its own DNS server, and does a great job of resolving local network names, its also set as a caching server, so it will resolve names out on the general internet. So ...
0
votes
2answers
3k views

resolv.conf search suffix limited to six domains and 256 characters

Is there a way to increase the resolv.conf search suffix limitation beyond six domains and 256 characters? This is an issue for an environment that has well over six domains to consider. I realize ...
0
votes
2answers
2k views

Why don't my server query the 2nd entry in my resolv.conf?

I have a CentOS 6.4 box. As with all the other boxes in this rack, it has two NICs: one internal (192.168.1.x) and one external (visible to the world). We run our own cacheing resolver (using ...
-1
votes
4answers
1k views

How to set a per-user resolv.conf

Is there a way to specify a per-user resolv.conf? What I found are vague references to the possibility of having a per-user host file, but I'm not interested in that, I'm actually interested in a ...
0
votes
3answers
941 views

Preferred way to add a new name server to a host in Red Hat or CentOS

I am managing a particular host machine, and I would like to locally add a new name server for it to query (i.e. not changing its name server settings via the dhcp server). It seems that there are ...
0
votes
1answer
5k views

DNS resolv conf issue - DNS doesn't resolve for certain internal addresses despite several name servers listed that can resolve

I am running ubuntu 12.10 desktop edition. I am having and issue with my DNS not resolving certain internal names on our network. We run 3 internal DNS servers. Originally the 1st one (192.168.6.1) ...
0
votes
1answer
84 views

editing /etc/resolv.conf with setup

I'm editing /etc/resolv.conf with the 'setup' utility and reboot my Redhat machine. I add two nameservers and a search. When I cat the resolv.conf file, I see search is placed on the bottom of the ...
1
vote
2answers
2k views

Is is possible to configure ISC's DHCPD to configure resolv.conf options like timeout and attempts?

The resolv.conf supports a line called options that allows for some fine tuning of the behavior of the resolver. In my environment we are using ISC's DHCPD to provide DHCP services to our services. ...
2
votes
1answer
3k views

What for is /etc/resolv.conf needed in newest Centos and Fedora?

In newest Fedora and Centos configuration of dns is in /etc/sysconfig/network-scripts/ifcg-eth0 (or other interface config). So what for is still /etc/resolv.conf needed. Since its no longer used. (I ...
0
votes
1answer
294 views

Running Aptitude / apt-get resets archive lookup address

Having a problem updating ubuntu 12.04.02 lts box using aptitude - seems that the dns lookup value is getting changed somehow whenever I run aptitude or apt-get . Example: a clean reboot: me@server:~...
21
votes
2answers
29k views

How is DNS lookup configured for OSX Mountain Lion?

If I cat my resolv.conf, I see this message: # # Mac OS X Notice # # This file is not used by the host name and address resolution # or the DNS query routing mechanisms used by most processes on # ...