Add and Delete DNS Entries

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