All module and module_utils scripts have been adapted to be able to only import the symbols that are really needed and used.
These global variables are initialized in the dns module in the dns.install_check function. The settings are needed to be able to do a proper dns setup in the ipaserver_setup_dns ansible module.
The support for external cert files is not complete yet.