Contents

DNSServiceReconfirmRecord(_:_:_:_:_:_:_:)

Instructs the daemon to verify the validity of a resource record that appears to be out of date (for example, because TCP connection to a service’s target failed).

Declaration

func DNSServiceReconfirmRecord(_ flags: DNSServiceFlags, _ interfaceIndex: UInt32, _ fullname: UnsafePointer<CChar>!, _ rrtype: UInt16, _ rrclass: UInt16, _ rdlen: UInt16, _ rdata: UnsafeRawPointer!) -> DNSServiceErrorType

Parameters

  • flags:

    Not currently used.

  • interfaceIndex:

    Specifies the interface of the record in question. The caller must specify the interface. This API (by design) causes increased network traffic, so it requires the caller to be precise about which record should be reconfirmed. It is not possible to pass zero for the interface index to perform a “wildcard” reconfirmation, where *all* matching records are reconfirmed.

  • fullname:

    The resource record’s full domain name.

  • rrtype:

    The resource record’s type (e.g. kDNSServiceType_PTR, kDNSServiceType_SRV, and so on).

  • rrclass:

    The class of the resource record (usually Kdnsserviceclass_in).

  • rdlen:

    The length, in bytes, of the resource record rdata.

  • rdata:

    The raw rdata of the resource record.

Discussion

Causes the record to be flushed from the daemon’s cache (as well as all other daemons’ caches on the network) if the record is determined to be invalid.

See Also

Special Purpose Calls