So i uses loopia.se as my dns provider.
And a also have some dns for my home but it always change ip (have dynamic ip home )
So for fixing this i build a docker images that updates my loopia server from the docker images.
So i if you are using loopia i but this is the best way of updating you dns records
docker run -e "login=example.com" -e "password=pass" -e "domain=www.example.cpm" -i -t mattiashem/ddclient-loopia