Skip to main content

1E 9.x (on-premises)

Network.GetDnsEntriesByAddress

Method

GetDnsEntriesByAddress

Module

Network

Library

Core

Action

Get the contents of the DNS client cache.

Parameters

Collapse (boolean): If there are multiple DNS entries for a hostname, whether to return just the first (true) or all of them (false). This is false by default.

Return values

For each host found in the DNS cache:

  • Address (string): The IP address.

  • HostName (string): The DNS name.

Example

Network.GetDnsEntriesByAddress(Collapse:true);

Platforms

  • Windows

  • MacOS

Notes