The "dig" command, by defualt, has never appended the domain name to a query. From the dig man pages:
Code:
+[no]search
Use [do not use] the search list defined by the searchlist or
domain directive in resolv.conf (if any). The search list is
not used by default.
So...
dig +search somecomp
Edit addition:
Or you could just alias dig to include the search option:
alias dig='dig +search'
dig mycomp