LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2013, 03:14 PM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Rep: Reputation: 30
geoDNS


I understand how you can use a proxy server to get an IP address in a different country.
How is it possible to use a DNS server in the same way so that you get a different IP address?
 
Old 10-31-2013, 04:56 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
Hi,

You define different views based on the location (derived from the IP) of the client.
Read more here and here

Regards
 
Old 11-01-2013, 01:06 PM   #3
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory View Post
Hi,

You define different views based on the location (derived from the IP) of the client.
Read more here and here

Regards
which ip does the webserver see though:
client-->middle computer with dns-->server
165.xx.xx.1-->208.xxx.xxx.xxx-->server

For this to work with geo location, the webserver needs to see the client as 208.xxx.xxx.xxx
 
Old 11-01-2013, 05:32 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
Quote:
Originally Posted by qwertyjjj View Post
which ip does the webserver see though:
client-->middle computer with dns-->server
165.xx.xx.1-->208.xxx.xxx.xxx-->server

For this to work with geo location, the webserver needs to see the client as 208.xxx.xxx.xxx
Nah, the webserver sees 165.xx.xx.1 as the client IP
It's the dns that decides which specific webserver will pass to the client, based on the client's IP
Quoting from wikipedia
Quote:
The objective is where a website has, for example, a server in France and one in the US, and a user looks up the name of the website in DNS, if the user is in Europe, the user gets the IP address of the French server, whereas a user in the US gets the IP address of the US server.
 
Old 11-02-2013, 06:40 AM   #5
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory View Post
Nah, the webserver sees 165.xx.xx.1 as the client IP
It's the dns that decides which specific webserver will pass to the client, based on the client's IP
Quoting from wikipedia
there seem to be a lot of site with geo dns:
http://support.unblock-us.com/custom...rticles/291530

how does this work. it looks like it would give a different ip just like a vpn setup.
is it called smartdns?

Last edited by qwertyjjj; 11-02-2013 at 06:42 AM.
 
Old 11-02-2013, 12:30 PM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
Quote:
Originally Posted by qwertyjjj View Post
there seem to be a lot of site with geo dns:
http://support.unblock-us.com/custom...rticles/291530

how does this work. it looks like it would give a different ip just like a vpn setup.
is it called smartdns?
I cannot tell how it works, but from this looks like there is a program running that gives you an ip like dhcp does.
Quote:
How it Works

Every computer or other Internet-enabled device has an address. It's made up of numbers, like a street address. Our solution is brilliantly simple. We give you an address where the content you want is available. It's like moving your computer or other device without actually moving it.
It's not like geodns, as it changes your IP (the ip the server is seeing) and not the server you're going to connect to based on your location.
 
Old 11-02-2013, 01:44 PM   #7
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory View Post
I cannot tell how it works, but from this looks like there is a program running that gives you an ip like dhcp does.

It's not like geodns, as it changes your IP (the ip the server is seeing) and not the server you're going to connect to based on your location.
hmm
they seem to have these as well, which only route traffic for blocked sites:
http://support.trickbyte.com/support...s-on-windows-7
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] geoDNS hermy7 Linux - Newbie 7 02-17-2012 03:33 AM
GeoDNS, is it real and in use? sir-lancealot Linux - Server 1 09-01-2010 04:02 PM


All times are GMT -5. The time now is 03:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration