Network
Names, addresses and ports.
/dns
A name's records.
Parameters
host- The name; an IP address for PTR
type- 0 A and AAAA, 1 PTR, 2 NS, 3 CNAME, 4 MX, 5 SRV over TCP, 6 SRV over UDP, 7 TXT
service- SRV's service, which 5 and 6 require
Answer
result is string[] or dns.MXRecord[] or dns.SRVRecords.
dns.MXRecord
hostpreference
dns.SRVRecords
cnameaddresses
dns.SRVRecord
targetportpriorityweight
/ping
ICMP echoes to an address, each one's round trip.
Parameters
host- An IPv4 address
count- Echoes
ttl- Time to live
timeout- Seconds
Answer
result is ping.Response.
ping.Response
max- Milliseconds
avg- Milliseconds
min- Milliseconds
loss- The share of echoes unanswered, 0 to 1
sequences- Each reply, in order
ping.Sequence
host- The address that replied
latency- Milliseconds
/port
Which of an address's TCP ports are open, by port. A port that never answered is left out.
Parameters
host- An IPv4 address
ports- The ports
timeout- Seconds
stealth- True: a SYN scan, no connection completed
Answer
result is object of port.Response.
port.Response
openfiltered- An ICMP unreachable (a firewall's reject, or a router that can't reach the host) answered instead of the host
service- The port's usual service, if well known
took- Milliseconds to answer
portinfo.Description
NameDescription
/whois
A domain's registration, by RDAP or whois.
Parameters
query- The domain; a subdomain reads as its registered name
Answer
result is whois.Result.
whois.Result
nameunicode_namehandlestatuscreated- UTC, to the second: RFC 3339 with no fraction, as updated, expires and transferred
updatedexpirestransferrednameserversdnssecregistrarresellerregistrantadministrativetechnicalbillingredacted- Each field the registry withheld, by its key here ("registrant.email"), sorted
whois_serversource
whois.Nameserver
nameaddresses
whois.DNSSEC
signeddskeys
whois.DS
key_tagalgorithmdigest_typedigest
whois.Key
flagsalgorithmpublic_key
whois.Registrar
handlenameorganizationaddressemailphonephone_extensionfaxfax_extensionurlcontact_formiana_idabuse
whois.Address
streetcityregionpostal_codecountry
whois.Contact
handlenameorganizationaddressemailphonephone_extensionfaxfax_extensionurlcontact_form
/macaddress
Who made a network card.
Parameters
mac- The MAC address
Answer
result is macaddress.Vendor.
macaddress.Vendor
vendorprivate- Registered privately
block- IEEE's block, as a character code: l MA-L, m MA-M, s MA-S, c CID, u unknown
updated- When the registration last changed, YYYY/MM/DD