[Samba] Samba 4 dns-resolv-prob with different subnets

L.P.H. van Belle belle at bazuin.nl
Mon Sep 1 01:51:23 MDT 2014


Grusse..

adviced is your hosts to put the fqdn first like this. 
>on dc-01:
>127.0.0.1   localhost   localhost.localdomain
>192.168.0.101 dc-01.obel.lan	dc-01
>
>on dc-02:
>127.0.0.1   localhost   localhost.localdomain
>192.168.1.100 dc-02.obel.lan dc-02

>> /etc/resolv.conf
>
>on dc-02 192.168.1.100 (dns-resolution works):
>search obel.lan
>nameserver 192.168.1.100
>
>on dc-01 192.168.0.101 (dns-resolution doesn´t work):
>search obel.lan
>#nameserver 192.168.0.100   # put the # infront first while testing. 
>nameserver 192.168.1.101

then ping the fqdn to each other of one fails, post it here. 
remove the # from the /etc/hosts. on DC2 and test again. 

Is DC1 a new installed and/or was it installed and removed at first? 
Is there any firewall 

Can you run this on both servers. 

host -t A dc-01.obel.lan
host -t A dc-02.obel.lan
... 

now i saw you other thread.
"Samba 4 fsmo-handling on crashed dc-server" 
is your DC1 a new installed server inplace of an other "old DC1" 
than i suggest you first do all check on the DC2. 
make sure all FSMO roles are there. 
make sure your dns is correct there and ALL old records are gone. 
go through the wiki as you would do a new install, perform all check standing there. 


Greetz, 

Louis 


>-----Oorspronkelijk bericht-----
>Van: grotz at obel-architekten.de 
>[mailto:samba-bounces at lists.samba.org] Namens Peter Grotz - 
>Obel und Partner GbR
>Verzonden: zondag 31 augustus 2014 2:14
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] Samba 4 dns-resolv-prob with different subnets
>
>Hello Louis,
>
>> Datum: Fri, 29 Aug 2014 15:17:44 +0200
>> Von: "L.P.H. van Belle" <belle at bazuin.nl>
>> An: "samba at lists.samba.org" <samba at lists.samba.org>
>> Betreff: Re: [Samba] Samba 4 dns-resolv-prob with different subnets
>
>
>> pleast post your
>
>> /etc/hosts
>
>on dc-01:
>127.0.0.1   localhost   localhost.localdomain
>192.168.0.101 dc-01   dc-01.obel.lan
>
>on dc-02:
>127.0.0.1   localhost   localhost.localdomain
>192.168.1.100 dc-02   dc-02.obel.lan
>
>
>> /etc/resolv.conf
>
>on dc-02 192.168.1.100 (dns-resolution works):
>search obel.lan
>nameserver 192.168.1.100
>nameserver 192.168.1.102 #def gateway on subnet 192.168.1.0
>
>on dc-01 192.168.0.101 (dns-resolution doesn´t work):
>search obel.lan
>nameserver 192.168.1.100
>nameserver 192.168.0.101
>nameserver 192.168.0.102 #def gateway on subnet 192.168.0.0
>
>
>> which OS ( debian/ubuntu/centos)
>
>centos 6.5
>
>> the output of smbd -V
>
>sernet-samba 4.1.11
>
>> samba internal DNS or Bind9_DLZ
>
>samba internal
>
>> and what if you use the FQDN of the DC-02 and not the hostname.
>
>using FQDN on DC-02 where the first samba-dc was installed is 
>working fine
>with all resolving, using FQDN on DC-01 gives me the described errors
>
>> and you can add in the /etc/resolv.conf and extra search like
>
>> search internal.domain.tld someotherinternal.domain.tld.
>> nameserver ...
>
>doesn´t help :(
>
>> which nameserver is use the server on the 192.168.1.0 net 
>and is this 
>> net also defined on the samba 4 DC nameserver.
>
>192.168.1.0 is using the samba internal dnsserver and is 
>working fine even
>for the dns-entries from the 192.168.0.0-subnet.
>
>for dc-01 at 192.168.0.0 there are only the resolv.conf-entries because
>joining the dc-01 into domain will only success when 
>dns/kerberos can resolv
>the working dc-02 on the other subnet where the domain is 
>working at the
>moment.
>
>
>> Greetz,
>
>> Louis
>
>Thanks again!
>
>Peter
>
>
>-- 
>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