[Samba] How to delete an unwanted NS record

James B. Byrne byrnejb at harte-lyne.ca
Wed Jul 8 19:42:56 UTC 2020


On Wed Jul 8 18:38:00 UTC 2020, Rowland penny  wrote:
>
>Try it like this:
>
> samba-tool dns delete localhost brockley.harte-lyne.ca @ A 192.168.216.162

It worked, as you wrote.

I tried seven variations of that command and I never managed to hit upon the
right one.

[root at smb4-1 ~ (master)]# history | grep 'dns delete' | grep 192.168.216.162 |
grep A
 2420  2020-07-07 10:23:24: samba-tool dns delete localhost
brockley.harte-lyne.ca brockley.harte-lyne.ca. A 192.168.216.162 -U
administrator
 2421  2020-07-07 10:23:57: samba-tool dns delete localhost
brockley.harte-lyne.ca brockley.harte-lyne.ca A 192.168.216.162 -U
administrator
 2422  2020-07-07 10:25:40: samba-tool dns delete localhost
brockley.harte-lyne.ca smb4-2 A 192.168.216.162 -U administrator
 2474  2020-07-07 14:10:22: samba-tool dns delete localhost
brockley.harte-lyne.ca smb4-2 A 192.168.216.162 -U administrator
 2514  2020-07-08 11:29:41: samba-tool dns delete localhost
brockley.harte-lyne.ca brockley.harte-lyne.ca. A 192.168.216.162 -U
administrator
 2524  2020-07-08 12:02:44: samba-tool dns delete localhost
brockley.harte-lyne.ca. @ NS A 192.168.216.162
 2555  2020-07-08 15:34:49: samba-tool dns delete localhost
brockley.harte-lyne.ca @ A 192.168.216.162

Thank you.


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




More information about the samba mailing list