Add and Delete DNS Entries
On this page
When you delete all the A, AAAA, or CNAME entries associated to an entry
it will also be deleted entirely.
Adding an Entry
Enter the following command in a shell terminal:
$ samba-tool dns add localhost [domain] [NAME] [type] [parameter] -U [Samba Administrator]
Deleting an Entry
$ samba-tool dns delete [domain] [NAME] [type] [parameter] -U Administrator
Example
$ samba-tool dns add 127.0.0.1 example.com vm01-something A 192.168.0.1 -U Administrator $ samba-tool dns delete 127.0.0.1 example.com vm01-something A 192.168.0.1 -U Administrator