If you see errors related to YARN Registry DNS Bind Port.
Where the YARN Registry DNS is stopped, most probably due to a port conflict. Then go into the Advanced Configurations.
Look for the parameter RegistryDNS Bind Port and change is to a port that does not have a conflict. I changed it from 53 to 553.
Save configuration changes. Restart all components that are impacted.
This should take care of the issue and YARN Registry DNS will start successfully.