---
title: "DNSServiceUpdateRecordWithAttribute(_:_:_:_:_:_:_:)"
framework: dnssd
role: symbol
role_heading: Function
path: "dnssd/dnsserviceupdaterecordwithattribute(_:_:_:_:_:_:_:)"
---

# DNSServiceUpdateRecordWithAttribute(_:_:_:_:_:_:_:)

## Declaration

```swift
func DNSServiceUpdateRecordWithAttribute(_ sdRef: DNSServiceRef?, _ recordRef: DNSRecordRef?, _ flags: DNSServiceFlags, _ rdlen: UInt16, _ rdata: UnsafeRawPointer?, _ ttl: UInt32, _ attr: DNSServiceAttributeRef?) -> DNSServiceErrorType
```

## See Also

### Functions

- [DNSServiceSleepKeepalive(_:_:_:_:_:_:)](dnssd/dnsservicesleepkeepalive(_:_:_:_:_:_:).md)
- [DNSServiceAttributeCreate()](dnssd/dnsserviceattributecreate().md)
- [DNSServiceAttributeDeallocate(_:)](dnssd/dnsserviceattributedeallocate(_:).md)
- [DNSServiceAttributeSetAAAAPolicy(_:_:)](dnssd/dnsserviceattributesetaaaapolicy(_:_:).md)
- [DNSServiceAttributeSetHostKeyHash(_:_:)](dnssd/dnsserviceattributesethostkeyhash(_:_:).md)
- [DNSServiceAttributeSetTimestamp(_:_:)](dnssd/dnsserviceattributesettimestamp(_:_:).md)
- [DNSServiceQueryRecordWithAttribute(_:_:_:_:_:_:_:_:_:)](dnssd/dnsservicequeryrecordwithattribute(_:_:_:_:_:_:_:_:_:).md)
- [DNSServiceRegisterRecordWithAttribute(_:_:_:_:_:_:_:_:_:_:_:_:_:)](dnssd/dnsserviceregisterrecordwithattribute(_:_:_:_:_:_:_:_:_:_:_:_:_:).md)
- [DNSServiceRegisterWithAttribute(_:_:_:_:_:_:_:_:_:_:_:_:_:)](dnssd/dnsserviceregisterwithattribute(_:_:_:_:_:_:_:_:_:_:_:_:_:).md)
- [DNSServiceSendQueuedRequests(_:)](dnssd/dnsservicesendqueuedrequests(_:).md)
