Well it is right. You are sending the letter to somebody who you don't know, just like you said, and you it would be polite to address it Dear Sir. Besides, since you don't specifically say who the letter should go to, it could end up in hands of higher rank person.
Note: I am not a teacher.
- For Teachers