DNS lookup how ?

From: Sagaert Johan (sagaert.j)
Date: 09/03/05

Date: Sat, 3 Sep 2005 02:00:00 +0200

where can i find some sourcecode to implement a gostname to ip adr lookup.
My embedded coldfire device does not support dns lookup ,so i need another
way to do it.

i hate to use ip addresses in configuration files, and need the hostname

Is there some sourcecode available to solve my problem ?