I would not recommend giving your dog coconut oil - there's still a lot of controversy about it. Here's an MSN article which mentions some of the issues surrounding coconut oil use in humans.
MSN article
I haven't read any recent studies, but studies done decades ago on canines in which coconut oil was given to dogs, they developed coronary artery disease just like people.
Joy