supersem/fetch-dns-service 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

supersem/fetch-dns-service

最新稳定版本:1.0.0

Composer 安装命令:

composer require supersem/fetch-dns-service

包简介

The library which get all DNS records for specified domain name.

README 文档

README

This is a PHP library for the Laravel framework that allows us to get all DNS records for the specified domain name.

Requirements

  • PHP v.8.2 or later
  • Composer

Installation

Navigate to your project directory and install the library via composer:

   cd your-project
   composer require supersem/fetch-dns-service

Usage/Examples

use Supersem\FetchDnsService\FetchDnsService;

$fetchDnsService = new FetchDnsService();
$result = $fetchDnsService->getDnsRecords("gmail.com");

print_r($result);

[
    ["type" => "A", "host" => "gmail.com", "ttl" => "3360", "ip" => "142.250.1.19"],
    ["type" => "TXT", "host" => "gmail.com", "ttl" => "18640", "txt" => "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="],
    ...
];

Running Tests

To run tests, run the following command

./vendor/bin/phpunit vendor/supersem/fetch-dns-service/tests

License

This library is open-source and available under the MIT license.

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固