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 = {
565
565
" content" : " 127.0.0.1"
566
566
}
567
567
# Add the DNS record to the domain.
568
- domain.delete (dns_entry_data)
568
+ domain.dns.create (dns_entry_data)
569
569
```
570
570
571
571
#### Update single DNS entry
@@ -589,7 +589,7 @@ dns_entry_data = {
589
589
" content" : " 127.0.0.2" # The update content.
590
590
}
591
591
# Update the content of a single DNS record.
592
- domain.update(dns_entry_data)
592
+ domain.dns. update(dns_entry_data)
593
593
```
594
594
595
595
#### Update all DNS entries for a domain
@@ -636,7 +636,7 @@ dns_entry_data = {
636
636
" content" : " 127.0.0.1"
637
637
}
638
638
# Delete the DNS record from the domain.
639
- domain.delete(dns_entry_data)
639
+ domain.dns. delete(dns_entry_data)
640
640
```
641
641
642
642
The ** 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