Dns Redirect

hi im not good in English but i will try to explain my problem

i have a problem with dns redirect

i’m trying to redirect www.myname.com to 10.0.0.1

when i add it to dns static it works but sometimes its stooping the redirect to my local address and navigate to another site

so how i can make it always redirect to my local address like the hotspot dns name

try tu use other (non standard) sufix for your domain name, www.myname.lan, .wlan, … that is not in commercial use.

force all dns request from your user to the router.
/ip firewall nat
add action=redirect chain=dstnat disabled=no dst-port=53 in-interface=lan protocol=udp to-ports=53