

- Disable DNS once. Find out URL/IP of captive portal that way.
- Add to hosts file (Win/Lin/Mac). Maybe even give an alias: “captive-school”, “captive-library”, etc.
- Turn DNS back on. The hosts file will take prerogative over DNS settings, i.e. it is resolved first.




