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

Georg Bretschneider georg+mailinglists.samba at georgb.de
Wed Sep 4 09:24:59 MDT 2013


Hi,

I am running Samba 4.1.0 with Bind 9.8.4 and I am struggling with an "empty" DNS entry.

I used Microsofts DNS MMC to add an A record to one of my zones, later deleted this entry because I wanted to move the record to another zone. After I moved it backed the A record (and the PTR) was invisible in the MMC.

nslookup still works for the IP and hostname from the PDC and other hosts on the network. (Don't ask me why!)

Here are some outputs:

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?


Bye
Georg



More information about the samba mailing list