PHP Classes

DNServer: Implement a DNS server in pure PHP

Recommend this page to a friend!

  Author Author  
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 38 packages by
Country: Paraguay Paraguay
Age: 30
All time rank: 71 in Paraguay Paraguay
Week rank: 68 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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: 2876 users
All time rank: 1277
Week users: 0 users
Week rank: 627 Equal
  Groups   Screenshots Screenshots   Rate classes User ratings   Dependencies  
  Trackback   Applications   Related pages   Files Files  

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

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

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (80%) Good (80%) - Sufficient (62%) - - Not sure (54%) 1889
Month: Not yet rated by the users

  Packages needed by this class  
Class DownloadWhy it is needed Dependency
Thread Download .zip .tar.gz To implement the DNServer_multithreaded. Conditional

  Pages that reference this package  
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...

Latest pages that reference packages Latest pages that reference packages

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

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

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