Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

MAIL^XLFNSLK(): Get IP Addresses for a Domain Name

Reference Type: Supported, Category: Domain Name Service (DNS), Integration Agreement: 3056

Description

This API calls the Domain Name Service (DNS) to get the MX records for a domain name with its IP addresses.

Format

  MAIL^XLFNSLK(.return,domain_name)

Input Parameters

.return:

(required) A local variable passed by reference to hold the return array.

domain_name:

(required) This parameter is a fully qualified domain name (e.g., FORUM.VA.GOV).

Output Parameters

.return:

Retursn data in the array passed in by reference. The data is subscripted by priority. The domain_name parameter is a fully qualified domain name (e.g., FORUM.VA.GOV).

Example

>K ZX D MAIL^XLFNSLK(.ZX,"ISC-SF.MED.VA.GOV") ZW ZX
ZX=2
ZX(5)=a2.ISC-SF.MED.VA.GOV.^10.6.21.15
ZX(10)=a1.ISC-SF.MED.VA.GOV.^10.6.21.14

 


VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: September 15, 2011

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.