Most northern Indian astrologers define varna by the sign of the zodiac occupied by the Moon.
Most South Indian astrologers define varna by the nakshatra occupied by the Moon.
And what is the technique for determining varna prescribed in the classical texts of Jyotish?