set c std to gnu99
added dns support with multiple results