Operating System - OpenVMS
1754861 Members
5676 Online
108827 Solutions
New Discussion юеВ

Re: Queries going to OLD DNS server.

 
shiva27
Frequent Advisor

Queries going to OLD DNS server.

Existing DNS resolver server going to Decommision and team provided the alternate DNS resolver server .

I've reconfigured/added NEW DNS resolver server(IP) into our VMS machines as below,
@tcpip$config.com;
1 - Domain
2 - Interfaces
3 - Routing
4 - BIND Resolver
5 - Time Zone

A - Configure options 1 - 5
[E] - Exit menu

Enter configuration option: 4
* Do you want to reconfigure BIND [NO]: YES
Enter your BIND server name:

Question:
N/w team is saying still your many VMS servers queries coming/going thru OLD DNS server instead should go NEW DNS server.

If i see into tcpip configuration i can see new DNS servers entries are there,
Can you help how can i trace this,
Please let me know if you need to more info.
13 REPLIES 13
Karl Rohwedder
Honored Contributor

Re: Queries going to OLD DNS server.

Did you check with TCPIP SHOW NAME, if the new servers are set?

May be TCPIP$CONFIG only updates the permanent configuration.

To set/view permanent:
$ TCPIP SET CONF NAME /server ...
$ TCPIP SHOW CONF NAME

To set/view volatile:
$ TCPIP SET NAME /system /server ...
$ TCPIP SHOW NAME

regards Kalle
Robert Gezelter
Honored Contributor

Re: Queries going to OLD DNS server.

Shiva,

Was the relevant part(s) of TCP Services restarted after the change in settings?

Note that this must be done through a non-TCP/IP related path (e.g., one cannot be logged in through telnet to do this; the connection must be either direct, or through DECnet --- and not DECnet over IP).

- Bob Gezelter, http://www.rlgsc.com
Steven Schweda
Honored Contributor

Re: Queries going to OLD DNS server.

> Note that this must be done through a
> non-TCP/IP related path [...]

Well, yeah, if you're killing the whole
thing. I use this:

ALP $ type BIND_RESTART.COM
$ @ sys$manager:tcpip$bind_shutdown.com
$ @ sys$manager:tcpip$bind_startup.com
ALP $

I would not expect the world to end if you
whack the BIND server over an IP connection.
shiva27
Frequent Advisor

Re: Queries going to OLD DNS server.

There is weekly reboot so system already rebooted twice.
If we execute Bind resolver option and changed DNS server then which database file should update in our server, any idea...

Fyi - tcpip$host.dat file was not updated after this activity.
Is there any cmd to verify the default/primary DNS server.
Karl Rohwedder
Honored Contributor

Re: Queries going to OLD DNS server.

The information seems to be stored in SYS$SYSTEM:TCPIP$CONFIGURATION.DAT.

To check use TCPIP SHO CONF NAME

regards Kalle
shiva27
Frequent Advisor

Re: Queries going to OLD DNS server.


1.None of *.dat; tcpip database files updated
where is new DNS IP's updated?any idea.
===================
TCPIP> SHOW CONFIGURATION NAME_SERVICE
BIND Resolver Configuration

Transport: UDP
Domain: ASPAC.CITICORP.COM
Retry: 4
Timeout: 4
Servers: ,
Path: No values defined
====================
New DNS ip's are showing here..
Is it required to remove the oldDNS entry completetly or if i changed the sequece of DNS ip's then it will check 1st IP in sequence and if this is not rechable then server will look for 2nd IP ?

Martin Vorlaender
Honored Contributor

Re: Queries going to OLD DNS server.

Shiva27,

IIRC, the resolver uses the servers in the order given.

You should remove the old servers' IPs by using

$ TCPIP SET CONFIGURATION NAME_SERVICE /NOSERVER=(old_ip[,old_ip...])

and

$ TCPIP SET NAME_SERVICE /SYSTEM /NOSERVER=(old_ip[,old_ip...])

HTH,
Martin
shiva27
Frequent Advisor

Re: Queries going to OLD DNS server.

Thx all

I will modify and let know the outcome.
shiva27
Frequent Advisor

Re: Queries going to OLD DNS server.

Thx All.

I changed the OLD DNS to NEW DNS in VMS successfully.Now all queries going to NEW DNS server.

Can we accomplish this task without restarting TCPIP startup?