Since you haven't had any bites, one solution I've been playing with for a domain forwarding service is to set up a wildcard zone which will pass through anything delegated to the specified nameservers to a simple PHP script which will look up the domain from a MySQL database and forward to the necessary domain/URL, this allows for collection of hit statistics etc. and end up at the required destination.<div>
<br></div><div>I realise there are security issues with a wildcard service, and to be honest I haven't put much thought into it so far, but I'm just putting it out there for some information if you're looking to build your own system, but you can easily avoid the wildcard and create entries manually if need be. This would work nicely as a dedicated service on a cheap ~US$15/y VPS.</div>
<div><br></div><div><font face="courier new, monospace"># apt-get install bind9</font></div>
<div><font face="courier new, monospace"><br></font></div><div><div><font face="courier new, monospace"># cat > /etc/bind/named.conf.local << EOF</font></div><div><font face="courier new, monospace">zone "." {</font></div>
<div><font face="courier new, monospace"> type master;</font></div><div><font face="courier new, monospace"> file "/etc/bind/root.zone";</font></div><div><font face="courier new, monospace">};</font></div>
<div><font face="courier new, monospace">EOF</font></div><div>
<font face="courier new, monospace"><br></font></div><div><div><font face="courier new, monospace"># cat > /etc/bind/root.zone << EOF</font></div><div><font face="courier new, monospace">@ IN SOA . <a href="http://domain.com">domain.com</a>. (</font></div>
<div><font face="courier new, monospace"> 2011122501 ; serial YYYYMMDDnn</font></div><div><font face="courier new, monospace"> 86400 ; refresh ( 24 hours)</font></div>
<div><font face="courier new, monospace"> 7200 ; retry ( 2 hours)</font></div><div><font face="courier new, monospace"> 3600000 ; expire (1000 hours)</font></div><div><font face="courier new, monospace"> 172800 ) ; minimum ( 2 days)</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"> IN NS <a href="http://ns1.domain.com">ns1.domain.com</a>.</font></div>
<div><font face="courier new, monospace"> IN NS <a href="http://ns2.domain.com">ns2.domain.com</a>.</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">*. IN A 12.34.56.78</font></div>
<div><font face="courier new, monospace">EOF</font></div></div><div><br></div><div>The index.php is a simple script which will query the database with the $_SERVER['HTTP_HOST'] variable, record any necessary statistical information and header('Location: blah') to the final destination. All you need to do then is create a simple UI where you can check statistics and add/edit/delete domain names and destinations.</div>
<div><br></div><div>I guess the other question is if you want to forward email too, something which I'm still looking into either with Postfix or Exim and virtual aliases with MySQL, so if anyone can lend a hand on that side of things that would be grand too.</div>
<div><br></div><div><br></div><div>Shaun</div><br><div class="gmail_quote">On Wed, Oct 24, 2012 at 2:16 PM, Onno Benschop <span dir="ltr"><<a href="mailto:onno@itmaze.com.au" target="_blank">onno@itmaze.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Anyone?</p>
<p dir="ltr">()/)/)() ..ASCII for Onno..</p><div><div>
<div class="gmail_quote">On 23 Oct 2012 07:35, "Onno Benschop" <<a href="mailto:onno@itmaze.com.au" target="_blank">onno@itmaze.com.au</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I received an email from ZoneEdit that reseller services will be discontinued next month. This impacts the 49 domains I have hosted there. I have started the process of looking for another service provider and am seriously considering Route 53 (Amazon) for a number of reasons.<div>
<br></div><div>One catch.</div><div><br></div><div>Route 53 does not support the apex domain redirection (or any other for that matter) that ZoneEdit does. Specifically, making a web request from <a href="http://example.com/" target="_blank">http://example.com/</a> turn into <a href="http://www.example.com/" target="_blank">http://www.example.com/</a>, or <a href="http://brandname.com/" target="_blank">http://brandname.com/</a> into <a href="http://brandname.company.com/" target="_blank">http://brandname.company.com/</a> which I use a lot.</div>
<div><br></div><div>I'd like to create an appliance where I can configure redirects and point web queries on their merry way.</div><div><br></div><div>Here's my question:</div><div><br></div><div>I can build a full Ubuntu server (in the cloud) that does this, but are there more minimalist - read, less updates, less CPU cycles, less maintenance, less software, etc. that I can deploy? Ideally someone can point me at an existing appliance that will do this, or perhaps you have some thoughts on how I might best implement this.</div>
<div><br></div><div>Note that I don't really want to engage a 3rd party service, I'm already dealing with many registrars, Google Apps accounts, etc. Less is more for me in this case.<br clear="all"><div><br></div>
<div><br></div><div>Thoughts and comments?</div>-- <br>Onno Benschop<br><br>()/)/)() ..ASCII for Onno..<br>|>>? ..EBCDIC for Onno..<br>--- -. -. --- ..Morse for Onno..<br><br>ITmaze - ABN: 56 178 057 063 - ph: <a href="tel:04%201219%208888" value="+61412198888" target="_blank">04 1219 8888</a> - <a href="mailto:onno@itmaze.com.au" target="_blank">onno@itmaze.com.au</a><br>
</div>
</blockquote></div>
</div></div><br>_______________________________________________<br>
PLUG discussion list: <a href="mailto:plug@plug.org.au" target="_blank">plug@plug.org.au</a><br>
<a href="http://lists.plug.org.au/mailman/listinfo/plug" target="_blank">http://lists.plug.org.au/mailman/listinfo/plug</a><br>
Committee e-mail: <a href="mailto:committee@plug.org.au" target="_blank">committee@plug.org.au</a><br>
PLUG Membership: <a href="http://www.plug.org.au/membership" target="_blank">http://www.plug.org.au/membership</a><br></blockquote></div><br></div>