Hi Julien,
if you have `dns forwarder = 127.0.0.1:5353` in `smb.conf`, it means you're using "hybrid DNS" (as we call it in our configuration). In this case, it's the Samba DNS server that always responds (and not the BIND server, which is the front-end server) in this configuration.
This is the configuration we have at the office, and it works well with WADS. However, our `srvwapt` record is an A record directly in the Active Directory zone.
The ping.exe part in WinPE uses the Windows layer for resolution, while `getwads.exe` uses an internal recursive server. There must be a bug in the internal recursive server, but then again, the Windows resolution layer does some pretty "automatic" things from time to time (which is why we try to avoid it).
Could you set up a proper Bind-DLZ configuration on your Active Directory to see if that resolves the issue [1]? Bind-DLZ causes quite a few problems, both in terms of configuration and performance due to interlocking between the Samba process and the Bind9 process. However, this test would help determine if it's related to the behavior of Samba's internal DNS server (which isn't fully configured). Note: in the DLZ configuration, you don't need to configure the keytab for this test, as it's only necessary for the automatic registration of DNS A records for workstations.
Regards,
Denis
[1]
https://samba.tranquil.it/doc/en/samba_ ... ebian.html
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the
"Your Opinion of the forum, and we'll feature them on the
WAPT