Mailinglist Archive: opensuse (958 mails)

< Previous Next >
Re: [opensuse] Where to set the domain name? - Leap 15.1 beta
On 05/07/2019 02:15 PM, Andrei Borzenkov wrote:
07.05.2019 17:42, James Knott пишет:
On 05/07/2019 09:52 AM, Per Jessen wrote:
According to the man page, the 'domain' option is still there, but I'm
not sure how it differs from the search ditto.
It does not.

According to the man page, the local domain is supposed to be listed as
There is no such thing as "local domain" at all. Host does not have any

From the resolv.conf man page:

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

That sure looks to me like local domain.  Then on search domains, we have:

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.

Yep, there's supposed to be a local domain name.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups