[ask]static dns regex

if I want to using static dns that anything that contains/end with akamai.net goin to specific address,what should I do? Im using ros3.23
I just try that docs says
/ip dns static add name=“.*\.akamai\.net” address=11.22.33.44
but not working at all :frowning:
anyone please?

Do you want:

a) set A record (IPv4 address) to 11.22.33.44 for every hostname ending with akamai.net

b) forward queries for every hostname ending with akamai.net to another dns server 11.22.33.44

What you’re doing now is a) and it should work. I just tested it here and no problem.