[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't find the DNS Servers



On Tue, Sep 26, 2017 at 03:43:35PM -0400, Greg Wooledge wrote:
NAME
    resolver - resolver configuration file

SYNOPSIS
    /etc/resolv.conf

...
    search   Search list for host-name lookup.  The search list is normally
             determined from the local domain name; by default, it contains
             only the local domain name.  This may be changed by listing the
             desired domain search path following the search keyword with
             spaces or tabs separating the names.  Most resolver queries will
             be attempted using each component of the search path in turn un-
             til a match is found.  Note that this process may be slow and
             will generate a lot of network traffic if the servers for the
             listed domains are not local, and that queries will time out if
             no server is available for one of the domains.

             The search list is currently limited to six domains with a total
             of 256 characters.
...
4th Berkeley Distribution      November 11, 1993                             1


I still think you're carrying along some mistake that you made decades
ago, which has simply never caused any problems, but is also not doing
anything beneficial.

This. Here's an extract from the oldest debian man page I know of for this file (from 1995--and people complain about how up to date the documentation is today!):

      domain Local domain name.  Most queries for  names  within
             this  domain  can  use  short names relative to the
             local domain.  If no domain entry is  present,  the
             domain  is  determined  from  the  local  host name
             returned by  gethostname(2);  the  domain  part  is
             taken   to  be  everything  after  the  first  `.'.
             Finally, if the host name does not contain a domain
             part, the root domain is assumed.

      search Search  list for host-name lookup.  The search list
             is normally determined from the local domain  name;
             by  default,  it begins with the local domain name,
             then successive parent domains that have  at  least
             two components in their names.  This may be changed
             by listing the desired domain search path following
             the  search  keyword with spaces or tabs separating
             the names.  Most resolver queries will be attempted

                       December 14, 1989                       1

RESOLVER(5)                                           RESOLVER(5)

             using  each  component  of  the search path in turn
             until a match is found.  Note that this process may
             be  slow and will generate a lot of network traffic
             if the servers  for  the  listed  domains  are  not
             local,  and that queries will time out if no server
             is available for one of the domains.

             The search list is currently limited to six domains
             with a total of 256 characters.

      The domain and search keywords are mutually exclusive.  If
      more than one instance of these keywords is  present,  the
      last instance will override.

The last paragraph is why it's just odd, not problematic. The current man page is basically identical.


Reply to: