Fixed a flaw with updating DNS