Hosts (file) entry on Wikipedia has a table listing the location name of the hosts file (which maps hostnames to IP addresses) on various systems. Where is this info stored on OpenVMS systems?
Hosts (file) entry on Wikipedia has a table listing the location name of the hosts file (which maps hostnames to IP addresses) on various systems. Where is this info stored on OpenVMS systems?
OpenVMS doesn't use a hosts file that can be directly edited. You have to use either the
TCPIP
orUCX
(for pre v5 tcpip services) commands e.g.Would create a host entry for a host called
test.example.com
with address10.0.0.100
and an alias ofsomealias
. As with most things OpenVMS the command's internal help is excellent.It looks like the file that contains the actual entries is pointed to by the logical name TCPIP$HOST.
The Documentation can be found online here.