Questions tagged [resolv.conf]

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

146 questions
4
votes
2 answers

resolv.conf options not being honored

Was hoping to implement the "options rotate" directive within resolv.conf to have DNS lookups rotate through the nameservers listed in that file. As I understand it that is the point of this directive. It does not work on any system that I have…
CarpeNoctem
  • 2,437
  • 4
  • 23
  • 32
4
votes
4 answers

Configuring DHCP on RHEL 6

I have a fresh install of RHEL6 and I am unable to find any config file to do advanced configuration for dhclient. I am trying to find something like dhclient.conf on Ubuntu so I can modify options like supersede domains, fqdn, Maybe they should be…
frisco
  • 143
  • 1
  • 4
4
votes
4 answers

DNS/resolv.conf settings for a Primary DNS Server failure?

I'm currently the administrator of some RHEL Linux machines, in a mixed network. Our DNS servers are Windows AD controllers. As such, they occasionally need to come down for maintenance. (eg: patching) This means that at some point, the primary…
Christopher Karel
  • 6,582
  • 1
  • 28
  • 34
3
votes
1 answer

Is there a way to specify name servers for an interface in lxc configuration?

I'm trying to make LXC containers use static IP addresses. For that I specify lxc.network.ipv4 = 10.0.3.3 lxc.network.ipv4.gateway = 10.0.3.1 in lxc config file. I have only loopback interface in /etc/network/interfaces in containers. And it mostly…
x-yuri
  • 2,141
  • 2
  • 24
  • 29
3
votes
1 answer

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: #Generated by resolvconf search ttu.edu nameserver…
Chuck
  • 31
  • 2
3
votes
3 answers

Dynamically updating resolvers listed in /etc/resolv.conf

I rent some Linux servers and the hosting company provides a set of eight DNS resolvers. The response speed varies from resolver to resolver and I periodically modify /etc/resolv.conf to get the best performance. On two occasions I found one of my…
Jon Cram
  • 309
  • 1
  • 4
  • 10
3
votes
2 answers

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 reachable by public DNS. I have a Consul agent colocated…
3
votes
2 answers

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 nameserver 127.0.0.1 in this file. If not, can I just…
tfegc
  • 221
  • 1
  • 5
  • 10
3
votes
2 answers

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. Currently I can set the search and nameserver…
spkane
  • 191
  • 2
  • 6
3
votes
2 answers

Can I configure resolv.conf to use a specific nameserver for a domain?

Can I configure resolv.conf to use a specific nameserver for a domain? e.g.: nameserver internal.thekelleys.org.uk 192.168.1.1 nameserver 192.168.0.1 I don't want to list *.test.com in /etc/hosts; I don't want to install a DNS server locally…
Jayen
  • 1,857
  • 4
  • 16
  • 28
2
votes
1 answer

How to set custom settings in resolv.conf when using system-resolvd

I would like to use option values in /etc/resolv.conf. From reviewing the relevant man page (https://linux.die.net/man/5/resolv.conf) I noticed that I can configure various options. For example one can set the timeout on dns requests using options…
kfir
  • 111
  • 4
2
votes
1 answer

Host DNS not working with docker container

I have a probleme with docker on my archlinux kernel Linux 4.19.31-1-lts #1 SMP Sun Mar 24 09:29:16 CET 2019 x86_64 GNU/Linux $ docker info return : $ docker info …
Kermito
  • 31
  • 1
  • 5
2
votes
1 answer

Linux DNS query sequence with resolv.conf

I have a encountered a DNS resolution issue. Could someone pls give me some tips on this issue, thanks in advance~ uname -a Linux 152a580f-e3c2-405f-acde-eac4d928af22 4.4.0-111-generic #134~14.04.1-Ubuntu SMP Mon Jan 15 15:39:56 UTC 2018 x86_64…
roamer
  • 31
  • 2
2
votes
1 answer

Not possible to update resolv.conf

I edit /etc/resolvconf/resolv.conf.d/base: $ cat /etc/resolvconf/resolv.conf.d/base nameserver 192.168.100.16 I force an update: $ sudo resolvconf -u I check if it worked: $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc…
blueFast
  • 4,200
  • 13
  • 37
  • 54
2
votes
1 answer

Where is the "search" line in my resolv.conf coming from?

This is what my resolv.conf looks like: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 46.38.225.230 nameserver 46.38.252.230 search…
Azsgy
  • 123
  • 6
1 2
3
9 10