Login   Register  
PHP Classes

DNServer: Implement a DNS server in pure PHP

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Cesar D. Rodas
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Packages: 37 Browse all classes by Cesar D. Rodas Browse all classes by
Country: Paraguay Paraguay - PHP jobs in Paraguay
Age: 26
All time rank: 71 in Paraguay Paraguay
Week rank: 22 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 24x

Winner: 5x

  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Cesar D. Rodas  >  DNServer  >  Download Download .zip .tar.gz  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: DNServer
Base name: dnserver
Description: Implement a DNS server in pure PHP
Version: 1.0
PHP version: 3.0
License: Public Domain
All time users: 2642 users
All time rank: 1310
Week users: 1 user
Week rank: 1813 Down
  Groups   Screenshots Screenshots   Freshmeat project   Rate classes User ratings  
  Dependencies   Trackback   Applications   Related links   Files Files  

Group folder image Networking Networking protocols, clients and servers View top rated classes

  Files folder image Screenshots  
ScreeShot of complex_example.php
File Role Description
Accessible without login Image file complex_example Screen ScreeShot of complex_example.php

  Innovation Award  
PHP Programming Innovation award winner
March 2007

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

  Freshmeat project  
Project record: dnserver
Popularity score: 20.42
Vitality score: 50.99

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (78.1%) Sufficient (78.1%) - Not sure (59.4%) - - Not sure (52.8%) 1407
Month: Not yet rated by the users

  Packages needed by this class  
Class Dependency Why it is needed
Thread Conditional To implement the DNServer_multithreaded.

  Trackback links  
Link Description
Implement a DNS server in pure PHP hi, i have found one interesting class for implement DNS server in PHP...
PHP: Your imagination is your limit Do you think PHP was only developed for write Web-Sites? I invite ...
Multi threading with PHP Surfing in Phpclasses Iíve found a really useful (at least for me) class that implements a Java like thread class...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Blog page Here is the blog of the project

  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...

Download Download all files: dnserver.tar.gz dnserver.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.