DNS¶
Helper functions for resolving DNS queries.
Constructors¶
create¶
Returns¶
- DNS val^
Public Functions¶
apply¶
Gets all IPv4 and IPv6 addresses for a host and service.
fun box apply(
auth: DNSAuth val,
host: String val,
service: String val)
: Array[NetAddress val] iso^
Parameters¶
Returns¶
- Array[NetAddress val] iso^
ip4¶
Gets all IPv4 addresses for a host and service.
Parameters¶
Returns¶
- Array[NetAddress val] iso^
ip6¶
Gets all IPv6 addresses for a host and service.
Parameters¶
Returns¶
- Array[NetAddress val] iso^
broadcast_ip4¶
Link-local IP4 broadcast address.
Parameters¶
Returns¶
- Array[NetAddress val] iso^
broadcast_ip6¶
Link-local IP6 broadcast address.
Parameters¶
Returns¶
- Array[NetAddress val] iso^
is_ip4¶
Returns true if the host is a literal IPv4 address.
Parameters¶
- host: String val
Returns¶
- Bool val
is_ip6¶
Returns true if the host is a literal IPv6 address.
Parameters¶
- host: String val
Returns¶
- Bool val
eq¶
Parameters¶
- that: DNS val
Returns¶
- Bool val
ne¶
Parameters¶
- that: DNS val
Returns¶
- Bool val