LXD/LXC SAMBA-AD-DC

Good evening, is it possible to disable dns management from lxd and keep dhcp working?
I recently installed samba-ad-dc in a privileged container (ubuntu 20:04), but I am having problems with the dns service, which prevents samba-4 from starting.

what would be the best approach, but keeping dhcp active for the rest of the containers of the same ip range