use null for unknown ip  instead of unknown