{"id":835,"date":"2018-05-27T17:06:03","date_gmt":"2018-05-27T14:06:03","guid":{"rendered":"https:\/\/galaxydata.ru\/community\/?p=835"},"modified":"2025-07-22T22:19:00","modified_gmt":"2025-07-22T19:19:00","slug":"mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6","status":"publish","type":"post","link":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835","title":{"rendered":"Mikrotik dynv6 scypt autoupdate hostname for DNS IPv4 and IPv6"},"content":{"rendered":"<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c\u00a0\u0432 System \/ Scripts. \u00a0\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442. \u041d\u0430\u0437\u043e\u0432\u0435\u043c\u00a0\u201cdynv6\u201d, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0435.<\/p>\n<p><a href=\"https:\/\/gist.github.com\/stargieg\/1b11d3df9cc6f9cb934037e6c474d618\">https:\/\/gist.github.com\/stargieg\/1b11d3df9cc6f9cb934037e6c474d618<\/a><\/p>\n<pre class=\"lang:sh decode:true\"># Define User Variables\r\n:global ddnspass \"TOKEN\"\r\n:global ddnshost \"HOSTNAME.dynv6.net\"\r\n#:global ddnspool \"pool0\"\r\n#:global ddnsinterface \"bridge\"\r\n#:global ddnsinterface \"6to4-henet\"\r\n#:global ddnsinterface \"pppoe-out1\"\r\n#:global ddnsinterface \"ether1\"\r\n\r\n# Define Global Variables\r\n:global ddnsip\r\n:global ddnslastip\r\n:if ([ :typeof $ddnslastip ] = nil ) do={ :global ddnslastip \"0\" }\r\n\r\n\r\n# Define Local Variables\r\n:local int\r\n\r\n# Loop thru interfaces and look for ones containing\r\n# default gateways without routing-marks\r\n:if ([ :typeof $ddnsinterface ] != \"str\" ) do={\r\n  :foreach int in=[ \/ipv6 address find global ] do={\r\n    :local testip [ \/ipv6 address get $int address ]\r\n    :if ($testip in \"fe80::\/10\" || $testip in \"fc00::\/7\") do={\r\n    } else={\r\n      :global ddnsip $testip\r\n    }\r\n  }\r\n} else={\r\n  :if ([ :typeof $ddnspool ] != \"str\" ) do={\r\n    # Grab the current Global IP address on that interface.\r\n    :foreach int in=[ \/ipv6 address find interface=$ddnsinterface global ] do={\r\n      :local testip [ \/ipv6 address get $int address ]\r\n      :if ($testip in \"fe80::\/10\" || $testip in \"fc00::\/7\") do={\r\n      } else={\r\n        :global ddnsip $testip\r\n      }\r\n    }\r\n  } else={\r\n    # Grab the current Global IP address on that interface from spec ip pool.\r\n    :global ddnsip [ \/ipv6 address get [ \/ipv6 address find interface=$ddnsinterface  from-pool=$ddnspool ] address ]\r\n  }\r\n}\r\n\r\n# Did we get an IP address to compare?\r\n:if ([ :typeof $ddnsip ] = nil ) do={\r\n   :log info (\"DynDNS: No ip address present on please check.\")\r\n} else={\r\n  :log info (\"DynDNS: check IPv6 UPDATE \" . $ddnsip)\r\n  :if ($ddnsip != $ddnslastip) do={\r\n    :log info \"DynDNS: Sending IPv6 UPDATE!\"\r\n    :local str \"api\/update\\?hostname=$ddnshost&amp;ipv6=$ddnsip&amp;token=$ddnspass\"\r\n    \/tool fetch address=\"dynv6.com\" host=\"dynv6.com\" src-path=\"$str\" mode=https dst-path=(\"\/dynv6.\".$ddnshost)\r\n    :delay 1\r\n    :local str [\/file find name=\"dynv6.$ddnshost\"];\r\n    \/file remove $str\r\n    :global ddnslastip $ddnsip\r\n  }\r\n}\r\n\r\n# legacy IPv4\r\n# Define Global Variables\r\n:global ddnsip4\r\n:global ddnslastip4\r\n:global ddnsinterface4\r\n:if ([ :typeof $ddnslastip4 ] = nil ) do={ :global ddnslastip4 \"0\" }\r\n\r\n# Loop thru interfaces and look for ones containing\r\n# default gateways without routing-marks\r\n:local intfinder \"\"\r\n:foreach int in=[\/ip route find dst-address=0.0.0.0\/0 active=yes ] do={\r\n  :set $intfinder [:tostr [\/ip route get $int gateway-status]]\r\n  :set $intfinder [:pick $intfinder ([:find $intfinder \"via\"]+5) [:len $intfinder]]\r\n  :set $ddnsinterface4 $intfinder\r\n}\r\n\r\n# Grab the current IP address on that interface.\r\n:set ddnsip4 [ \/ip address get [\/ip address find interface=$ddnsinterface4 ] address ]\r\n:set ddnsip4 [:pick $ddnsip4 0 [:find $ddnsip4 \"\/\"] ]\r\n\r\n# Did we get an IP address to compare?\r\n:if ([ :typeof $ddnsip4 ] = nil ) do={\r\n  :log info (\"DynDNS: No ip address present on \" . $ddnsinterface4 . \", please check.\")\r\n} else={\r\n  :log info (\"DynDNS: check IPv4 UPDATE \" . $ddnsip4)\r\n  :if ($ddnsip4 != $ddnslastip4) do={\r\n    :log info \"DynDNS: Sending IPv4 UPDATE!\"\r\n    :local str \"api\/update\\?hostname=$ddnshost&amp;ipv4=$ddnsip4&amp;token=$ddnspass\"\r\n    \/tool fetch address=\"dynv6.com\" host=\"dynv6.com\" src-path=\"$str\" mode=https dst-path=(\"\/dynv6.\".$ddnshost)\r\n    :delay 1\r\n    :local str [\/file find name=\"DynDNS.$ddnshost\"];\r\n    \/file remove $str\r\n    :global ddnslastip4 $ddnsip4\r\n  }\r\n}<\/pre>\n<p>\u0413\u0434\u0435 \u0437\u0430 \u043c\u0435\u0441\u0442\u043e:<\/p>\n<p>:global ddnspass &#171;TOKEN&#187;<br \/>\n:global ddnshost &#171;HOSTNAME.dynv6.net&#187;<\/p>\n<p>\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0432\u0430\u0448 \u0442\u043e\u043a\u0435\u043d \u0438\u0437 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a https:\/\/dynv6.com\/users\/edit:<\/p>\n<p>\u0418 \u0432\u0430\u0448 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 hostname:\u00a0<a href=\"https:\/\/dynv6.com\/hosts\">https:\/\/dynv6.com\/hosts<\/a><\/p>\n<p>:global ddnspass &#171;s3VyFvtByyYRf4fZxVpynodArtFxx9&#187;<br \/>\n:global ddnshost &#171;nustromo.dynv6.net&#187;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-841\" src=\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png\" alt=\"token dynv6\" width=\"1224\" height=\"809\" srcset=\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png 1224w, https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063-300x198.png 300w, https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063-768x508.png 768w, https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063-1024x677.png 1024w\" sizes=\"auto, (max-width: 1224px) 100vw, 1224px\" \/><\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f dynv6:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-836\" src=\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/a231.png\" alt=\"System \/ Scripts. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442. \u041d\u0430\u0437\u043e\u0432\u0435\u043c \u201cdyndns\u201d\" width=\"336\" height=\"452\" srcset=\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/a231.png 336w, https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/a231-223x300.png 223w\" sizes=\"auto, (max-width: 336px) 100vw, 336px\" \/><\/p>\n<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 System \/ Scheduler \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u043e\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-837\" src=\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/2999018.png\" alt=\" \u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 System \/ Scheduler \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u043e\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435. \" width=\"305\" height=\"529\" srcset=\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/2999018.png 305w, https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/2999018-173x300.png 173w\" sizes=\"auto, (max-width: 305px) 100vw, 305px\" \/><\/p>\n<p>\u0418\u043b\u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432\u0432\u043e\u0434\u0438\u043c<\/p>\n<pre class=\"lang:sh decode:true\">\/system scheduler add name=dynv6 interval=00:30 on-event=\"\/system script run dynv6\\r\\n\"<\/pre>\n<p>\u041d\u0435 \u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u0435 10 \u043c\u0438\u043d\u0443\u0442!<br \/>\n\u0418\u043d\u0430\u0447\u0435 dynv6 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0430\u0441.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c\u00a0\u0432 System \/ Scripts. \u00a0\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442. \u041d\u0430\u0437\u043e\u0432\u0435\u043c\u00a0\u201cdynv6\u201d, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0435. https:\/\/gist.github.com\/stargieg\/1b11d3df9cc6f9cb934037e6c474d618 # Define User Variables :global ddnspass &#171;TOKEN&#187; :global ddnshost &#171;HOSTNAME.dynv6.net&#187; #:global ddnspool &#171;pool0&#187; #:global ddnsinterface &#171;bridge&#187; #:global&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[147,63,75],"class_list":["post-835","post","type-post","status-publish","format-standard","hentry","category-networking","tag-ipv6","tag-mikrotik","tag-routeros"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.4 (Yoast SEO v25.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Mikrotik dynv6 scypt autoupdate hostname for DNS IPv4 and IPv6 - GalaxyData Community<\/title>\n<meta name=\"description\" content=\"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 DNS (IPv4 \u0438 IPv6) \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 MikroTik RouterOS \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 Dynv6: \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mikrotik dynv6 scypt autoupdate hostname for DNS IPv4 and IPv6\" \/>\n<meta property=\"og:description\" content=\"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 DNS (IPv4 \u0438 IPv6) \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 MikroTik RouterOS \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 Dynv6: \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835\" \/>\n<meta property=\"og:site_name\" content=\"GalaxyData Community\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/vk.com\/galaxydata\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-27T14:06:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-22T19:19:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1224\" \/>\n\t<meta property=\"og:image:height\" content=\"809\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Eduard Yamaltdinov\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"Eduard Yamaltdinov\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u043c\u0438\u043d\u0443\u0442\u0430\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#article\",\"isPartOf\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835\"},\"author\":{\"name\":\"Eduard Yamaltdinov\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b\"},\"headline\":\"Mikrotik dynv6 scypt autoupdate hostname for DNS IPv4 and IPv6\",\"datePublished\":\"2018-05-27T14:06:03+00:00\",\"dateModified\":\"2025-07-22T19:19:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835\"},\"wordCount\":102,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#primaryimage\"},\"thumbnailUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png\",\"keywords\":[\"ipv6\",\"mikrotik\",\"routeros\"],\"articleSection\":[\"Networking\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835\",\"url\":\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835\",\"name\":\"Mikrotik dynv6 scypt autoupdate hostname for DNS IPv4 and IPv6 - GalaxyData Community\",\"isPartOf\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#primaryimage\"},\"image\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#primaryimage\"},\"thumbnailUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png\",\"datePublished\":\"2018-05-27T14:06:03+00:00\",\"dateModified\":\"2025-07-22T19:19:00+00:00\",\"description\":\"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 DNS (IPv4 \u0438 IPv6) \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 MikroTik RouterOS \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 Dynv6: \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432.\",\"breadcrumb\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#primaryimage\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png\",\"width\":1224,\"height\":809,\"caption\":\"token dynv6\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/galaxydata.ru\/community\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mikrotik dynv6 scypt autoupdate hostname for DNS IPv4 and IPv6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#website\",\"url\":\"https:\/\/galaxydata.ru\/community\/\",\"name\":\"GalaxyData Community\",\"description\":\"Tutorial for Cloud VDS\",\"publisher\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/galaxydata.ru\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\",\"name\":\"GalaxyData Community\",\"url\":\"https:\/\/galaxydata.ru\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png\",\"width\":257,\"height\":44,\"caption\":\"GalaxyData Community\"},\"image\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/vk.com\/galaxydata\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b\",\"name\":\"Eduard Yamaltdinov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png\",\"caption\":\"Eduard Yamaltdinov\"},\"description\":\"Eduard Yamaltdinov \u2014 \u0430\u0432\u0442\u043e\u0440 \u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u043a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c.\",\"url\":\"https:\/\/galaxydata.ru\/community\/author\/galaxydata\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Mikrotik dynv6 scypt autoupdate hostname for DNS IPv4 and IPv6 - GalaxyData Community","description":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 DNS (IPv4 \u0438 IPv6) \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 MikroTik RouterOS \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 Dynv6: \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835","og_locale":"ru_RU","og_type":"article","og_title":"Mikrotik dynv6 scypt autoupdate hostname for DNS IPv4 and IPv6","og_description":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 DNS (IPv4 \u0438 IPv6) \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 MikroTik RouterOS \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 Dynv6: \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432.","og_url":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835","og_site_name":"GalaxyData Community","article_publisher":"https:\/\/vk.com\/galaxydata","article_published_time":"2018-05-27T14:06:03+00:00","article_modified_time":"2025-07-22T19:19:00+00:00","og_image":[{"width":1224,"height":809,"url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png","type":"image\/png"}],"author":"Eduard Yamaltdinov","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"Eduard Yamaltdinov","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"1 \u043c\u0438\u043d\u0443\u0442\u0430"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#article","isPartOf":{"@id":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835"},"author":{"name":"Eduard Yamaltdinov","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b"},"headline":"Mikrotik dynv6 scypt autoupdate hostname for DNS IPv4 and IPv6","datePublished":"2018-05-27T14:06:03+00:00","dateModified":"2025-07-22T19:19:00+00:00","mainEntityOfPage":{"@id":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835"},"wordCount":102,"commentCount":1,"publisher":{"@id":"https:\/\/galaxydata.ru\/community\/#organization"},"image":{"@id":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#primaryimage"},"thumbnailUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png","keywords":["ipv6","mikrotik","routeros"],"articleSection":["Networking"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#respond"]}]},{"@type":"WebPage","@id":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835","url":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835","name":"Mikrotik dynv6 scypt autoupdate hostname for DNS IPv4 and IPv6 - GalaxyData Community","isPartOf":{"@id":"https:\/\/galaxydata.ru\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#primaryimage"},"image":{"@id":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#primaryimage"},"thumbnailUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png","datePublished":"2018-05-27T14:06:03+00:00","dateModified":"2025-07-22T19:19:00+00:00","description":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 DNS (IPv4 \u0438 IPv6) \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 MikroTik RouterOS \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 Dynv6: \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432.","breadcrumb":{"@id":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#primaryimage","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2018\/05\/d063.png","width":1224,"height":809,"caption":"token dynv6"},{"@type":"BreadcrumbList","@id":"https:\/\/galaxydata.ru\/community\/mikrotik-dynv6-scypt-autoupdate-hostname-for-dns-ipv4-and-ipv6-835#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/galaxydata.ru\/community"},{"@type":"ListItem","position":2,"name":"Mikrotik dynv6 scypt autoupdate hostname for DNS IPv4 and IPv6"}]},{"@type":"WebSite","@id":"https:\/\/galaxydata.ru\/community\/#website","url":"https:\/\/galaxydata.ru\/community\/","name":"GalaxyData Community","description":"Tutorial for Cloud VDS","publisher":{"@id":"https:\/\/galaxydata.ru\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/galaxydata.ru\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/galaxydata.ru\/community\/#organization","name":"GalaxyData Community","url":"https:\/\/galaxydata.ru\/community\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png","width":257,"height":44,"caption":"GalaxyData Community"},"image":{"@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/vk.com\/galaxydata"]},{"@type":"Person","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b","name":"Eduard Yamaltdinov","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/image\/","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png","caption":"Eduard Yamaltdinov"},"description":"Eduard Yamaltdinov \u2014 \u0430\u0432\u0442\u043e\u0440 \u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u043a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c.","url":"https:\/\/galaxydata.ru\/community\/author\/galaxydata"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/comments?post=835"}],"version-history":[{"count":1,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/835\/revisions"}],"predecessor-version":[{"id":1905,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/835\/revisions\/1905"}],"wp:attachment":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/media?parent=835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/categories?post=835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/tags?post=835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}