It seems I was right, with Wireshark I can see that the DNS returns several addresses and the browser attempts to access them one by one until one works and displays the login page - herein the long delay. Is there a way to instruct Opnsense to send the specific IP address of the router that is in the same VLAN as the request?