I recently affiliated with a site. I point to it with a CNAME so it looks something like that affiliatesite.mysite.com
I did not notice for a while they let search engines index their affiliate content. The content is not on my site but because it is masked with CNAME it appears it on my site. Is that something that can negatively impact my ranking of my main domain mysite.com?