Hi All. I'm looking to implement mydns (possibly with Ispconfig) into our network. We have sites in the UK and Australia, I'm looking to give different DNS results based on the location of the user ie User from UK : www.site.com 1.1.1.1 User from Aus: www.site.com 2.2.2.2 Is this possible using mydns? or any ideas on how it is possible (preferably avoiding bind) Thanks John
http://stackoverflow.com/questions/7292840/redirect-user-to-subdomain-for-specific-country its more of a apache thing than i DNS i think hope that will give you some head up maybe like this .htaccess file in the webroot folder <IfModule mod_geoip.c> RewriteEngine on RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AU$ RewriteRule ^(.*)$ http://au.mysite.aussie$1 [L] </IfModule> replace au.mysite.aussie = your website name here
Hi thanks for the reply but we do need different DNS respsonses... ie if my Australian customer asks for the webserver they don't want the UK one (and vice versa). I may have found a very messy way to do it, however I'm looking for a much cleaner way. John
I have same problem as yours but a bit diffrent ^^ My clock, and time zone are rageing. I have diffrent hour on internet, diffrent on mailbox, and difrent on system. That's annoying...