From 4d1607d444bfd168b3ef14dd4d7becd914472b71 Mon Sep 17 00:00:00 2001 From: "Sergey V. DUDANOV" Date: Mon, 3 Jun 2019 15:57:07 +0400 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 7775df8..015d88f 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,16 @@ Scripts work only on `RouterOS` version 6.44 and above. Depends on [Mikrotik JSON Parser](https://github.com/Winand/mikrotik-json-parser) project installed as system script with name `JParseFunctions`. +### Configure + +Each script (IPv4 and IPv6) has a configuration area. Just insert your values. + +First of all you need your `Cloudflare API` key. Just go to the `Cloudflare` [site](https://www.cloudflare.com/) `My Profile -> API Keys section -> Global API Key -> View`. Follow the instructions. Now you have your `API` key. Keep it safe. + +The service does not allow easy retrieval of required DNS record identifiers. This is only possible through a REST API method `List DNS Records`. This method is described [here](https://api.cloudflare.com/#dns-records-for-a-zone-list-dns-records). Using any REST client (I use [Advanced REST client](https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo) for `Chrome Browser`), sending a request, you will receive the `JSON` answer with necessary zone and host IDs. + +Insert all variables in scripts and install in your `Mikrotik` device. + ### Running You may add this script to system scheduler as periodically task.