Duplicati does 5 retries and waits 10 seconds between each attempt. I am guessing that it takes a bit longer for the DNS to get back up.
You can set the advanced options if you want to wait more:
--retry-delay=1m
--number-of-retries=10
This will give 1 minute delay and 10 retries.