This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MikroTik (RouterOS) script for automatically setting DNS records | |
# for clients when they obtain a DHCP lease. | |
# | |
# author SmartFinn <https://gist.github.com/SmartFinn> | |
:local dnsTTL "00:15:00"; | |
:local token "$leaseServerName-$leaseActMAC"; | |
# Normalize hostname (e.g. "-= My Phone =-" -> "My-Phone") | |
# - truncate length to 63 chars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Steve Jenkins' E4200 v1 Speed Optimizations | |
## Can be used on any Broadcom-based DD-WRT device | |
## PLEASE READ: http://wp.me/p1iGgP-DW | |
## Have fun, but use and tweak at your own risk :) | |
## Updated Feb 4, 2016 | |
## INITIAL SLEEP COMMAND | |
## First command in script is ignored in some builds, so this is a throw-away | |
sleep 10 |