> It is as simple as it might seem. I meant "It is not as simple as it might seem.". > - gethostbyname call doesn't give you ttl information back > So, if a ttl info is needed, you have to basicially integrate all I answered myself here. yes you can use res_mkquery to do raw dns. It's still a pain though. Anawat