Obtain a DNS record.
the namehash of the node for which to fetch the record
the keccak-256 hash of the fully-qualified name for which to fetch the record
the ID of the resource as per https://en.wikipedia.org/wiki/List_of_DNS_record_types
the DNS record in wire format if present, otherwise empty
Set one or more DNS records. Records are supplied in wire-format. Records with the same node/name/resource must be supplied one after the other to ensure the data is updated correctly. For example, if the data was supplied: a.example.com IN A 1.2.3.4 a.example.com IN A 5.6.7.8 www.example.com IN CNAME a.example.com. then this would store the two A records for a.example.com correctly as a single RRSET, however if the data was supplied: a.example.com IN A 1.2.3.4 www.example.com IN CNAME a.example.com. a.example.com IN A 5.6.7.8 then this would store the first A record, the CNAME, then the second A record which would overwrite the first.
the namehash of the node for which to set the records
the DNS wire format records to set
an array of TransactionReceipt objects
Returns true if this contract implements the interface defined by
interfaceId
. See the corresponding
https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
to learn more about how these ids are created.
This function call must use less than 30 000 gas. Defined in EIP181.
The MNS node to query.
if the interface is supported
Interface that represents a DNS Resolver