---
title: DNSServiceAttributeCreate()
framework: dnssd
role: symbol
role_heading: Function
path: dnssd/dnsserviceattributecreate()
---

# DNSServiceAttributeCreate()

## Declaration

```swift
func DNSServiceAttributeCreate() -> DNSServiceAttributeRef?
```

## See Also

### Functions

- [DNSServiceSleepKeepalive(_:_:_:_:_:_:)](dnssd/dnsservicesleepkeepalive(_:_:_:_:_:_:).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)
- [DNSServiceUpdateRecordWithAttribute(_:_:_:_:_:_:_:)](dnssd/dnsserviceupdaterecordwithattribute(_:_:_:_:_:_:_:).md)
