Community discussions

MikroTik App
 
brundier
just joined
Topic Author
Posts: 23
Joined: Thu Sep 21, 2006 9:04 am

[ask]static dns regex

Sun Mar 07, 2010 10:42 am

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?
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: [ask]static dns regex

Sun Mar 07, 2010 4:05 pm

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.

Who is online

Users browsing this forum: Bing [Bot], GoogleOther [Bot], samcard1999 and 86 guests