I have inserted
domain test
into resolv.conf and have then expected that
# getent ahosts srv
# getent ahosts srv.test
1.1.1.1 STREAM srv.test
1.1.1.1 DGRAM
1.1.1.1 RAW
will both provide same results.
Any idea why is it not happening?
Thank you!
Edit:
/etc/nsswitch
hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname
srv.test record is stored in /etc/hosts.