What is the proper salutation for a Judge when you do not know the name?

Depending on the court it is either "Your Honour", "My Lord", or "Sir/Ma'am"

When in doubt use "Your Honour" until you are instructed otherwise