Download the PHP package jdwx/dns-query without Composer

On this page you can find all versions of the php package jdwx/dns-query. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dns-query

DNSQuery - Native PHP DNS Resolver and Updater

The main features for this package include:

Installing DNSQuery

You can require it directly via Composer: https://packagist.org/packages/jdwx/dns-query

Or download the source from Github: https://github.com/jdwx/dns-query.git

Requirements

Using DNSQuery

DNSQuery provides multiple interfaces depending on requirements.

The simplest interface is designed to mimic PHP's built-in dns_get_record() function with additional flexibility to query other name servers.

But it allows specifying additional options, like what name server to use for the lookup:

(Produces the same output as above.)

You can also specify a list of name servers or a custom resolv.conf file to use for the lookup. (See the examples.)

For repeated queries, the resolver should be instantiated. It provides a compatability interface in that form as well:

(Produces the same output as above.)

The native query interface returns full detail about the response from the name server contacted:

Documentation

Documentation is being developed here.

Stability

Development of test coverage for this package is incomplete and is currently limited to the Resolver functionality. The Updater and Notifier are not yet tested, and not all RRs have test coverage.

History

This package was forked from Net_DNS2, which was maintained by Mike Pultz until 2020. Key differences are:

I apologize that backwards compatibility is not a priority; my company required adherence to certain coding standards in order to support this work. This is therefore likely only suited for new development.

The original package represents an enormous amount of work done over many years. As such Mike Pultz deserves full credit for most of this package; most of what I am doing is window dressing and adapting it to meet my specific needs. But since this is a public repository, I wanted to make clear that I do not claim credit for Mike's original work.

See the Net_DNS2 Website for more details about Net_DNS2.


All versions of dns-query with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-filter Version *
ext-openssl Version *
ext-sockets Version *
ext-ctype Version *
jdwx/array-cache Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jdwx/dns-query contains the following files

Loading the files please wait ....