DNServer: Implement a DNS server in pure PHP

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 2,945 This week: 2All time: 1,257 This week: 91Up
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: 33
All time rank: 71 in Paraguay Paraguay
Week rank: 63 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

 

Screenshots  
  • complex_example
  Files folder image Files  
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...

Downloaddnserver-2007-06-23.zip 56KB
Downloaddnserver-2007-06-23.tar.gz 54KB
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,945
This week:2
All time:1,257
This week:91Up
 User Ratings  
 
 All time
Utility:80%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:1957
  

For more information send a message to info at phpclasses dot org.