Welcome to WebmasterWorld Guest from 18.104.22.168
Where could be the problem?
The set debug and set d2 commands set the debug and verbose debug mode. You'll receive a detailed list of the query yahoo.com in both cases. This should tell you where the DNS query fails.