PHP Classes
elePHPant
Icontem

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 (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-06-23 (11 years ago) RSS 2.0 feedStarStarStar 54%Total: 2,904 All time: 1,273 This week: 447Up
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
  Performance   Level  
Name: Cesar D. Rodas <contact>
Classes: 39 packages by
Country: Paraguay Paraguay
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,904
This week:0
All time:1,273
This week:447Up
 User Ratings  
 
 All time
Utility:80%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:1936