$manlookup

resolver

The Linux manual documents resolver in 2 places. Pick the section you want.