Page 1 of 1

Suggestion: DNS server

PostPosted: 05. January 2008 19:03
by zzeljko
This is a quite good project. However, I have a suggestion for improvement.

Is it possible to include a DNS server in a XAMPP, or to publish it as an add-on?

Lets observe using XAMPP on a home or small office network. The way it is now, all clients must enter IP addresses (which are hard to remember when there are more servers) in their browsers or administrator must update hosts file on each client computer. With DNS server being a part of XAMPP it would make maintaing small networks somewhat an easier task. Furthermore, it would enrich this whole project by making it a complete solution for web publishing (DNS+HTTP+PHP+MySQL+FTP+SSL+....).

PostPosted: 05. January 2008 19:18
by KallistaAEnvarou
I think you can set up DNS stuff in http_vhosts.conf.

PostPosted: 05. January 2008 19:27
by zzeljko
You are refering to setting up a virtual host.

Setting up a virtual host in Apache configuration file is not enough. For instance, you can set a virtual host "mysite.host" but entering a http://mysite.host/ in your Internet browser would not display a page. That's why you need a DNS server which will direct your browser to the correct server and then the web page will be delivered (without it, your browser does not know where to look for mysite.host).

PostPosted: 05. January 2008 19:29
by KallistaAEnvarou
Right, but I saw DNS code things in the vhosts file thingy in other threads. I don't really know how it all works. I just paid for BlueHost.

Re: Suggestion: DNS server

PostPosted: 26. February 2010 15:35
by amipizone
I found a putative code in status.php as follows:

if (file_exists("$partwampp\PosadisDNS\posadis.exe")) {
if (($handle = @fsockopen($host, 53, $errno, $errstr, $timeout)) == false) {
$named = "NOK";
} else {
$named = "OK";
}
@fclose($handle);
line($TEXT['status-named'], $named);
}