as in the linked post, lowering the TTL is only temporary. You lower it to something very low like 200, wait a day or two, THEN migrate a domain or in this case all domains to another server/IP and the changes SHOULD be propagating very quickly through the internet because of the low TTL. Then, afterwards, you raise the TTL again to it’s original value. And that’s also the reason for wanting to lower only specific TTL. Office 365 DNS entries should be at 3600 as you described. There are some other records, that have to be lower for one reason or the other. So after the migration you don’t want to raise all those to the default 43200 but keep them on 3600 etc. To do that I need to “target” specific values, lower them to secific values and afterwards raise them again to the original value.
E.g.
43200 -> 200 -> 43200
3600 -> 201 -> 3600
So John, if you don’t speak Chinese, do you speak SQL fluently by any chance?
Haha how true, just have a look at http://status.pulsant.com. Life just goes that way sometimes.
I would not say I’m fluent, but here you go, try this (it works on mysql 5.5, so should work for you I believe - sorry, I do not have Mariadb)
I hope that helps and have a lovely bank holiday
Many thanks
John
UPDATE dns_records
SET ttl= IF(ttl = 200, 43200, IF(ttl = 1000, 1200, ttl))
this may work as well, because above changes 2 options
UPDATE dns_records
SET ttl= IF(ttl = 43200, 200, ttl)