PHP Classes

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 52%Total: 2,996 All time: 1,237 This week: 560Up
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: 36
All time rank: 71 in Paraguay Paraguay
Week rank: 93 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 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,996
This week:0
All time:1,237
This week:560Up
 User Ratings  
 
 All time
Utility:77%StarStarStarStar
Consistency:77%StarStarStarStar
Documentation:-
Examples:61%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2409