mosx/dnsinfo-service

获取特定网站dns信息的函数

v1.0.0 2023-07-07 17:20 UTC

This package is auto-updated.

Last update: 2024-09-10 12:24:37 UTC


README

测试任务包

为了使用这个复杂的包,您应该

  1. 使用composer添加依赖

     composer require mosx/dnsinfo-service
    
  2. 安装依赖:composer install

  3. require_once("vendor/autoload.php"); 如果您还没有这么做的话

  4. 连接它

     use MosxTech\DnsInfoService\DnsInfoService;
    
  5. 创建对象的实例并使用其功能)

    $dns = new DnsInfoService();
    $result =  $dns->getDnsInfo('google.com');
    
  6. 结果,您将得到一个包含数据的数组