This repo hosts a DNS server that intercepts the BrowseDNS captive portal domains. This can be combined with LaneChange or other HTTP servers.
It can also be used for self-hosting, if you're familiar with git and docker. If not, CaptiveDNS is a more user friendly alternative.
Usage (replace 45.55.112.11 with your target IP):
TARGET_IP=45.55.112.11 docker compose up
See Corefile for the list of redirected captive portal domains.