|
Reference Type: Supported, Category: Domain Name Service (DNS), ICR#: 3056
The $$ADDRESS^XLFNSLK extrinsic function calls the Domain Name Service (DNS) to convert a domain name into its IP addresses. The IP addresses of the DNS being called are in the DNS IP (#8989.3,51) field in the KERNEL SYSTEM PARAMETERS (#8989.3) file.
NOTE: This API is IPv6 compliant.
$$ADDRESS^XLFNSLK(domain_name[,type])
| domain_name: |
(required) This is the fully qualified domain name (e.g., FORUM.VA.GOV). |
| type: |
(optional) This input variable is from the set A: IPv4 address (the default), AAAA: IPv6 address, CNAME: alias. |
| returns: |
Returns a comma-separated list of IP addresses that are associated with the input domain. |
>S X=$$ADDRESS^XLFNSLK("FORUM.VA.GOV")
>W X
10.2.29.130
|
>S X=$$ADDRESS^XLFNSLK("www.google.com","AAAA")
>W X
2607:F8B0:400E:0C02:0000:0000:0000:0067
|