File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ dns_entry_data = {
565565 " content" : " 127.0.0.1"
566566}
567567# Add the DNS record to the domain.
568- domain.delete (dns_entry_data)
568+ domain.dns.create (dns_entry_data)
569569```
570570
571571#### Update single DNS entry
@@ -589,7 +589,7 @@ dns_entry_data = {
589589 " content" : " 127.0.0.2" # The update content.
590590}
591591# Update the content of a single DNS record.
592- domain.update(dns_entry_data)
592+ domain.dns. update(dns_entry_data)
593593```
594594
595595#### Update all DNS entries for a domain
@@ -636,7 +636,7 @@ dns_entry_data = {
636636 " content" : " 127.0.0.1"
637637}
638638# Delete the DNS record from the domain.
639- domain.delete(dns_entry_data)
639+ domain.dns. delete(dns_entry_data)
640640```
641641
642642The ** transip.v6.objects.DnsEntry** class also provides a ** delete()** method to delete a ** DnsEntry** object from an instance.
You can’t perform that action at this time.
0 commit comments