Community discussions

MikroTik App
 
mix359
just joined
Topic Author
Posts: 15
Joined: Fri Jan 04, 2013 8:20 pm

Static dns record per interface

Wed Jan 04, 2017 7:21 pm

Hi to all,

I'm creating a particular setup where a server is present on different vlan with an ip per vlan, to communicate directly with the devices in that vlan, without passing from the gateway.
I want to know if there's any way to create a set of static DNS for the server, with the same name, but a different ip, based on the interface the request is coming from?

For example
server1.example.com A 10.1.1.250 for the vlan interface 1
server1.example.com A 10.1.2.250 for the vlan interface 2

Or if there's any other "trick" :)
Thanks
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: Static dns record per interface

Wed Jan 04, 2017 7:49 pm

AFAIK no, what RouterOS offers for DNS is only very basic stuff. And there doesn't seem to be much will to extend it. So for now, the only trick is to get external DNS server with more features.