Operating System - OpenVMS
1753444 Members
4523 Online
108794 Solutions
New Discussion юеВ

Re: VMS version of /etc/resolv.conf

 
SOLVED
Go to solution
Jeff Picton
Regular Advisor

VMS version of /etc/resolv.conf

Hi

Can anyone tell me if and what there is an equivalence of the file /etc/resolv.conf available for Open VMS ?

Thanks
8 REPLIES 8
Antoniov.
Honored Contributor

Re: VMS version of /etc/resolv.conf

Jeff,
VMS doesn't use text file (as /etc/resolv.conf) to configure system; if you want configure you have use the relative command.
If I remember /etc/resolv.conf is a TCP/IP configuration file, so you could use TCPIP command.
$ TCPIP
TCPIP> HELP

If you explain the scope of resolv.conf I can tell you the command to use.

Bye
Antoniov
Antonio Maria Vigliotti
Ian Miller.
Honored Contributor
Solution

Re: VMS version of /etc/resolv.conf

depends on which TCP/IP stack you are using. If this file contains name resolver configuration then UCX SHOW NAME will display the details for TCP/IP Services for OpenVMS and UCX SET NAME will change them (see help for details on syntax).
____________________
Purely Personal Opinion
Martin P.J. Zinser
Honored Contributor

Re: VMS version of /etc/resolv.conf

Hi,

the safest way to change the Name resolving is to execute

@sys$manager:tcpip$config

->Core components
->Bind resolver

Else from inside tcpip

set config name is the command to change name resolving

do a help set config name for details.

Greetings, Martin
Jeff Picton
Regular Advisor

Re: VMS version of /etc/resolv.conf

Hi

OK the scope of resolv.conf is to configure the host server to point to the DNS servers.

I this file are the ip addresses and other configuration parameters

Thks
Lokesh_2
Esteemed Contributor

Re: VMS version of /etc/resolv.conf

Hi,

give command $UCX SHO NAME or $TCPIP SHO NAME to get the list of DNS server defined on your system.

HTH,
Lokesh
What would you do with your life if you knew you could not fail?
Willem Grooters
Honored Contributor

Re: VMS version of /etc/resolv.conf

I think what you require is in TCPIP$BIND:BIND.CONF, BIND needs to be setup first the way Martin pointed out.
@sys$system:tcpip$bind_setup.com will give you the more options to set it all up.
For the resolver, see http://h71000.www7.hp.com/doc/732FINAL/6524/6524pro_003.html#heading_3.3.4.5
Willem Grooters
OpenVMS Developer & System Manager
Jan van den Ende
Honored Contributor

Re: VMS version of /etc/resolv.conf

Jeff,

We got (I seem to remember: since the installation of TCPIP V5) a file SYS$SYSTEM:TCPIP$RESOLV.CONF, which to me looks like what you are seeking.
Obviously this implies that it is a file that comes with "TCPIP services for OpenVMS", so if you got an other IP stack, this will probably not apply.

Jan

Don't rust yours pelled jacker to fine doll missed aches.
Jeff Picton
Regular Advisor

Re: VMS version of /etc/resolv.conf

Hi

Thanks for all the replies. I have the version of TCPIP on my VMS system which is described by Ian so I will be using that.