On 27 Oct 2023 11:45 -0500, from j...@sugarbit.com (John Hasler):
>> Here are the first lines of 'man domainname" :
> 
> That doesn't help very much with no hint as to what NIS is and that it
> isn't relevant to DNS.

The part of the beginning of that man page which Erwan didn't quote
does seem a bit more helpful, though. Quoting the entire NAME section:

> HOSTNAME(1)          Linux Programmer's Manual         HOSTNAME(1)
> 
> NAME
>        hostname - show or set the system's host name
>        domainname - show or set the system's NIS/YP domain name
>        ypdomainname - show or set the system's NIS/YP domain name
>        nisdomainname - show or set the system's NIS/YP domain name
>        dnsdomainname - show the system's DNS domain name

Even for someone who doesn't know what "NIS/YP" is, that should be a
strong suggestion already that it is _not_ the same thing as "DNS".

(And let's not get into the issue of the term "domain" in terms like
_classless inter-domain routing_.)

-- 
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”

Reply via email to