resolv.conf does not take search nor domain directive into account
la-console:# cat /etc/resolv.conf
search hellea.net
nameserver 192.168.1.190
nameserver 192.168.1.191
la-console:# ping www2
ping: bad address 'www2'
la-console:~$ ping www2.hellea.net
PING www2.hellea.net (192.168.1.204): 56 data bytes
64 bytes from 192.168.1.204: seq=0 ttl=64 time=0.894 ms
and similarly with domain
la-console:~$ cat /etc/resolv.conf
domain hellea.net
nameserver 192.168.1.190
nameserver 192.168.1.191
la-console:~$ ping www2
ping: bad address 'www2'
on a debian box on the same subnet, the aswer is correct!
(from redmine: issue id 3977, created on 2015-03-12, closed on 2015-03-19)