History | View | Annotate | Download (3.6 kB)
util: fix trailing dot bug and make DNS queries more robust
Newer versions of python-dns break when resolving hostnames with trailing dots.We remove the trailing dot from the reversed IP address to ensure proper behavior.
Furthermore, add a 2-second timeout to DNS queries, as waiting costs much more...
Split views between frontpage (aai) and WAYF service (wayf)