⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dns.cpp

📁 dns 解析源代码
💻 CPP
字号:
/*==================================================================
  JLee's DNS Resolver v1.00                                         
  by: June Lee "JL栝" Gabales                                       
  email: j_lee_ph@yahoo.com, jlee@jlee.homeunix.com                 
                                                                    
  Uses the Winsock API (winsock.h) and compiled under Bloodshed     
    Dev-C++ v4.9.8.7, which you could download in the net. Link with
    libwsock32.a when compiling. I still have to implement a windows
    version (since it's still a console application).               
                                                                    
  I made this test program to learn dns querying for a socks project
    that I am currently making.                                     
                                                                    
  Usage: dns.exe [hostname or ip address]                           
  Where: dns.exe: the program executable                            
         hostname: host or domain to resolve, ie: www.yahoo.com     
         ip address: ip address to resolve, ie: 127.0.0.1           
  Note: if no parameters are passed on the command line, the default
    hostname that it will resolve is the local machine's loopback or
    localhost (127.0.0.1). You also need to have an internet        
    connection to resolve hostnames online, otherwise a DNS lookup  
    failed Error will occur.                                        
                                                                    
  Links:                                                            
    http://www.bloodshed.net        Bloodshed Dev-C++               
    http://www.mingw.org            MingW Compiler for windows      
    http://geocities.com/j_lee_ph   don't visit here... =

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -