qu-way / domain-dns

:sunny: The library resolves the address of the nearest server to you by domain name and Your IP address

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP Domain DNS

🍑 The library resolves the address of the nearest server to you by domain name and Your IP address

GitHub top language GitHub code size in bytes GitHub

Installing

$ composer require kayw-geek/domain-dns

Usage

<?php
use KaywGeek\Dns\Dns;

$myIp = '124.64.165.53';
$domain = 'google.com';
$serverIp = (new Dns($domain,$myIp))->ParsingDomain();

License

MIT

About

:sunny: The library resolves the address of the nearest server to you by domain name and Your IP address

License:MIT License


Languages

Language:PHP 100.0%