We help IT Professionals succeed at work.

BIND9 - DNS redirect?

mobot
mobot asked
on
202 Views
Last Modified: 2017-03-10
We have a website that was hosted by us.  We have an A record defined for the site so that subdomain.mydomain.org  uses this address 172.30.16.249.  The vendor wants us to change the ip address to one of theirs.  10.10.10.10

So that requests to subdomain.domain.org are redirected to their ip addy, 10.10.10.10.

How is this done?  Do you define an A record with the ip address 10.10.10.10 in the proper zone file and then setup a CNAME to do the redirect?  Or can it be done with just an A record?
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2015
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
Jan hi - Thanks for the detailed explanation. Just an A record is required.  This will help a few of us out.

 I'm trying to understand how you can have a subdomain that you are authoritative for point to an ip address from the vendors domain that you're not authoritative for. The vendors ip address in our zone file seems out of place.  I had thought that you could only use the ip addresses you were authoritative for.
CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
Not in forward zones.

Author

Commented:
Thanks for the explaining that point.