Suggestion: DNS server

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Do you think adding DNS server would be a good idea?

Yes
7
78%
No
2
22%
I don't know what DNS server is
0
No votes
 
Total votes : 9

Suggestion: DNS server

Postby zzeljko » 05. January 2008 19:03

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+....).
zzeljko
 
Posts: 9
Joined: 05. January 2008 18:52

Postby KallistaAEnvarou » 05. January 2008 19:18

I think you can set up DNS stuff in http_vhosts.conf.
KallistaAEnvarou
 
Posts: 126
Joined: 02. December 2007 17:33
Location: Cold Cold California

Postby zzeljko » 05. January 2008 19:27

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).
zzeljko
 
Posts: 9
Joined: 05. January 2008 18:52

Postby KallistaAEnvarou » 05. January 2008 19:29

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.
KallistaAEnvarou
 
Posts: 126
Joined: 02. December 2007 17:33
Location: Cold Cold California

Re: Suggestion: DNS server

Postby amipizone » 26. February 2010 15:35

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);
}
amipizone
 
Posts: 1
Joined: 26. February 2010 15:27


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 117 guests