[
https://issues.apache.org/jira/browse/DRILL-8413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17701782#comment-17701782
]
ASF GitHub Bot commented on DRILL-8413:
---------------------------------------
cgivre opened a new pull request, #2778:
URL: https://github.com/apache/drill/pull/2778
# [DRILL-8413](https://issues.apache.org/jira/browse/DRILL-8413): Add DNS
Lookup Functions
## Description
See below
## Documentation
These functions enable DNS research using Drill.
* `getHostName(<IP address>)`: Returns the host name associated with an IP
address.
* `getHostAddress(<host>)`: Returns an IP address associated with a host
name.
* `dnsLookup(<host>, [<Resolver>])`: Performs a DNS lookup on a given host.
You can optionally provide a resolver. Possible resolver values are:
`cloudflare`, `cloudflare_secondary`, `google`, `google_secondary`,
`verisign`, `verisign_secondary`, `yandex`, `yandex_secondary`.
* `whois(<host>, [<Resolver>])`: Performs a whois lookup on the given host
name. You can optionally provide a resolver URL. Note that not all providers
allow bulk automated whois lookups, so please follow the terms fo service for
your provider.
## Testing
Added unit tests.
> Add DNS Lookup Functions
> ------------------------
>
> Key: DRILL-8413
> URL: https://issues.apache.org/jira/browse/DRILL-8413
> Project: Apache Drill
> Issue Type: New Feature
> Components: Functions - Drill
> Affects Versions: 1.21.0
> Reporter: Charles Givre
> Assignee: Charles Givre
> Priority: Major
> Fix For: 1.22
>
>
> This PR adds additional DNS lookup functions to Drill:
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)