PHP Classes

DNServer: Implement a DNS server in pure PHP

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 2,999 All time: 1,235 This week: 50Up
Version License PHP version Categories
dnserver 1.0Public Domain3.0Networking
Description 

Author

This class can be used to implement domain name servers (DNS).

It starts listening to DNS UDP port 53 to handle domain name resolution requests.

The class decodes the DNS request, invokes a configurable callback function that takes the DNS query type and the domain to resolve and returns response IP address.

Innovation Award
PHP Programming Innovation award winner
March 2007
Winner


Prize: One book of choice by O'Reilly
DNS is a vital service on the Internet. It allows users to refer sites by meaningful names, instead of using hard to remember IP addresses.

This class implements a DNS server in pure PHP that can be adapted to the needs of specific PHP applications.

Manuel Lemos
Picture of Cesar D. Rodas
  Performance   Level  
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 38 packages by
Country: Paraguay Paraguay
Age: 37
All time rank: 71 in Paraguay Paraguay
Week rank: 212 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

Screenshots (1)  
  • complex_example
  Files folder image Files (6)  
File Role Description
Accessible without login Plain text file complex_example.php Example A more useful test
Plain text file DNServer.php Class Main Class
Accessible without login Plain text file example.php Example Example
Plain text file DNServer_thread.php Class "Threaded" DNServer
Accessible without login Plain text file example_thread.php Example Example of how to implemente the Threaded server...

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloaddnserver-2007-06-23.zip 57KB
Downloaddnserver-2007-06-23.tar.gz 55KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Thread Download .zip .tar.gz To implement the DNServer_multithreaded. Conditional
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,999
This week:0
All time:1,235
This week:50Up
 User Ratings  
 
 All time
Utility:77%StarStarStarStar
Consistency:77%StarStarStarStar
Documentation:-
Examples:61%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2451