The "dig" command, by defualt, has never appended the domain name to a query. From the dig man pages:
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.
dig +search somecomp
Or you could just alias dig to include the search option:
alias dig='dig +search'