[Samba] "Empty" DNS entry, no A record, can't delete or update

Thomas Zeitinger thomas.zeitinger at it2.at
Thu Sep 5 01:38:33 MDT 2013


Hi Georg,

On 2013-09-04 17:24, Georg Bretschneider wrote:
> root:~# samba-tool dns query pdc.domain.local zoneA hostA ALL -Uadministrator
>   Name=, Records=0, Children=0
>
> root:~# samba-tool dns query pdc.domain.local zoneA @ ALL -Uadministrator
>   [a lot of correct host entries with their corresponding A records]
>   Name=hostA, Records=0, Children=0 # notice the missing second line. Example: A: 192.168.0.100 (flags=f0, serial=11, ttl=0)
>   [more host entries]
>
> root:~# samba-tool dns add pdc.domain.local zoneA hostA A 192.168.0.100 -Uadministrator
> ERROR(runtime): uncaught exception - (9711, 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", line 1067, in run
>     0, server, zone, name, add_rec_buf, None)
>
> I don't know how to get rid of this.
>
> Any suggestions?
>

What about "samba-tool dns delete"?

Best regards

-- 
Thomas Zeitinger
Kundenbetreuung

IT-Quadrat   EDV Dienstleistungs- und Handels GmbH
Krongasse 8/2 A-1050 Wien
Tel: +43 (1) 311 44 00 - 10
Fax: +43 (1) 311 44 00 - 90
Thomas.Zeitinger at it2.at
www.it2.at

FN 287345t
UID ATU63123113




More information about the samba mailing list