Internal Server Error: /toolbox/dnssec.html
Traceback (most recent call last):
File "/root/toolbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "/root/toolbox/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/toolbox/src/toolbox/views.py", line 80, in onglet_dnssec
ds = res.resolve(domain_name, "DS")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/toolbox/venv/lib/python3.11/site-packages/dns/resolver.py", line 1318, in resolve
(nameserver, tcp, backoff) = resolution.next_nameserver()
I detected strange behavior.
If I replace "DS" with "A" in my function.(ds = dns_lookup(domain_name, "A")) Then the latter works and return the IP address.