Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

OpenVMS doesn't use a hosts file that can be directly edited. You have to use either the TCPIPor UCX (for pre v5 tcpip services) commands e.g.

$TCPIP
tcpip> SET HOST test.example.com /address=10.0.0.100
tcpip> SET HOST test.example.com /alias=somealian

Would create a host entry for a host called test.example.com with address 10.0.0.100 and an alias of somealias. 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.