1,105,177 Community Members

how to send dns query through C program?

Member Avatar
numerouno543
Newbie Poster
12 posts since May 2005
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hello...
Can someone please tell me how to send a DNS query through a C/C++ program ??
Regards.

Member Avatar
Dave Sinkula
long time no c
4,852 posts since Apr 2004
Reputation Points: 2,398 [?]
Q&As Helped to Solve: 340 [?]
Skill Endorsements: 69 [?]
Team Colleague
 
0
 

What compiler/OS? There will probably be documentation provided with your system. There may be something like this for Windows, or this for Linux.

Member Avatar
numerouno543
Newbie Poster
12 posts since May 2005
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hello.
I've to write the code in visual C++ 6.0..... I saw the documentation of msdn..but found it too confusing....as i am a newbie to visual c++ too...
can you please for the moment tell me a simple program to get ip address of a website?? ..
then I can learn about dns query...
thanks..

Member Avatar
numerouno543
Newbie Poster
12 posts since May 2005
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

P.S> i m using visual c++. ..my final dns query has to be sent to my mysql server on internet..hosted on linux with apache and php...

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article