syncRecord
cddnss.syncRecord
Syncs the given DNS record.
Parameters:
recordThe record that should be updated.[Record]ipThe ip that should be used to update the record.[string]Optional
Hint: When a record does not exist, it will be created.
Hint 2: The content of the record is preferred to the parameter.
Returns:
The data of the synced record.
[Promise<RecordData>]
cddnss.syncRecord(record, '1.2.3.4').then((recordData: RecordData) => {
console.log(recordData);
});Last updated
Was this helpful?