support setting TTL for domain records

Add ttl argument to create_domain_record