Portal Home > Knowledgebase > Articles Database > Redirecting IP
Redirecting IP
Posted by SSHocker, 08-17-2008, 10:19 PM |
Anyone know of a service that will allow an IP listed in "A record" to be redirected.
I have a client who has office based mail servers and some remote applications running and because of this their IT company has the nameservers. The NS entries cannot be changed
When I need to change A records, I then have to call the IT company, what I am hoping to achieve is have IT company set A record to xxx.xx.xx.xx and I can direct that to zz.zzz.zz.zz and change as needed
|
Posted by foobic, 08-17-2008, 10:29 PM |
Easiest way is to have IT company set a CNAME record pointing to a domain you do control. eg.
Then you change the A record for client.yourdomain.com as you like.
|
Posted by SSHocker, 08-17-2008, 10:41 PM |
Yeah I had that style suggested to me, do you know of any way to do it on an IP level?
|
Posted by Steven, 08-17-2008, 11:04 PM |
I told you i told you!
The problem with doing it on an IP level, your server will see it being redirected from the ip, not the client ip... Because it will likely be proxied.
|
Posted by foobic, 08-17-2008, 11:22 PM |
I'm pretty sure you can't use DNS to manipulate IP addresses like that - you're stuck with rerouting traffic or proxying from xxx.xx.xx.xx to whatever other IP you want to use. So, unless these IPs are all internal within your network, do you really want to increase latency and get the bill for all the client's traffic (in + out) on your own IP?
|
Posted by AntX, 08-18-2008, 05:49 PM |
Most hosts provide some kind of control panel to manage DNS, thus allowing you to change your A records. If they don't, they should.
|
Posted by dkitchen, 08-18-2008, 07:09 PM |
Seems very odd to want to actually proxy the traffic somehow?
A CNAME record should suffice...
|
Posted by Xous, 08-19-2008, 12:11 AM |
This is simply not possible to do without an extremely complicated (and expensive) configuration.
From what you've said in your post I'd assume your handling hosting the website and a 3rd party is handling the email hosting. Lets assume that the client's domain is example.net and the name-servers for the 3rd party company are ns1.test.com, ns2.test.com.
Lets assume that 10.0.0.1 is your current web-hosting server's ip and that mail.test.com. is the 3rd party's mail server.
The records for the domain probably look something like this:
; web records
example.net. IN A 10.0.0.1
www.example.net. IN CNAME example.net.
; mail records
mail.example.net. IN A 10.24.0.1
example.net. IN MX mail.example.net.
The problem is that you cannot delegate or alias the zone to name-servers that you control but you can delegate the www zone.
So my solution would be to change the name-servers of the domain to something you control and then delegate the mail sub-domain to the 3rd party company. This allows you to change the www and zone IP address and allows them to manage the mail records.
The change would look something like this:
; web records
example.net. IN A 10.0.0.1
www.example.net. IN CNAME example.net.
; mail records
mail.example.net. IN NS ns1.test.com.
mail.example.net. IN NS ns2.test.com.
example.net. IN MX mail.example.net.
|
Add to Favourites Print this Article
Also Read
Burst Down?? (Views: 799)