Peter Grotz - Obel und Partner GbR
2014-Aug-29 12:55 UTC
[Samba] Samba 4 dns-resolv-prob with different subnets
Hello, I?m using one Samba4-dc ?d-02? (IP 192.168.1.100) on subnet (192.168.1.0). Internal dns works for clients and other servers at subnet 192.168.1.0. Now I want to join another dc ?dc-01? (IP 192.168.0.101) at subnet 192.168.0.0 which is connect over routed openvpn. Ping the first dc an vice versa works but ?host ?v dc-02? results in the following message: Trying ?dc-02? Host dc-02 not found (NXDOMAIN) Received 23 bytes from 192.168.1.100?53 in 0ms In my opinion the connection for dc-02 is ok but the dns resolv doesn?t work. The forward zone and the two reverse zones work because the name resolution at dc-01 works for all entries when aksing dc-01 feom 192.168.1.0. There are no firewall restrictions for the VPN. Can anybody give a hint? Must I use bind instead? Thanks, Peter
L.P.H. van Belle
2014-Aug-29 13:17 UTC
[Samba] Samba 4 dns-resolv-prob with different subnets
pleast post your /etc/hosts /etc/resolv.conf which OS ( debian/ubuntu/centos) the output of smbd -V samba internal DNS or Bind9_DLZ and what if you use the FQDN of the DC-02 and not the hostname. and you can add in the /etc/resolv.conf and extra search like search internal.domain.tld someotherinternal.domain.tld. nameserver ... 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. 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: vrijdag 29 augustus 2014 14:55 >Aan: samba at lists.samba.org >Onderwerp: [Samba] Samba 4 dns-resolv-prob with different subnets > >Hello, > > > >I?m using one Samba4-dc ?d-02? (IP 192.168.1.100) on subnet >(192.168.1.0). >Internal dns works for clients and other servers at subnet 192.168.1.0. > > > >Now I want to join another dc ?dc-01? (IP 192.168.0.101) at subnet >192.168.0.0 which is connect over routed openvpn. Ping the >first dc an vice >versa works but ?host ?v dc-02? results in the following message: > > > >Trying ?dc-02? > >Host dc-02 not found (NXDOMAIN) > >Received 23 bytes from 192.168.1.100?53 in 0ms > > > >In my opinion the connection for dc-02 is ok but the dns resolv doesn?t >work. > >The forward zone and the two reverse zones work because the >name resolution >at dc-01 works for all entries when aksing dc-01 feom 192.168.1.0. > >There are no firewall restrictions for the VPN. > > > >Can anybody give a hint? Must I use bind instead? > > > >Thanks, > >Peter > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >