Really Bad Chafing with board Shorts.

Hi so I've been surfing more recently and when I go out with my board shorts I tend to get really bad chafing on my balls. I was wondering if anyone has any recommendations for what to wear underneath my boardshorts to reduce the rubbing and chafing.
I've tried just wearing cotton underwear, but i think it does'nt work well because the cotton stays wet the whole time. Is there some sort of nylon underwear that you can wear underneath your boardshorts?
Any other suggestions??
I've tried just wearing cotton underwear, but i think it does'nt work well because the cotton stays wet the whole time. Is there some sort of nylon underwear that you can wear underneath your boardshorts?
Any other suggestions??
