Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: Diabolist
Forum: Solaris 01-20-2009
3,841
Posted By Diabolist
getent hosts [hostname] This will query...
getent hosts [hostname]

This will query whatever name resolution you have configured in /etc/nsswitch.conf. ie:

getent hosts mybox
Showing results 1 to 1 of 1

 

Featured Tech Videos

All times are GMT -4. The time now is 09:39 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy