|
From: | Simon Josefsson |
Subject: | Re: [bug-inetutils] dnsdomainname, domainname, nisdomainname, ypdomainname |
Date: | Mon, 12 Mar 2012 19:00:34 +0100 |
User-agent: | Gnus/5.130003 (Ma Gnus v0.3) Emacs/24.0.94 (gnu/linux) |
address@hidden (Alfred M. Szmidt) writes: > Looks good; but after looking at the actual name for dnsdomainname > several times now I cringe... Domain Name Service Domain Name?! Does > domainname do the same as dnsdomainname? Can we use that instead? The semantics of these four tools are more or less set in stone, for compatibility with existing tools. The terminology in this area is indeed confused but given the background I can't see what we can do more than making sure the documentation is complete. Simple memory rule: hostname = gethostname() dnsdomainname = gethostbyname(gethostname) domainname = nisdomainname = ypdomainname = getdomainname() My goal with this is to make InetUtils provide these low-level tools, to reduce the number of projects that are needed to build a GNU system. They are quite simple tools, but if InetUtils doesn't provide them, all distributions need to go find their own implementation... /Simon
[Prev in Thread] | Current Thread | [Next in Thread] |