[Samba] Windows 10 does not register dns in samba 4.3.4 SOLVED

L.P.H. van Belle belle at bazuin.nl
Wed Mar 16 08:18:20 UTC 2016


Hmm, thats strange, have you set "forward first" in bind? 
If so make sure the search order is correct.
And the /etc/resolv.conf  
Add: 
options edns0
(optional a timeout 3 ( default 30 )


about the edns, make sure also that you allow for dns port 53 udp AND tcp. 
If the udp packages is to large it fallsback to tcp. 
And/or set bind to ipv4 only. ( listen-on-v6 { none; }; 

Your logs are imo normal, like you, i have also 2 inet provders. 
One does not route ipv6..  i have seen the same as you, 
but i didnt have and problem with the registering dns. 
The "not routing ipv6" is due to the internet modem of the provider. :-( 
so one you have have a look into also. 



Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: Mueller [mailto:mueller at tropenklinik.de]
> Verzonden: woensdag 16 maart 2016 8:52
> Aan: 'L.P.H. van Belle'; samba at lists.samba.org
> Onderwerp: AW: Re: [Samba] Windows 10 does not register dns in samba 4.3.4
> SOLVED
> 
> So after digging deep and looking into my /var/log/messages for dns and
> recognizing that my providers internet dns not work correctly:
> 
> Mar 16 07:49:48 s4slave named-sdb[15870]: error (connection refused)
> resolving 'ns2.allowsread.com/AAAA/IN': 192.52.178.30#53
> Mar 16 07:49:50 s4slave named-sdb[15870]: error (network unreachable)
> resolving 'ns2.allowsread.com/AAAA/IN': 2001:503:231d::2:30#53
> Mar 16 07:49:52 s4slave named-sdb[15870]: error (connection refused)
> resolving 'ns2.allowsread.com/AAAA/IN': 192.55.83.30#53
> Mar 16 07:49:52 s4slave named-sdb[15870]: error (connection refused)
> resolving 'ns2.allowsread.com/AAAA/IN': 192.31.80.30#53
> Mar 16 07:49:55 s4slave named-sdb[15870]: error (connection refused)
> resolving 'ns2.allowsread.com/AAAA/IN': 192.54.112.30#53
> 
> I changes my forwarder in named.conf to our second I-provider line and
> samba4 with bind_dlz worked again and registered all machines.
> 
> So if my forwarders not work my samba ads will not work correctly too!?
> There need to be a fix for that.
> 
> Daniel
> 
> 
> EDV Daniel Müller
> 
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de
> 
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Mueller [mailto:mueller at tplk.loc]
> Gesendet: Dienstag, 15. März 2016 13:42
> An: 'L.P.H. van Belle' <belle at bazuin.nl>; 'samba at lists.samba.org'
> <samba at lists.samba.org>
> Betreff: AW: [SPAMVERDACHT] Re: [Samba] Windows 10 does not register dns
> in samba 4.3.4
> 
> This is always checked on all my machines:  -->"5.Make sure that "Register
> this connection's addresses in DNS" checkbox is checked."
> And really avast is running on the machines I will try this
> 
> 
> EDV Daniel Müller
> 
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de
> 
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: L.P.H. van Belle [mailto:belle at bazuin.nl]
> Gesendet: Dienstag, 15. März 2016 13:24
> An: samba at lists.samba.org
> Betreff: [SPAMVERDACHT] Re: [Samba] Windows 10 does not register dns in
> samba 4.3.4
> 
> Are your running more domains on this samba server, this is the primary
> domain? tplk.loc ?
> 
> The settings below looks good, you can try setting ipv4 preffered over
> ipv6 ( or disable ipv6)
> 
> You can try also it with a fixed primary dns suffix.
> https://technet.microsoft.com/en-us/library/cc786695(v=ws.10).aspx
> 
> 1.Open the Network Connections folder and view available connections.
> 2.Right-click the connection that you want to configure, and then click
> Properties.
> 3.On the General tab, in This connection uses the following items, click
> Internet Protocol Version 4 (TCP/IPv4), and then click Properties.
> 4.Click Advanced.
> 5.Make sure that "Register this connection's addresses in DNS" checkbox is
> checked.
> 
> My first guest is a mismatch in primary dns, where to find more info..
> 
> The initial join log.
> C:\Windows\debug\netsetup.log
> ( or look yourself for:
> NetpLoadParameters
> NetpGetDnsHostName: Read NV Domain:
> NetpJoinDomainLocal: status of setting ComputerNamePhysicalDnsDomain to .
> ?
> 
> 
> Ow almost forgot.
> Under>> ALL settings>>Update and Security>>Windows Update
> Disable the P2P function, if lots of p2p are busy you can have strang
> problems also.
> 
> And the very last,
> 
> Which viruscanner is installed on that windows 10.
> There are know problems with avast and the "secure DNS protetion"
> ( disable it )
> 
> 
> fixed primary dns suffix would be my first option to try, and/or check.
> 
> Greetz,
> 
> Louis
> 
> 
> 
> > -----Oorspronkelijk bericht-----
> > Van: Mueller [mailto:mueller at tropenklinik.de]
> > Verzonden: dinsdag 15 maart 2016 12:19
> > Aan: 'L.P.H. van Belle'; samba at lists.samba.org
> > Onderwerp: AW: [Samba] Windows 10 does not register dns in samba 4.3.4
> >
> > The same Windows 10 machine
> >
> > C:\Users\administrator.TPLK>ipconfig /all
> >
> > Windows-IP-Konfiguration
> >
> >    Hostname  . . . . . . . . . . . . : EDVADMIN
> >    Primäres DNS-Suffix . . . . . . . : tplk.loc
> >    Knotentyp . . . . . . . . . . . . : Hybrid
> >    IP-Routing aktiviert  . . . . . . : Nein
> >    WINS-Proxy aktiviert  . . . . . . : Nein
> >    DNS-Suffixsuchliste . . . . . . . : tplk.loc
> >
> > Ethernet-Adapter LAN-Verbindung:
> >
> >    Verbindungsspezifisches DNS-Suffix:
> >    Beschreibung. . . . . . . . . . . : Realtek PCIe GBE Family
> Controller
> >    Physische Adresse . . . . . . . . : 00-1C-C0-68-4E-82
> >    DHCP aktiviert. . . . . . . . . . : Nein
> >    Autokonfiguration aktiviert . . . : Ja
> >    Verbindungslokale IPv6-Adresse  . :
> > fe80::a8fe:b035:6caa:9b8a%8(Bevorzugt)
> >    IPv4-Adresse  . . . . . . . . . . : 192.168.135.152(Bevorzugt)
> >    Subnetzmaske  . . . . . . . . . . : 255.255.255.0
> >    Standardgateway . . . . . . . . . : 192.168.135.14
> >    DHCPv6-IAID . . . . . . . . . . . : 234888384
> >    DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-16-73-C1-E3-00-1C-C0-
> > 68-4E-82
> >    DNS-Server  . . . . . . . . . . . : 192.168.135.230
> >                                        192.168.135.253
> >    NetBIOS über TCP/IP . . . . . . . : Aktiviert
> >
> > Ethernet-Adapter Ethernet:
> >
> >    Verbindungsspezifisches DNS-Suffix:
> >    Beschreibung. . . . . . . . . . . : VMware Virtual Ethernet Adapter
> for
> > VMnet1
> >    Physische Adresse . . . . . . . . : 00-50-56-C0-00-01
> >    DHCP aktiviert. . . . . . . . . . : Ja
> >    Autokonfiguration aktiviert . . . : Ja
> >    Verbindungslokale IPv6-Adresse  . :
> > fe80::bcba:c271:2ce3:90ab%5(Bevorzugt)
> >    IPv4-Adresse  . . . . . . . . . . : 192.168.159.1(Bevorzugt)
> >    Subnetzmaske  . . . . . . . . . . : 255.255.255.0
> >    Lease erhalten. . . . . . . . . . : Freitag, 11. März 2016 12:40:08
> >    Lease läuft ab. . . . . . . . . . : Dienstag, 15. März 2016 12:40:08
> >    Standardgateway . . . . . . . . . :
> >    DHCP-Server . . . . . . . . . . . : 192.168.159.254
> >    DHCPv6-IAID . . . . . . . . . . . : 50352214
> >    DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-16-73-C1-E3-00-1C-C0-
> > 68-4E-82
> >    DNS-Server  . . . . . . . . . . . : fec0:0:0:ffff::1%1
> >                                        fec0:0:0:ffff::2%1
> >                                        fec0:0:0:ffff::3%1
> >    NetBIOS über TCP/IP . . . . . . . : Aktiviert
> >
> > Ethernet-Adapter Ethernet 2:
> >
> >    Verbindungsspezifisches DNS-Suffix:
> >    Beschreibung. . . . . . . . . . . : VMware Virtual Ethernet Adapter
> for
> > VMnet8
> >    Physische Adresse . . . . . . . . : 00-50-56-C0-00-08
> >    DHCP aktiviert. . . . . . . . . . : Ja
> >    Autokonfiguration aktiviert . . . : Ja
> >    Verbindungslokale IPv6-Adresse  . :
> > fe80::51d2:a7e5:1bd5:bbcd%3(Bevorzugt)
> >    IPv4-Adresse  . . . . . . . . . . : 192.168.87.1(Bevorzugt)
> >    Subnetzmaske  . . . . . . . . . . : 255.255.255.0
> >    Lease erhalten. . . . . . . . . . : Freitag, 11. März 2016 12:40:05
> >    Lease läuft ab. . . . . . . . . . : Dienstag, 15. März 2016 12:40:09
> >    Standardgateway . . . . . . . . . :
> >    DHCP-Server . . . . . . . . . . . : 192.168.87.254
> >    DHCPv6-IAID . . . . . . . . . . . : 167792726
> >    DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-16-73-C1-E3-00-1C-C0-
> > 68-4E-82
> >    DNS-Server  . . . . . . . . . . . : fec0:0:0:ffff::1%1
> >                                        fec0:0:0:ffff::2%1
> >                                        fec0:0:0:ffff::3%1
> >    Primärer WINS-Server. . . . . . . : 192.168.87.2
> >    NetBIOS über TCP/IP . . . . . . . : Aktiviert
> >
> > Ethernet-Adapter Ethernet 3:
> >
> >    Medienstatus. . . . . . . . . . . : Medium getrennt
> >    Verbindungsspezifisches DNS-Suffix:
> >    Beschreibung. . . . . . . . . . . : TAP-Win32 Adapter V9
> >    Physische Adresse . . . . . . . . : 00-FF-9B-C4-50-86
> >    DHCP aktiviert. . . . . . . . . . : Ja
> >    Autokonfiguration aktiviert . . . : Ja
> >
> > Tunneladapter isatap.{6CE2E04D-047B-4AE5-9808-CE3FC0541705}:
> >
> >    Medienstatus. . . . . . . . . . . : Medium getrennt
> >    Verbindungsspezifisches DNS-Suffix:
> >    Beschreibung. . . . . . . . . . . : Microsoft ISATAP Adapter
> >    Physische Adresse . . . . . . . . : 00-00-00-00-00-00-00-E0
> >    DHCP aktiviert. . . . . . . . . . : Nein
> >    Autokonfiguration aktiviert . . . : Ja
> >
> > Tunneladapter isatap.{139717EF-ED83-4EC5-9644-AC71BE83FC1E}:
> >
> >    Medienstatus. . . . . . . . . . . : Medium getrennt
> >    Verbindungsspezifisches DNS-Suffix:
> >    Beschreibung. . . . . . . . . . . : Microsoft ISATAP Adapter #2
> >    Physische Adresse . . . . . . . . : 00-00-00-00-00-00-00-E0
> >    DHCP aktiviert. . . . . . . . . . : Nein
> >    Autokonfiguration aktiviert . . . : Ja
> >
> > Tunneladapter isatap.{D569DFB8-63B3-4977-8413-AC61E43D54DF}:
> >
> >    Medienstatus. . . . . . . . . . . : Medium getrennt
> >    Verbindungsspezifisches DNS-Suffix:
> >    Beschreibung. . . . . . . . . . . : Microsoft ISATAP Adapter #3
> >    Physische Adresse . . . . . . . . : 00-00-00-00-00-00-00-E0
> >    DHCP aktiviert. . . . . . . . . . : Nein
> >    Autokonfiguration aktiviert . . . : Ja
> >
> >
> > EDV Daniel Müller
> >
> > Leitung EDV
> > Tropenklinik Paul-Lechler-Krankenhaus
> > Paul-Lechler-Str. 24
> > 72076 Tübingen
> > Tel.: 07071/206-463, Fax: 07071/206-499
> > eMail: mueller at tropenklinik.de
> > Internet: www.tropenklinik.de
> >
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: L.P.H. van Belle [mailto:belle at bazuin.nl]
> > Gesendet: Dienstag, 15. März 2016 11:00
> > An: samba at lists.samba.org
> > Betreff: Re: [Samba] Windows 10 does not register dns in samba 4.3.4
> >
> > Can you show me a ipconfig /all
> >
> > > -----Oorspronkelijk bericht-----
> > > Van: Mueller [mailto:mueller at tropenklinik.de]
> > > Verzonden: dinsdag 15 maart 2016 10:51
> > > Aan: 'L.P.H. van Belle'; samba at lists.samba.org
> > > Onderwerp: AW: [Samba] Windows 10 does not register dns in samba 4.3.4
> > >
> > > After ipconfig /registerdns
> > > This is only with windows 10 machines not with 8.1/7/XP
> > >
> > > This will be german:
> > >
> > >
> > > ID: 8020  DNS-Client Events:
> > > rotokollname: System
> > > Quelle:        Microsoft-Windows-DNS-Client
> > > Datum:         15.03.2016 10:43:58
> > > Ereignis-ID:   8020
> > > Aufgabenkategorie:(1028)
> > > Ebene:         Warnung
> > > Schlüsselwörter:
> > > Benutzer:      Netzwerkdienst
> > > Computer:      EDVADMIN.tplk.loc
> > > Beschreibung:
> > > Fehler beim Registrieren der Hostressourceneinträge (A oder AAAA) für
> > > den Netzwerkadapter  mit den folgenden Einstellungen:
> > >
> > >            Adaptername: {D569DFB8-63B3-4977-8413-AC61E43D54DF}
> > >            Hostname: EDVADMIN
> > >            Primäres Domänensuffix: tplk.loc
> > >            DNS-Serverliste:
> > >              	192.168.135.230, 192.168.135.253
> > >            Server, an den das Update gesendet wurde: <?>
> > >            IP-Adresse(n) :
> > >              192.168.135.152
> > >
> > > Die Ressourceneinträge konnten aufgrund eines Systemproblems nicht
> > > während der Updateanforderung registriert werden. Sie können die
> > > DNS-Registrierung des Netzwerkadapters und der dazugehörigen
> > > Einstellungen manuell ausführen, indem Sie an der Eingabeaufforderung
> > "ipconfig /registerdns"
> > > eingeben. Wenden Sie sich an den DNS-Server- oder
> > > Netzwerksystemadministrator, wenn das Problem weiterhin besteht.
> > > Genauere Fehlercodeinformationen finden Sie in den Ereignisdetails.
> > > Ereignis-XML:
> > > <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
> > >   <System>
> > >     <Provider Name="Microsoft-Windows-DNS-Client"
> > > Guid="{1C95126E-7EEA- 49A9-A3FE-A378B03DDB4D}" />
> > >     <EventID>8020</EventID>
> > >     <Version>0</Version>
> > >     <Level>3</Level>
> > >     <Task>1028</Task>
> > >     <Opcode>0</Opcode>
> > >     <Keywords>0x4000000000000000</Keywords>
> > >     <TimeCreated SystemTime="2016-03-15T09:43:58.625125300Z" />
> > >     <EventRecordID>5837</EventRecordID>
> > >     <Correlation />
> > >     <Execution ProcessID="988" ThreadID="2060" />
> > >     <Channel>System</Channel>
> > >     <Computer>EDVADMIN.tplk.loc</Computer>
> > >     <Security UserID="S-1-5-20" />
> > >   </System>
> > >   <EventData>
> > >     <Data Name="AdapterName">{D569DFB8-63B3-4977-8413-
> > AC61E43D54DF}</Data>
> > >     <Data Name="HostName">EDVADMIN</Data>
> > >     <Data Name="AdapterSuffixName">tplk.loc</Data>
> > >     <Data Name="DnsServerList">	192.168.135.230,
> > > 192.168.135.253</Data>
> > >     <Data Name="Sent UpdateServer"><?></Data>
> > >     <Data Name="Ipaddress">192.168.135.152</Data>
> > >     <Data Name="ErrorCode">9009</Data>
> > >   </EventData>
> > > </Event>
> > >
> > >
> > > EDV Daniel Müller
> > >
> > > Leitung EDV
> > > Tropenklinik Paul-Lechler-Krankenhaus
> > > Paul-Lechler-Str. 24
> > > 72076 Tübingen
> > > Tel.: 07071/206-463, Fax: 07071/206-499
> > > eMail: mueller at tropenklinik.de
> > > Internet: www.tropenklinik.de
> > >
> > >
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: L.P.H. van Belle [mailto:belle at bazuin.nl]
> > > Gesendet: Dienstag, 15. März 2016 10:33
> > > An: samba at lists.samba.org
> > > Betreff: Re: [Samba] Windows 10 does not register dns in samba 4.3.4
> > >
> > > Ok, what is the windows event log telling you.
> > >
> > > You should see an error.
> > > What is the description and event id.
> > >
> > > Gr.
> > >
> > > Louis
> > >
> > >
> > > > -----Oorspronkelijk bericht-----
> > > > Van: Mueller [mailto:mueller at tropenklinik.de]
> > > > Verzonden: dinsdag 15 maart 2016 10:31
> > > > Aan: 'L.P.H. van Belle'; samba at lists.samba.org
> > > > Onderwerp: AW: [Samba] Windows 10 does not register dns in samba
> > > > 4.3.4
> > > >
> > > > Hello,
> > > > Simply when I join the windows machine as administrator  it register
> > > > dns in both forward and reverse. Windows 10 does not.
> > > >
> > > >
> > > > EDV Daniel Müller
> > > >
> > > > Leitung EDV
> > > > Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24
> > > > 72076 Tübingen
> > > > Tel.: 07071/206-463, Fax: 07071/206-499
> > > > eMail: mueller at tropenklinik.de
> > > > Internet: www.tropenklinik.de
> > > >
> > > >
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: L.P.H. van Belle [mailto:belle at bazuin.nl]
> > > > Gesendet: Dienstag, 15. März 2016 10:19
> > > > An: samba at lists.samba.org
> > > > Betreff: Re: [Samba] Windows 10 does not register dns in samba 4.3.4
> > > >
> > > > How are you use the "regiser dns"
> > > > By GPO or DHCP ?
> > > >
> > > > Greetz,
> > > >
> > > > Louis
> > > >
> > > > > -----Oorspronkelijk bericht-----
> > > > > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Mueller
> > > > > Verzonden: dinsdag 15 maart 2016 10:14
> > > > > Aan: samba at lists.samba.org
> > > > > Onderwerp: [Samba] Windows 10 does not register dns in samba 4.3.4
> > > > >
> > > > > Hello to all,
> > > > >
> > > > > I am running samba 4.3.4 on centos 6 and I recognized that new
> > > > > windows
> > > > > 10 clients do not register dns . Windows 8.1 and below do with no
> > > issue.
> > > > > Do I have to configure something special in  my smb.conf?
> > > > >
> > > > > Greetings
> > > > > Daniel
> > > > >
> > > > >
> > > > >
> > > > > EDV Daniel Müller
> > > > >
> > > > > Leitung EDV
> > > > > Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24
> > > > > 72076 Tübingen
> > > > > Tel.: 07071/206-463, Fax: 07071/206-499
> > > > > eMail: mueller at tropenklinik.de
> > > > > Internet: www.tropenklinik.de
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe from this list go to the following URL and read the
> > > > > instructions:  https://lists.samba.org/mailman/options/samba
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe from this list go to the following URL and read the
> > > > instructions:  https://lists.samba.org/mailman/options/samba
> > >
> > >
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  https://lists.samba.org/mailman/options/samba
> >
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> 
> 
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba





More information about the samba mailing list