Hello ,
I have a hotspot service and I want to create 2 DNS rules for my router
10.0.0.100 (a computer connected to the router) - mycomputer.com
192.168.100.254 -(Hotspot service) ...
so when my internet connection go down from some reason - every try to enter th hotspot will give the user the login page
but if he want to enter mycomputer.com he will go to 10.0.0.00
my problem is the when I use this DNS rules together I get to the hotspot ;
/ip dns static
add address=10.0.0.100 name=Mycomputer.com ttl=5s
add address=192.168.100.254 name=".*\\..*" ttl=10s
how can I do some rules inside the DNS , something like distance in routes?
so if someone will look for Mycomputer.com he will go to 10.0.0.00 , but for all other address he will go to the hotspot?
Thanks ,