Page 1 of 1

[ask]static dns regex

Posted: Sun Mar 07, 2010 10:42 am
by brundier
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 :(
anyone please?

Re: [ask]static dns regex

Posted: Sun Mar 07, 2010 4:05 pm
by Sob
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.