Doesn't linux run resolved locally? You just send request there and it handles hosts, cache and whatnot.