[OpenIndiana-discuss] How to set the domain name?

Tim Mooney Tim.Mooney at ndsu.edu
Fri Dec 7 18:59:48 UTC 2018


In regard to: [OpenIndiana-discuss] How to set the domain name?, Hubert...:

> As a new OpenIndiana user, I face problems setting the domain name.
> I could not find any solution in the doc nor mailing lists.
>
> These are my findings:
>
> - The OI installer asks for the node name and sets it, but does
>  not ask for the domain name (contrary to Oracle Solaris installers).
>
> - Consequently, the domainname(1) command returns " " just after
>  the machine has been installed. In my opinion, this is a bug
>  (empty string would be ok, but not a white space).

domainname is one of those commands that often is just a trap for the
unwary.

It originally related to *NIS* (called Yellow Pages, back in the day),
and had nothing to do with DNS.

Now, some Linux systems have "adopted" it for use with DNS too, but that's
not something that is true of all systems, especially a system that has
such a strong history with NIS as OI.

If you want to set the domain portion of your DNS fully-qualified name,
then on OI, you can pretty much ignore 'domainname'.

By default, your system is probably using the "Network Auto-Magic Daemon",
aka NWAM.  If you're familiar with recent Linux, it's similar in theory
to Linux's NetworkManager subsystem.

There is documentation in the wiki for using and configuring NWAM, and
there's also documentation for how to disable NWAM and go back to the
old static config.

Tim
-- 
Tim Mooney                                             Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building                  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



More information about the openindiana-discuss mailing list