Manual:Tools/Dynamic DNS: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
Created page with '{{Versions|2.9, v3, v4}} <div class=manual> <h2>Summary</h2> <p><b>Sub-menu:</b> <code>/tool dns-update</code></p> <p><b>Standards:</b> <code>RFC 2136, RFC 3007</code></p> <br …'
 
No edit summary
Line 51: Line 51:
</table>
</table>


<br />
<b>Note</b> that the system clock time on your router can't differ from the DNS server's time more than 5 minutes. Otherwise the DNS server will ignore this request.
<b>Note</b> that the system clock time on your router can't differ from the DNS server's time more than 5 minutes. Otherwise the DNS server will ignore this request.



Revision as of 16:15, 29 October 2009

Applies to RouterOS: 2.9, v3, v4

Summary

Sub-menu: /tool dns-update

Standards: RFC 2136, RFC 3007


Dynamic DNS Update Tool gives a way to keep domain name pointing to dynamic IP address. It works by sending domain name system update request to name server, which has a zone to be updated. Secure DNS updates are also supported.

The DNS update tool supports only one algorithm - hmac-md5. It's the only proposed algorithm for signing DNS messages.

Properties

Property Description
address (IP; Default: ) Defines IP address associated with the domain name.
dns-server (IP; Default: ) DNS server to send update to.
key (string; Default: ) Authorization key to access the server.
key-name (string; Default: ) Authorization key name (like a username) to access the server.
name (string; Default: ) Name to attach with the IP address.
ttl (integer; Default: 0) Time to live for the item (in seconds).
zone (string; Default: ) DNS zone where to update the domain name in.


Note that the system clock time on your router can't differ from the DNS server's time more than 5 minutes. Otherwise the DNS server will ignore this request.

Example

To tell 23.34.45.56 DNS server to (re)associate mydomain name in the myzone.com zone with 68.42.14.4 IP address specifying that the name of the key is dns-update-key and the actual key is update:

[admin@MikroTik] tool> dns-update dns-server=23.34.45.56 name=mydomain \
\... zone=myzone.com address=68.42.14.4 key-name=dns-update-key key=update