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

📄 readme.txt

📁 微软的DNS源码实例
💻 TXT
字号:
========
SUMMARY:
========
  The Dnsquery sample demonstrates the use of 
  DnsQuery() function to send queries to a DNS 
  server to resolve the host name to an IP address
  and vice versa.

============
DESCRIPTION:
============
  This sample sends a query to a DNS server to 
  query host (A) record or PTR record set. 
   
  1.To resolve a host name to an Ip address run 
  the program as follows:
  >Dnsquery -n host1 -t A -s 1.1.1.1( optional)


  2.To resolve an IP address for example 1.2.3.4
  to a name run the program as follows:
  >Dnsquery -n 4.3.2.1.in-addr.arpa -t PTR  -s 1.1.1.1(optional)



====================
SUPPORTED PLATFORMS:
====================

  Windows 2000

=========
Building:
=========
  To build, type "nmake" at the command line. 
  When using the sample code in a project, be 
  sure to link with the DNSAPI.LIB and the 
  WS2_32.LIB libraries. 

=====
FILES
=====

  The directory contains the following files:

   File                       Description

  README.TXT                This file
  MAKEFILE                  Project make file
  dnsquery.cpp              DnsQuery() main program


⌨️ 快捷键说明

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