Fix Various DNS Issues

Made some DNS fixes - allow disabling DNS on user-defined domains and respect the TTLs we get back when performing DNS queries.