Hi, This supports my idea, only i did not know that samba internal-dns does not care about the TTL/SOA records. Thank you Denis for this. If thats the case, do we have a bug report on this, becasue TTL/SOA records are most important. Maybe i forgot this when i did setup, using bind9_dlz so long already..> > > > Is there anything specific I can check in the DB? > > like it is written in the logs here above, you are missing the NS and > SOA field in your DNS partition. Internal DNS doesn't care > about it but > Bind-DLZ is less forgiving. You could try something like below (adapt > accordingly): > > samba-tool dns add srvads testdca.lan @ SOA "srvads.testdca.lan > hostmaster.testdca.lan. 2 900 600 86400 3600" -P > samba-tool dns add srvads testdca.lan @ NS srvads.testdca.lan -P > > For the SOA record, the syntax of the text string is : nameserver, > email, serial, refresh, retry, expire, minimumttl > > Cheers, > > Denis > >My idea was: Options - If the samba (config) data does not met the needed requirements for dns you might hit errors. samba-tool testparm -v | egrep "realm|workgroup|netbios|alias" For example. Good : netbios name = my-test1-system Wrong: netbios name = my-test2 system ( space ) Wrong: netbios name = my-test2-system1 ( 16 chars max 15! ) Wrong: netbios name = my-test2-systém ( wrong charaters é ) Wrong: netbios name = my_test2_systém ( wrong charaters _ ) At least thats what i did find on : dns_rdata_fromtext: buffer-0x7f944d595da0:1:near eof: unexpected end of input I notice a strange thing. dns_rdata_fromtext: buffer-0x7f944d595da0:1 << that 1, tels use near line 1. near eof: unexpected end of input < but here its near eof of file. To me it looks like faulty data in line 1. - incorrect TTL/SOA records? All i can suggest now is run the DLZ loader with -d1 or -d3 But try Dennis his option first. Last, if one know a way to export the DNS data from the server to plain text files, that would be great. And no, master/slave setup gives on the slave a binary data file. ;-) Greetz, Louis
On Wed, 16 Jan 2019 15:11:16 +0100 "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:> Hi, > > This supports my idea, only i did not know that samba internal-dns > does not care about the TTL/SOA records. Thank you Denis for this.I missed this (note to self: must scroll down large emails ) Not sure about the internal dns server not caring about SOA or NS records, but provisioning a domain should create both of those records and when a secondary DC restarts, the NS record (at least) should be created.> > If thats the case, do we have a bug report on this, becasue TTL/SOA > records are most important. Maybe i forgot this when i did setup, > using bind9_dlz so long already..I am in the same place, I have never used the internal dns server. Rowland
@Rowland, The application can export in multiple file formats, ldif as well. Would you like a sample of the entire domain or only the schema or any specific? Okay, now I'm with you, I am aware of how to update samba. We have been updating Samba the normal way using the repository. We have been doing updates as should from version 4 moving up slowly to version 4.9.4, not all in a go but over the years as updates and new releases came out. @Denise, Thanks for the info, I'll try the commands and provide feedback. I do however have a SOA and NS records when checking via RSAT On 2019/01/16, 16:23, "samba on behalf of Rowland Penny via samba" <samba-bounces at lists.samba.org on behalf of samba at lists.samba.org> wrote: On Wed, 16 Jan 2019 15:11:16 +0100 "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote: > Hi, > > This supports my idea, only i did not know that samba internal-dns > does not care about the TTL/SOA records. Thank you Denis for this. I missed this (note to self: must scroll down large emails ) Not sure about the internal dns server not caring about SOA or NS records, but provisioning a domain should create both of those records and when a secondary DC restarts, the NS record (at least) should be created. > > If thats the case, do we have a bug report on this, becasue TTL/SOA > records are most important. Maybe i forgot this when i did setup, > using bind9_dlz so long already.. I am in the same place, I have never used the internal dns server. Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba