DnsRobot
Official Elixir client for DNS Robot — 53 free online DNS and network tools.
Zero external dependencies.
Install
Add dnsrobot to your list of dependencies in mix.exs:
def deps do
[{:dnsrobot, "~> 0.1.0"}]
endUsage
# DNS lookup
{:ok, result} = DnsRobot.dns_lookup("example.com")
# WHOIS lookup
{:ok, whois} = DnsRobot.whois_lookup("example.com")
# SSL certificate check
{:ok, ssl} = DnsRobot.ssl_check("example.com")
# MX records
{:ok, mx} = DnsRobot.mx_lookup("example.com")
# IP geolocation
{:ok, ip} = DnsRobot.ip_lookup("8.8.8.8")Available Functions
| Function | Description | Tool Page |
|---|---|---|
dns_lookup/2 | DNS record lookup | dnsrobot.net/dns-lookup |
whois_lookup/1 | Domain registration data | dnsrobot.net/whois-lookup |
ssl_check/1 | SSL/TLS certificate check | dnsrobot.net/ssl-checker |
spf_check/1 | SPF record validation | dnsrobot.net/spf-checker |
dkim_check/2 | DKIM record check | dnsrobot.net/dkim-checker |
dmarc_check/1 | DMARC record check | dnsrobot.net/dmarc-checker |
mx_lookup/1 | MX record lookup | dnsrobot.net/mx-lookup |
ns_lookup/1 | Nameserver lookup | dnsrobot.net/ns-lookup |
ip_lookup/1 | IP geolocation | dnsrobot.net/ip-lookup |
http_headers/1 | HTTP response headers | dnsrobot.net/http-headers-checker |
port_check/2 | Port availability check | dnsrobot.net/port-checker |
Links
License
MIT