Thread: IPv6 support
View Single Post
Old 8th March 2011, 01:55
clearminds clearminds is offline
Junior Member
Join Date: Mar 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default IPv6 support


Have anyone come anywhere with the IPv6 support a bit longer?

Or should i start coding along on my own plugin to handle it?
My basic idea is to do the following.

$result = mysql_query("SELECT domain_id as did, sys_groupid as cid FROM web_domain");
while ($row = mysql_fetch_array($result)) {
    exec("/sbin/ip addr add dev eth0 your:net:goes:here:c".$row["cid"]."::".$row["did"]);
The basic idea is to just put up the IPs that the sites uses and automatically add the needed file on apache for the Vhost part - for the domain that it is all about.

So really just copy the config file that already have been created.
Change the IP to IPv6 address, change logfile to a -ipv6 logfile to trace special IPv6 use.

The DNS part should be handled by your self but it could be added to this plugin too. But it is hard for that one to know for what domains to create AAAA records, could add it for the basic one (that the domain is created for) and then you could just copy that one to the other once that you self want.

My question is really, can I hook a plugin into running each time the server.php runs.
And in that case how can I check if a domain have been modified so I may have to update the IPv6 address also.

So to make it short.
Every site should get an autogenerated IPv6 address. based on ClientID and DomainID.

Best Regards
Reply With Quote
Sponsored Links