dns
| From: | LaserJetter | Date: | Wed, 19 Dec 2001 18:26:06 +0000 |
| Subject: | dns | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78237@lists.php.net to get a copy of this message | ||
Is there a way to set up a php page to act as a name server under windows? I
dont have named etc on that OS.
I was thinking of maybe having PHP read from the port used for DNS services
and recording the MAC address of the machine in a dateabse for example and
linking this to a name i.e. server.mydomain
It would need to work on the Windows platform and be compatible with
whaterver Windows uses for DNS stuff.
The process would be as follows:
1: client tries to access server.mydomain in a browser window
2: a request is sent to the server asking it to find the IP address of the
machine called server.mydomain
3: this IP address is then sent back to the client and connecting it to say
192.168.1.9
Do you think this could be done?