code: func ns1BuildRecord(zoneName string, change *ns1Change) *dns.Record {
  	record := dns.NewRecord(zoneName, change.Endpoint.DNSName, change.Endpoint.RecordType)
  	for _, v := range change.Endpoint.Targets {
  		record.AddAnswer(dns.NewAnswer(strings.Split(v, " ")))
  	}
  	// set detault ttl
  	var ttl = ns1DefaultTTL
  	if change.Endpoint.RecordTTL.IsConfigured() {
  		ttl = int(change.Endpoint.RecordTTL)
  	}
  	record.TTL = ttl
  
  	return record
  }
docs: // ns1BuildRecord returns a dns.Record for a change set