Questions tagged [resolv.conf]

/etc/resolv.conf contains Domain Name System(DNS) related configuration information on Unix systems.

146 questions
2
votes
1 answer

Docker cant resolve DNS-Names outside of docker network. Receiving "read from DNS server failed"

I have deployed an Adguard Home docker container which i want to use as my DNS server/proxy. DNS resolution is working fine when i'm making an nslookup from a machine (as well as the docker host) on my local network. (resolving local and external…
PurifyPioneer
  • 21
  • 1
  • 1
  • 3
1
vote
1 answer

qmail couldn't find any host named

System: Ubuntu 18.04 LTS (fresh install) qmail dovecot Plesk 17 Mail configuration was done with plesk. It is not possible to send any mail to any reciepents on different domains. Log contains: qmail: 1553679224.737428 delivery 12: failure:…
1
vote
1 answer

Query two different DNS nameservers - one for LAN only, one for everything else

On a Debian-based linux device I need to set up DNS lookups on two different DNS nameservers - one for local domain lookups, one for everything else. My /etc/resolv.conf currently is: # Generated by resolvconf domain delta search delta nameserver…
Dante
  • 11
  • 1
1
vote
0 answers

Linux DNS resolve rotate attempts does not take effect

I have rotate and attempts settings in my resolv file: nameserver 127.0.0.1 nameserver 10.104.64.25 nameserver 10.104.65.25 options timeout:1 attempts:3 rotate And OS info is: Linux 152a580f-e3c2-405f-acde-eac4d928af22 4.4.0-111-generic…
roamer
  • 31
  • 2
1
vote
1 answer

Custom resolv.conf file

Is there any way I can specify a custom resolv.conf file (instead of /etc/resolv.conf) in RedHat Linux, similar to specifying custom hosts file via export HOSTALIASES=~/my_hosts? I don't have root access to the server. Background: I need my…
1
vote
2 answers

Can't connect to Internet while F5 VPN is connected

I'm using F5 BIG-IP Edge VPN client on OS X Yosemite 10.10 and trying to find the best way to access the web, while connected Has anyone found a solution, how to make it work? Maybe this could be an approach to setting up routes in memory? The…
1
vote
2 answers

Does linux accept a DNS reply that comes after configured timeout if it is in the middle of the next attempt?

/etc/resolv.conf is configured with: options timeout:1 attempts:5 rotate nameserver A nameserver B Both configured nameservers have a delay of 3 seconds. The following exchange of messages occurs: 00:00 - query #1 sent to A 00:01 - query #2 sent…
1
vote
0 answers

Solaris 10 app server operating on two company domains

I have a Solaris server hosting Apache and Tomcat web servers, it originally operated on one company domain: appname1.company1.com With a change in company, this original domain must still be maintained and a new one must operate in…
AndW99
  • 111
  • 4
1
vote
0 answers

Windows 2012 R2 DNS SERVFAIL on linux / mac clients

SERVFAIL is causing issues with some of our applications on linux/macs. I presume this is Windows DNS causing some problems with our linux/mac clients? Then again Windows clients are able to do shortname lookup without any issue. From a Mac/Centos…
1
vote
2 answers

How to make linux server query second or third or fourth nameserver IPaddress from resolv.conf

In our environment we have a very uniq requirement. Let me explain you our environment first. We have DEV,TEST,PRE-PROD & PROD environment, and every environment has its own DNS server ( Primary and slave ) to resolve the hostnames. What we want…
1
vote
0 answers

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. If this feature is not available in the vanilla…
Paul Rigor
  • 111
  • 3
1
vote
1 answer

vpn daemon altering and updating resolv.conf each time i modify it

I'm running a 3rd party vpn daemon that changes resolv.conf on init and checks for changes continuously. I installed my own local dns cache that gets properly inside resolv.conf but the vpn daemon puts its resolvers before that and I'm getting huge…
1
vote
2 answers

Linux DMZ server internal and external DNS resolving

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 (forward) from the public internet. It appears to…
1
vote
1 answer

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 internal to my company nameserver 127.0.1.1 And this…
greg0ire
  • 316
  • 1
  • 7
  • 26
1
vote
3 answers

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 this I've set up a couple bind resolver instances…
Sammitch
  • 2,111
  • 1
  • 21
  • 35