linux dig command

When I use the linux dig command such as #dig yahoo.com it resolves
but when I use the same command as root it gives me error "Segmentation Fault"
Please advise I am completly baffled.

Can you post the output of ls -ltr `which dig` ?