[isf-wifidog] Dynamic DNS : The ultimate solution

François Proulx fproulx at edito.qc.ca
Mer 8 Mar 13:01:40 EST 2006


Oh you're right, I read quickly and thought we were talking about  
that... nonetheless we had talked about the portal redirection before...


On 8-Mar-2006, at 12:55 , Philippe April wrote:

> I think you guys are talking about two different things:
>
> Francois' talking about how to have subdomains point to the portal  
> page of each venue.
> The others talking about being able ot get (easily) to the IP  
> address of each venue (the address on the internet).
>
> Am I wrong?
>
> We use VPN's all around to reach the different routers so we don't  
> have to _know_ each router's internet IP.
>
> If we needed access to the external IP (for a webcam for example),  
> we'd look at the REMOTE_ADDR stored in wifidog's database... But  
> since a lot of times we're behind somebody else's router, it's  
> pretty useless :)
>
> On 8-Mar-06, at 12:47 PM, François Proulx wrote:
>
>> Even more food for thought here :
>>
>> <VirtualHost 1.2.3.4>
>> ServerName hotspots.ilesansfil.org
>> ServerAlias *.hotspots.ilesansfil.org
>> RewriteEngine On
>> RewriteRule ^/(.*) \http://hotspots.ilesansfil.org/proxy.php [P]
>> </VirtualHost>
>>
>>
>> On 8-Mar-2006, at 12:29 , François Proulx wrote:
>>
>>> Here is a potential solution for managing dynamic DNS entierely  
>>> from the Wifidog back-end.
>>>
>>> Create an Apache name-based VirtualHost with the ServerAlias  
>>> parameter set to something like
>>> ServerAlias *.hotspots.ilesansfil.org
>>>
>>> See Apache doc here :
>>> http://httpd.apache.org/docs/1.3/mod/core.html#serveralias
>>>
>>> So, there would be a proxy PHP script that would be called and  
>>> look if the first part of the URL matches the name of a hotspot  
>>> in the database, maybe even do soundex or metaphone searches then  
>>> redirect to the right portal page .... So that's pretty simple to  
>>> do and we can specify the alias in the Wifidog admin back-end
>>>
>>>
>>> On 8-Mar-2006, at 11:19 , Max Horváth wrote:
>>>
>>>> Well, the question is - can you provide a tutorial on how to run  
>>>> our own DDNS server?
>>>>
>>>> Cheers, Max!
>>>>
>>>> Am 08.03.2006 um 16:24 schrieb Mina Naguib:
>>>>
>>>>>
>>>>> On 8-Mar-06, at 8:41 AM, Rein Petersen wrote:
>>>>>
>>>>>> Hi Max, Hi Benjamin,
>>>>>>
>>>>>> Benjamin's idea of using a client to update an existing  
>>>>>> dynamic dns service is probably the easiest. You could  
>>>>>> delegate a subdomain of ilesansfil.org (how about  
>>>>>> "venues.ilesansfil.org") to a remote dnydns service so your  
>>>>>> existing dns is not affected, then have a trigger on the db  
>>>>>> that uses the client to update the remote dyndns server on  
>>>>>> change of an ip address.
>>>>>
>>>>> The DNS server handling ilesansfil.org already supports dynamic  
>>>>> DNS entry updating ;-) No need for anything fancy to be done.
>>>>>
>>>>>>
>>>>>> I had imagined something a little more elaborate - delegating  
>>>>>> a subdomain to your auth server and running a perl sockets  
>>>>>> service that answers only host lookups on port 53. Bothering  
>>>>>> with the entire BIND DNS spec would be unecessary (don't need  
>>>>>> reverse or MX queries). DNS speaks binary on the wire so it is  
>>>>>> still a little elaborate but not impossible (I've worked on a  
>>>>>> resolver for a mail server called Lumisoft Mail).
>>>>>
>>>>> Entirely doable (done it before as well), but a bit overkill :-)
>>>>>
>>>>>>
>>>>>> I think Benjamin's plan may be easier to implement.
>>>>>>
>>>>>> Rein
>>>>>>
>>>>>> On 3/8/06, Benjamin Crulli <lostocean at gmail.com> wrote: These  
>>>>>> are the three dyndns GNU/Linux softwares i know about.
>>>>>> <a href="http://sourceforge.net/project/showfiles.php? 
>>>>>> group_id=65917">updatedd</a>
>>>>>> <a href="http://www.funtaff.com/software/addns.pl">Addns.pl</a>
>>>>>> <a href="http://ipcheck.sourceforge.net/ ">ipcheck.py</a>
>>>>>>
>>>>>> On 3/8/06, Max Horváth <max.horvath at maxspot.de> wrote:
>>>>>> > This feature would be nice ... but I think we won't be able  
>>>>>> to do it by just
>>>>>> > extending the auth server.
>>>>>> >
>>>>>> > In fact I still don't know which software exists for linux  
>>>>>> to provide a
>>>>>> > DynDNS service :( ...
>>>>>> >
>>>>>> > Did you already do some research?
>>>>>> >
>>>>>> > Cheers, Max!
>>>>>> >
>>>>>> >
>>>>>> > Am 08.03.2006 um 05:11 schrieb Rein Petersen:
>>>>>> >
>>>>>> > Hi All,
>>>>>> >
>>>>>> >  Considering that Wifidog clients heartbeat frequently to  
>>>>>> the auth server, I
>>>>>> > was wondering if anyone had considered rolling Dynamic DNS  
>>>>>> service into
>>>>>> > Wifidog auth server.
>>>>>> >
>>>>>> >  Then you could resolve dynamic ip addresses to names like
>>>>>> > boodhabar.ilesansfil.org
>>>>>> >
>>>>>> >  This might be helpful for venues that want to run their own  
>>>>>> services or
>>>>>> > have a webcam installed.
>>>>>> >
>>>>>> >  Just a crazy idea but I think it would be cool.
>>>>>> >
>>>>>> >  Rein
>>>>>> >
>>>>>> > _______________________________________________
>>>>>> > WiFiDog mailing list
>>>>>> > WiFiDog at listes.ilesansfil.org
>>>>>> > http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>>>> >
>>>>>> > _______________________________________________
>>>>>> > WiFiDog mailing list
>>>>>> > WiFiDog at listes.ilesansfil.org
>>>>>> > http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Ben Crulli
>>>>>> _______________________________________________
>>>>>> WiFiDog mailing list
>>>>>> WiFiDog at listes.ilesansfil.org
>>>>>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Rein Petersen MCP MCP+I MCSE MCDBA MCAD
>>>>>> Software Engineer
>>>>>> _______________________________________________
>>>>>> WiFiDog mailing list
>>>>>> WiFiDog at listes.ilesansfil.org
>>>>>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>>>
>>>>> _______________________________________________
>>>>> WiFiDog mailing list
>>>>> WiFiDog at listes.ilesansfil.org
>>>>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>>
>>>> _______________________________________________
>>>> WiFiDog mailing list
>>>> WiFiDog at listes.ilesansfil.org
>>>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>
>>> _______________________________________________
>>> WiFiDog mailing list
>>> WiFiDog at listes.ilesansfil.org
>>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>
>> _______________________________________________
>> WiFiDog mailing list
>> WiFiDog at listes.ilesansfil.org
>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog



More information about the WiFiDog mailing list