def DNSServiceUpdateRecord(sdRef, RecordRef=None, flags=0, rdata=_NO_DEFAULT, ttl=0):
 _NO_DEFAULT.check(rdata)
 (rdlen, rdata) = _string_to_length_and_void_p(rdata)
 _global_lock.acquire()
 try:
  _DNSServiceUpdateRecord(sdRef, RecordRef, flags, rdlen, rdata, ttl)
 finally:
  _global_lock.release()

def DNSServiceUpdateRecord ( sdRef , RecordRef = None , flags = 0 , rdata = _NO_DEFAULT , ttl = 0 ) : _NO_DEFAULT . check ( rdata ) ( rdlen , rdata ) = _string_to_length_and_void_p ( rdata ) _global_lock . acquire ( ) try : _DNSServiceUpdateRecord ( sdRef , RecordRef , flags , rdlen , rdata , ttl ) finally : _global_lock . release ( )
update a registered resource record .