Revert code from the private dns  to pulic