For a temporany solution i have to CNAME a single domain for allow hotspot (and it redirect all 53 upd to isself before autentication) redirection to my own page. Unfortunatelly it can't be an "A" record.
So i create my own DNS server as proxy of googledns with an exception for mydomain.com[existing public DNS] (who have to be CNAME to hsdomain.com) and mikrotik put it as DNS default DNS, with googlse DNS Servers.
My ownDNS is reachable only via VPN and this VPN is connected by URL (different form mydomain.com) and also no is possible to edit it to IP.
The question is which DNS mikrotik are using first?
Code: Select all
servers: 10.255.255.254,22.214.171.124,126.96.36.199 dynamic-servers: 192.168.0.1 allow-remote-requests: yes max-udp-packet-size: 4096 query-server-timeout: 2s query-total-timeout: 10s max-concurrent-queries: 100 max-concurrent-tcp-sessions: 20 cache-size: 2048KiB cache-max-ttl: 1w cache-used: 40KiB
How i can force to use myown DNS before use ask on secondary DNS and in the same time have the secondary dns for solve the VPN connection url?
There is some trick?
At the moment i just thiked to user netwatch for ping dns via VPN and when it start to be reachable, remove ths dns list with only vpn, and also schedule to add it back on reboot.
Any different solution? (is a temporany solution and i will using it for 20 days)