Mailinglist Archive: opensuse (958 mails)

< Previous Next >
Re: [opensuse] Where to set the domain name? - Leap 15.1 beta
On Wed, May 08, 2019 at 12:28:35AM +0200, Carlos E. R. wrote:
On 08/05/2019 00.21, Carlos E. R. wrote:
On 08/05/2019 00.12, Carlos E. R. wrote:
On 07/05/2019 08.53, Dr. Werner Fink wrote:
On Mon, May 06, 2019 at 06:52:03PM +0200, Carlos E. R. wrote:

Next question: then what was the purpose of the domain entry box in Leap
15.0 and all previous versions since I remember?

YaST2 - lan @ minas-tirith.valinor

Network Settings
┌Global Options──Overview──Hostname/DNS──Routing──────────────┐
│┌Hostname and Domain Name───────────────────────────────────┐│
││minas-tirith▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ valinor▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ││ <==
││[x] Assign Hostname to Loopback IP ││
││Set Hostname via DHCP no▒▒▒▒▒▒▒▒▒↓ ││

The help says:

││Enter the short name for this computer (e.g. mymachine) and the DNS domain
││(e.g. that it belongs to. The domain is especially important
││this computer is a mail server. You can view the hostname of you computer
││using the hostname command.

So at some point in time at least it was possible to define the domain name
in yast. Why not now, what has changed? (honest question).
I assume that if the option has been removed intentionally, it is no longer
possible to set it up.

e.g. boo#821599 and boo#1099464

AFAICR postfix as well as sendmail uses gethostbyaddr(3) to ask for the FQDN of
local system for (one or more) of its network device(s).

The resolution depends on /etc/host.conf, /etc/nsswitch.conf, and
together with /etc/hosts in the default configuration.

On static network configuration (e.g. with wicked) the FQDNs of the local system
can be added for one or more of its network devices into /etc/hosts.

On a mobile system (e.g. NetworkManager) I'd prefer not do this but let do
the job the NetworkManager and its DHCP part.


"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
< Previous Next >
This Thread