use tag of nsswitch