Aggiornamento di record DNS in Technitium DNS

From RVM Wiki
Revision as of 13:47, 23 January 2026 by Gabriele.vivinetto (talk | contribs) (Created page with "Si possono aggiornare record DNS indicando esattamente l vecchio valore ed il nuovo, ad esempio: se si vuole cambiare mx1.example.com da 1.2.3.4 a 5.6.7.8 export TOKEN="7dd309b596ece532a586f963f7e1e9ae9854fa3791ea2c02c3c82a6ef30f763c <pre>curl -ks \ "https://dns1.rvmgroup.it/api/zones/records/update\ ?token=$TOKEN\ &domain=mx2.example.com\ &zone=example.com\ &type=A\ &value=1.2.3.4\ &newValue=5.6.7.8" | jq</pre>Se il valore vecchio non coincide, fallisce.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Si possono aggiornare record DNS indicando esattamente l vecchio valore ed il nuovo, ad esempio: se si vuole cambiare

mx1.example.com da 1.2.3.4 a 5.6.7.8

export TOKEN="7dd309b596ece532a586f963f7e1e9ae9854fa3791ea2c02c3c82a6ef30f763c
curl -ks  \
"https://dns1.rvmgroup.it/api/zones/records/update\
?token=$TOKEN\
&domain=mx2.example.com\
&zone=example.com\
&type=A\
&value=1.2.3.4\
&newValue=5.6.7.8" | jq

Se il valore vecchio non coincide, fallisce.