James B. Byrne
2020-Jul-07 14:01 UTC
[Samba] Can someone explain why host reports no SOA record for domain on DC?
[root at smb4-1 ~ (master)]# samba-tool dns query localhost brockley.harte-lyne.ca brockley.harte-lyne.ca ALL -U administrator Password for [BROCKLEY\administrator]: Name=, Records=4, Children=0 SOA: serial=3, refresh=900, retry=600, expire=86400, minttl=3600, ns=SMB4-1.brockley.harte-lyne.ca., email=hostmaster.brockley.harte-lyne.ca. (flags=600000f0, serial=110, ttl=3600) NS: SMB4-1.brockley.harte-lyne.ca. (flags=600000f0, serial=110, ttl=900) A: 192.168.18.161 (flags=600000f0, serial=110, ttl=900) A: 192.168.18.162 (flags=600000f0, serial=110, 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=DomainDnsZones, Records=0, Children=2 Name=ForestDnsZones, Records=0, Children=2 Name=smb4-1, Records=1, Children=0 A: 192.168.18.161 (flags=f0, serial=110, ttl=900) Name=SMB4-2, Records=2, Children=0 A: 192.168.18.162 (flags=f0, serial=2, ttl=900) A: 192.168.216.162 (flags=f0, serial=3, ttl=900) [root at smb4-1 ~ (master)]# cat /etc/resolv.conf search brockley.harte-lyne.ca hamilton.harte-lyne.ca harte-lyne.ca nameserver 192.168.18.161 nameserver 216.185.71.33 nameserver 216.185.71.34 [root at smb4-1 ~ (master)]# host -t SOA smb4-1.brockley.harte-lyne.ca smb4-1.brockley.harte-lyne.ca has no SOA record [root at smb4-1 ~ (master)]# host -t SOA smb4-1.brockley.harte-lyne.ca 192.168.18.161 Using domain server: Name: 192.168.18.161 Address: 192.168.18.161#53 Aliases: smb4-1.brockley.harte-lyne.ca has no SOA record -- *** 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
L.P.H. van Belle
2020-Jul-07 14:35 UTC
[Samba] Can someone explain why host reports no SOA record for domain on DC?
Looks like your DNS is rotating the nameservers Try : # /etc/resolv.conf search brockley.harte-lyne.ca nameserver 192.168.18.161 But this is a resolving issue. I cant make this fail at my side. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > James B. Byrne via samba > Verzonden: dinsdag 7 juli 2020 16:02 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Can someone explain why host reports no > SOA record for domain on DC? > > [root at smb4-1 ~ (master)]# samba-tool dns query localhost > brockley.harte-lyne.ca > brockley.harte-lyne.ca ALL -U administrator > Password for [BROCKLEY\administrator]: > Name=, Records=4, Children=0 > SOA: serial=3, refresh=900, retry=600, expire=86400, minttl=3600, > ns=SMB4-1.brockley.harte-lyne.ca., > email=hostmaster.brockley.harte-lyne.ca. > (flags=600000f0, serial=110, ttl=3600) > NS: SMB4-1.brockley.harte-lyne.ca. (flags=600000f0, > serial=110, ttl=900) > A: 192.168.18.161 (flags=600000f0, serial=110, ttl=900) > A: 192.168.18.162 (flags=600000f0, serial=110, 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=DomainDnsZones, Records=0, Children=2 > Name=ForestDnsZones, Records=0, Children=2 > Name=smb4-1, Records=1, Children=0 > A: 192.168.18.161 (flags=f0, serial=110, ttl=900) > Name=SMB4-2, Records=2, Children=0 > A: 192.168.18.162 (flags=f0, serial=2, ttl=900) > A: 192.168.216.162 (flags=f0, serial=3, ttl=900) > > [root at smb4-1 ~ (master)]# cat /etc/resolv.conf > search brockley.harte-lyne.ca hamilton.harte-lyne.ca harte-lyne.ca > nameserver 192.168.18.161 > nameserver 216.185.71.33 > nameserver 216.185.71.34 > > > [root at smb4-1 ~ (master)]# host -t SOA smb4-1.brockley.harte-lyne.ca > smb4-1.brockley.harte-lyne.ca has no SOA record > > [root at smb4-1 ~ (master)]# host -t SOA > smb4-1.brockley.harte-lyne.ca 192.168.18.161 > Using domain server: > Name: 192.168.18.161 > Address: 192.168.18.161#53 > Aliases: > > smb4-1.brockley.harte-lyne.ca has no SOA record > > -- > *** 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 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Rowland penny
2020-Jul-07 14:37 UTC
[Samba] Can someone explain why host reports no SOA record for domain on DC?
On 07/07/2020 15:01, James B. Byrne via samba wrote:> [root at smb4-1 ~ (master)]# host -t SOA smb4-1.brockley.harte-lyne.ca > smb4-1.brockley.harte-lyne.ca has no SOA recordOK, if I run your command against my DC's, I get a similar response: host -t SOA DC01.samdom.example.com DC01.samdom.example.com has no SOA record host -t SOA DC4.samdom.example.com DC4.samdom.example.com has no SOA record However, if I run it like this on each DC: root at dc01:~# host -t soa samdom.example.com samdom.example.com has SOA record dc01.samdom.example.com. hostmaster.samdom.example.com. 235227 900 600 86400 3600 root at dc4:~/tests# host -t soa samdom.example.com samdom.example.com has SOA record dc4.samdom.example.com. hostmaster.samdom.example.com. 235227 900 600 86400 3600 Rowland
James B. Byrne
2020-Jul-07 15:31 UTC
[Samba] [SOLVED] Re: Can someone explain why host reports no SOA record for domain on DC?
On Tue, July 7, 2020 10:01, James B. Byrne wrote:> > smb4-1.brockley.harte-lyne.ca has no SOA record >Because smb4-1.brockley.harte-lyne.ca. is not the domain; brockley.harte-lyne.ca. is. -- *** 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