5.2.1. How to Add and Delete DNS Entries¶
Enter the following command in a shell terminal:
$ samba-tool dns add localhost [domain] [NAME] [type] [parameter] -U [Samba Administrator]
E.g.:
$ samba-tool dns add 127.0.0.1 brconsulting.info vm01-something A 192.168.0.1 -U Administrator
$ samba-tool dns delete 127.0.0.1 brconsulting.info vm01-something A 192.168.0.1 -U Administrator
Note
When you delete all the A, AAAA, or CNAME entries associated to an entry it will also be deleted entirely.