BoxLang 🚀 A New JVM Dynamic Language Learn More...
DNS query utilities
Install via CommandBox like so:
box install dns-utility
Uses HTTPS DNS api to query for dns records.
A
AAAA
CNAME
MX
NS
SOA
SRV
TXT
PTR
HINFO
RP
dns query <RecordType> <DomainName>
[<DNSProvider>] [<showRaw>]
RecordType Required : String : Supported record type.
I.E. A, TXT, MX, NS, etc.DomainName Required : String : Domain Name to be
queried. I.E. forgebox.ioDNSProvider Optional : String : DNS Provider, defaults
to Cloudflare. Options: Cloudflare & Google
showRaw Optional : boolean : If true shows the raw
unparsed record result from API. Default is false
Get MX record(s) for forgebox.io
dns query mx forgebox.io
Get MX record(s) for forgebox.io with raw API record result
dns query mx forgebox.io --showRaw
Get MX record(s) for forgebox.io from Google
dns query mx forgebox.io Google
$
box install dns-utility