Problem: Apple School Manager - No module named 'DNS'


You get the following traceback with the Apple School Manager, because the package python3-dns is missing on the system.

Traceback (most recent call last):
  File "/usr/sbin/asm-upload", line 35, in <module>
    from univention.asm.asm_upload import ASMUpload
  File "/usr/lib/python3/dist-packages/univention/asm/", line
41, in <module>
    from .csv.zip_file import AsmZipFile
  File "/usr/lib/python3/dist-packages/univention/asm/csv/", line
48, in <module>
    from .csv_file import create_csv_files
  File "/usr/lib/python3/dist-packages/univention/asm/csv/", line
52, in <module>
    from univention.asm.models.classes import AsmClass
  File "/usr/lib/python3/dist-packages/univention/asm/models/",
line 45, in <module>
    from ..utils import get_ldap_connection, get_person_id, get_ucr
  File "/usr/lib/python3/dist-packages/univention/asm/", line 37, in
    import DNS
ModuleNotFoundError: No module named 'DNS'

Root Cause: Bug 57189


To fix this issue, just install the missing package with:

 univention-install python3-dns