Dynamically set primary or backup IP for a DNS entry