[Samba] DNS problems

Marcel de Reuver marcel at de.reuver.org
Thu May 29 14:59:50 MDT 2014


2014-05-29 21:19 GMT+02:00 Steve Campbell <campbell at cnpapers.com>:

> I'm running my AD now, but testing some things dependent on DNS does not
> seem to be working.
>
> Our server is setup in our cnpapers.net domain and was provisioned using
> Internal Samba DNS.
>
> The forwarder is set properly, and almost everything resolves. The
> forwarder DNS server only has a subset of zones we use on it and it
> forwards requests to our public/real DNS server. So a request would be
> something like:
>
> DNS request -> DC -> Partial DNS server -> real DNS server.
>
> My problem is when I need the resolution of a server in cnpapers.netdomain, the only host that resolves from a Windows machine using the Samba
> DNS is the DC server itself. It appears that all other requests to other
> domains get forwarded properly.
>


The internal Samba DNS server acts like the primairy DNS server for your
internal domain. Only DNS queries for hosts outsite your local domain will
be forwarded.
You have two options, update your internal Samba DNS server with all
information of your internal domain or configure your "Partial DNS server"
with the DNS records needed for your Samba DC. For more info this
Wiki<https://wiki.samba.org/index.php/DNS#Changing_the_DNS_backend>
for
changing the DNS backend and this
Wiki<https://wiki.samba.org/index.php/DNS_Backend_BIND>for more info
about Bind as
DNS backend.



>
> Now:
> From the wiki Samba AD DC HOWTO:
>
> Testing DNS:
> When doing any of the test in this section, I get failures. Example below
>
> host -t SRV _ldap._tcp.samdom.example.com.
>
>

Not clear what is going wrong...
What is the content of /etc/resolv.conf on your Samba server? What is the
output of: samba_dnsupdate --verbose on your Samba server?


Best regards,
Marcel


More information about the samba mailing list