Actually it could be that your resolver is not appending the domain to "pc-test" to give a "fully-qualified domain name" like pc-test.yourdomain.name. Either this is a DHCP error, where the DNS search field is not being distributed from the network server or, less likely, an error in your local network client.
First, see if "pc-test.yourdomain.name" works without a delay while "pc-test" does not. If so, edit the file /etc/dhcp/dhclient.conf as root with sudo. You'll need to make a couple of changes to this section of the file:
Remove the hash mark from "supersede domain-name" and replace it with "supersede yourdomain.name". I would also remove the "domain-search" parameter from the request list. Restart the network with "sudo service networking restart".
#send host-name "andare.fugue.com";
send host-name = gethostname();
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
#require subnet-mask, domain-name-servers;
If your machine could not resolve the name "pc-test.yourdomain.name" either, then you'll have to create static entries in /etc/hosts for machines you want to reach. Suppose that machine has address 10.10.10.10. Then you would edit /etc/hosts as root and add the line:
Another possibility is that Likewise doesn't actually provide the Unix DNS server information to your client, just its Netbios name that Windows uses. Take a look at your /etc/network/interfaces file and see what you have for the definition of eth0. If you have a static address, you can edit that file to provide the domain-search parameter like this:
and restart networking.
iface eth0 inet static