In our transition from a Linux-based router running, among other things, dnsmasq, one piece of functionality we are not seeing is for the DNS proxy/cache in RouterOS to look at the DHCP leases for an IP address. We used this so backup serves, for example, could reference internal, DHCP configured hosts. Another use: admin’ing internal machines without having to look at the least table first.
Is there anyway to get RouterOS to respond with the IP of a machine that has a DHCP lease when I query it with, say,
Nope, not that I’m aware of. What I do is make a script called DNSUpdate with the above script in it. Then I make a scheduled item that runs that script every 1 min. This seems to work good with very little CPU usage.
If you had an external DNS server that supports DNS updates, you could incorporate this command in the script:
I would also like to see this documented somewhere.
An official Wiki entry from Mikrotik would be appreciated? I would like to see more in-depth into specific features and functions between different versions. Ex. When was WOL (Wake On LAN) implemented? The reason it’s hard to pinpoint is due to a scattered, and non-standard/consistent documentation.