🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

DNS lookups

Started by
0 comments, last by QWERTY 24 years, 2 months ago
How can I convert any IP adress (www.xxxx.com) to DNS lookup (xxx.xxx.xxx.xxx)? Is there anybody who knows alghoritm? Thank in advance
Advertisement
There is no algorithm, per se. You need to connect to a DNS server in order to get the IP address for a given hostname. The transport provider on your computer should do this automatically whenever a gethostbyname() is called.

This topic is closed to new replies.

Advertisement