Mailinglist Archive: opensuse (958 mails)

< Previous Next >
Re: [opensuse] Where to set the domain name? - Leap 15.1 beta
On 08/05/2019 20.37, Per Jessen wrote:
Carlos E. R. wrote:


Right. Whether it is in "domain' or "search".

At least it ought to go in the release notes.

YaST could add a domain entry in there saying that it simply goes to
the resolv file, nothing else. And put it near the "search" input box,
not above.

Writing it ourselves in the resolv file means that the automatic
writing of the file is disabled. Somewhere else we can add the
"domain" entry?

Yes, just add it as a search domain. That is essentially the same
function as using "domain".

Not really... :-?


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.


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. Resolver
queries having fewer than ndots dots (default is 1) in them will be
attempted using each component of the search path in turn until a match
is found. For environments with multiple subdomains please read options
ndots:n below to avoid man-in-the-middle attacks and unnecessary traffic
for the root-dnsservers. 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.




--
Cheers / Saludos,

Carlos E. R.

(from openSUSE, Leap 15.1 x86_64 (ssd-test))

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

< Previous Next >
This Thread
Follow Ups