NPKIGetServerIPAndDNSInfo

Discovers IP and DNS information about the specified server by querying DNS (formerlyNPKIGetServerIPAndDNSInfo).

Syntax

    #include "npki.h"
    
    NWRCODE NPKIGetServerIPAndDNSInfo(
       const NPKIContext              context,
       const unicode                 *serverDN,
       const pnuint32                 numberOfIPAddresses);
    

Parameters

context
(IN) Specifies the NPKI context for the request.
serverDN
(IN) Specifies the FDN of the eDirectory server.
numberOfIPAddresses
(OUT) Returns the number of IP addresses for the server.

Return Values

Returns 0 if successful, or a PKI error code if not successful.

PKI NCP Calls

0x2222 93 14 GET IP AND DNS ADDRESSES

Remarks

Returns the number of IP addresses assigned to the server and other details about all of the IP addresses NPKIGetServerIPAddress for each of the addresses.

See Also

NPKIGetServerDNSName, NPKIGetServerIPAddress