Captive portal or something else
-
I need to configure a lan that when ever anybody connects to it the will be forwarded to *.xyz.com
I do not want to see the actual captive portal landing page.
this will be an open network with no authentication
if they try to go to abc.com I want it to send them back to xyz.com with no error message at all
all sub domains should work
-
Like this? https://doc.pfsense.org/index.php/Creating_a_DNS_Black_Hole_for_Captive_Portal_Clients
-
Thank you doktornotor
That is close and I already looked at that, my problem is that I do not know how to deal with the large number of ips a large corporate website may use for subdomains.
For example today.xyz.com may have a different ip from tomorrow.xyz.com I always upon connection want it to go to xyz.com but if the user wants to connect to today.xyz.com they need to be able to go there also.
All non xyz.com requests should go to xyz.com but sub domain requests on XYZ.com should pass through
Hope that makes sense.
Is it possible I am uneducated on large corporate DNS structure?
-
Sorry, you told us you want ANY request redirected to xyz.com "with no error message at all". For that, you need exactly ONE IP configured via the blackhole zone, and a webserver configured accordingly. Dunno really what's this talk about today.abc.com or tomorrow.abc.com. Not interested in moving targets here. Specify exactly what you want.
-
Sorry, you told us you want ANY request redirected to xyz.com "with no error message at all". For that, you need exactly ONE IP configured via the blackhole zone, and a webserver configured accordingly. Dunno really what's this talk about today.abc.com or tomorrow.abc.com. Not interested in moving targets here. Specify exactly what you want.
Back on the job, I edited my last post to make the thought process more contiguous.
I appreciate your help.
gdelong