Hostnames, Domains

From Elvanör's Technical Wiki
Revision as of 13:40, 29 August 2007 by Elvanor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Domain name (UNIX)

  • The domainname command manages "local" domains. The first thing to understand is that this has *nothing* to with Internet domains (DNS). *Nothing*. This is used to manage large subgroups of IP adresses into domains. For example, if you have 50 computers from 192.168.0.1 to 0.50 you could group them into the domain "servers", and use the domain "developers" for the machines above 192.168.0.50.
  • Generally you don't need a domain name. If you use one, remember that domainname (on Gentoo!) does not echo the real domain name but the NIS one, which is not needed for most cases.

DNS & Reverse DNS

  • A reverse DNS query will give you the DNS of a given IP address. Note that ISPs (Free for example) assign a default reverse DNS, that you may ask to modify. If you don't modify your reverse DNS you may have problems with mail servers.