TSIG DNS Updates via Tool-DNS-Update

Hi,

Is it possible to do something like this, I just want to send the actual dynamic IP of pppoe interface to my dns server over TSIG:

dns-update dns-server=213.208.150.185 name=martinstix zone=pluteus.net key=“3wr0CDR1MaE*********” key-name=martinstix address=[/ip address get [find interface=“pppoe-out2” disabled=no] address]

I get an invalid argument exception for address, putting “10.4.3.2” in works fine.
I know I’ll have to strip netmask in this sample, too, just the question if it’s possible to figure out if I should try further…

Thanks
Martin

:local ddnsip [ /ip address get [ /ip address find interface=“pppoe-out2” ] address ]
:local ddnsip [:pick $ddnsip 0 [:find $ddnsip “/” -1 ] ]
dns-update dns-server=213.208.150.185 name=martinstix zone=pluteus.net key=“3wr0CDR1MaE*********” key-name=martinstix address=$ddnsip

Thanks,

seems to work,

I only get “bad reply format” from dyndns server in mikrotik log, have to figure out why.

Thanks
Martin

hi,
While

/tool dns-update

was working find for me, it is broken now. I suspect that this has to do with a bind update. Anyone found a solution?
cheers,
Panagiotis

Found the solution. dnsupdate uses the time in the signature. my router time was not correct thus the update was failing. I set up ntp and everything worked.