Dynamic DNS (DDNS) Update Tool
Document revision 1.3 (30-Dec-2003)
This document applies to the MikroTik RouterOS V2.7
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. TSIG
(transport signature) with HMAC-MD5 algorithm is used in this case to
authenticate updates.
Also note that the clock of both parties (the router and the DDNS server)
must not be different more than by 5 minutes. The update will be ignored otherwise.
Packages required : advanced-tools
License required : Any
Home menu level : /tool
Protocols utilized : Dynamic Updates in the DNS (RFC 2136),
Secure DNS Dynamic Update (RFC 3007)
Hardware usage: not significant
Software Package Installation and Upgrading
Dynamic DNS Update is a tool that should be manually run to update dynamic DNS server
Note that you have to have a DNS server that supports DNS updates properly configured
Command level : /tool dns-update
address (IP address) - defines IP address associated with the domain name
dns-server (IP address) - DNS server to send update to
key (string; default: "") - authorization key (password of a kind) to access the server
key-name (string; default: "") - authorization key name (username of a kind) to access the server
name (string) - name to attach with the IP address
ttl (integer; default: 0) - time to live for the item (in seconds)
zone (string) - DNS zone where to update the domain name in
To delete a DDNS entry that has not yet been timed out, you should add the same entry with
ttl of 0>.
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
DNS related RFCs
© Copyright 1999-2003, MikroTik