home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.dcom.vpn      VPN protocols, clients, awesomeness      2,348 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,147 of 2,348   
   Michael Ziegler to All   
   Automatically assign DNS names to openVP   
   30 May 07 23:59:13   
   
   From: haettstegern@hoster.invalid   
      
   Hi everyone,   
      
   I've recently set up a little OpenVPN network, that allows all the   
   clients that are connected to communicate with each other in a secure   
   way. The VPN itself works perfectly fine.   
      
   Now I'd like all clients that connect to automatically get a DNS   
   hostname as a subdomain of users.geek-net.de, according to the CN of the   
   certificate they authenticated with. So, the user mistagee would get   
   mistagee.users.geek-net.de.   
      
   Currently, I'm using a cron-job that runs a PHP script to achieve that.   
   The PHP script parses the status.log file, generates DNS entries from it   
   and writes these into PowerDNS's mysql database, which then answers   
   questions. That works - but is there a better way to do it? :/   
      
      
   Kind regards,   
   Michael   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca