Changing DNS domain/SOA values with samba-tool?

Adam Tauno Williams awilliam at
Thu Dec 22 04:53:43 MST 2011

Okay, I can change the IP of the host entry for the DC.

samba-tool dns update barbel A

Works great.

But how can I change the value of the root "." entry of the domain.
Thatalso holds an A record I don't seem to be able to change.

samba-tool dns query @ ALL
Password for [administrator at MICORE.US]: **************8
  Name=, Records=3, Children=0
    SOA: serial=5, refresh=900, retry=600, expire=86400,, (flags=600000f0,
serial=5, ttl=3600)
    NS: (flags=600000f0, serial=1, ttl=900)
*** A: (flags=600000f0, serial=1, ttl=900) *****
  Name=_msdcs, Records=0, Children=0
  Name=_sites, Records=0, Children=1
  Name=_tcp, Records=0, Children=4
  Name=_udp, Records=0, Children=2
  Name=barbel, Records=1, Children=0
    A: (flags=f0, serial=3, ttl=900)
  Name=DomainDnsZones, Records=0, Children=2
  Name=ForestDnsZones, Records=0, Children=2

But what is the value for <name> in "samba-tool dns update <name> A" in order to modify that
entry.  I've tried "", ".", "@"....  none of which map to a record in
the LDB, thus yielding -

ERROR(runtime): uncaught exception - (9701,

More information about the samba-technical mailing list