- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How to flush DNS cache in TCPIP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 12:58 AM
тАО04-11-2007 12:58 AM
I have a server who is accessed by lots of PC's.
Each PC is a DHCP client (lease time 21 days), thus, in most of time, pc's keep their address.
A dns name was attributed to each possible address.
Thus, a pc connects to the server, OpenVMS TCPIP makes a reverse request and obtains the dns name of the pc. Then logicalname "SYS$REM_NODE" and "SYS$REM_NODE_FULLNAME" are defined to dns node name.
Now, network team decides to suppress PC's from the dns and from the reserve table.
Thus a reverse request on a ip address of a pc give an empty respond.
My problem is that the reverse definitions seems to be conserved somewhere in cache on my server because after a new login, logical names are still pointing to old dns name.
Is there a way to flush this cache or must I wait the TTL (I don't know how long it is).
Thanks for your help
Seghers Bruno
Banksys - Belgium
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 01:58 AM
тАО04-11-2007 01:58 AM
Re: How to flush DNS cache in TCPIP
resolver's cache, if there is one. (There is
a SYS$SYSTEM:TCPIP$RNDC.EXE, which might be
able to do something with a BIND _server's_
cache.)
> [...] after a new login [...]
Log in how?
Around here, with Telnet and rsh, my
SYS$REM_NODE and SYS$REM_NODE_FULLNAME both
show an IP address, not a name. With _ssh_,
I see the name for both.
alp $ tcpip show version
HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 6
on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2
(That was all very helpful, right?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 02:05 AM
тАО04-11-2007 02:05 AM
Re: How to flush DNS cache in TCPIP
I defined my pc address and the name is shown in sys$rem_node. Even 45 min after I deleted the name it is still shown in the logical.
Even re-enabling telnet doesn't clear it.
Fwiw
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 02:20 AM
тАО04-11-2007 02:20 AM
Re: How to flush DNS cache in TCPIP
The login is made via terminal emulation reflexion (telnet).
HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 5
on a AlphaServer GS160 6/731 running OpenVMS V7.3-2
THX
SEGHERS Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 04:20 AM
тАО04-11-2007 04:20 AM
Re: How to flush DNS cache in TCPIP
I think I've read somewhere, that there are no commands in HP OpenVMS TCPIP to flush the DNS name resolver cache.
Did you try disabling and re-enabled the TCPIP BIND resolver ?
$ TCPIP SET NAME/DISABLE/SYSTEM
$ TCPIP SET NAME/ENABLE/SYSTEM
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 05:02 AM
тАО04-11-2007 05:02 AM
SolutionI use this whenever people want to rshell, telnet, etc to the machine. It sets up the symbol "remote_node". Thats then used for displaying X or finding the remote machines IP.
(except from one of my command files)
$ remote_node = "''f$trnlnm("sys$rem_node")'"
$ remote_node = f$extract(0,f$locate("::","''remote_node'"),remote_node)
$ if remote_node .eqs. "TELNET" .or. remote_node .eqs. "RSHELL" -
.or. remote_node .eqs. "RLOGIN" .or. remote_node .eqs. "REXEC"
$ then
$ remote_node = "''f$trnlnm("sys$rem_id")'"
$ ad1 = %x'f$extract(0,2,remote_node)
$ ad2 = %x'f$extract(2,2,remote_node)
$ ad3 = %x'f$extract(4,2,remote_node)
$ ad4 = %x'f$extract(6,2,remote_node)
$ remote_node = "''ad1'.''ad2'.''ad3'.''ad4'"
$ endif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2007 05:13 AM
тАО04-11-2007 05:13 AM
Re: How to flush DNS cache in TCPIP
Existing sessions displayed via logical names will not be updated to reflect changes in rdns.
Being paranoid, I'd probably only try this on a test system first, and not on a production server.
Stephen Hoffman
HoffmanLabs LLC