Created
February 2, 2021 15:29
-
-
Save aejh/672c9f5c834547e5f9fe4539d4973597 to your computer and use it in GitHub Desktop.
Mikrotik static DNS records to hostsfile
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
ssh 10.0.0.1 /ip dns static print terse without-paging | sed -n 's/.*name=\(.*\) address=\([0-9.]*\) .*/\2 \1/p' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment