BIND9 - DNS redirect?

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?
mobotAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jan SpringerCommented:
go into the zone for mydomain.org.  create an address record:

subdomain            IN         A         10.10.10.10

is how I would recommend doing it.  but you do realize that everything subdomain.mydomain.org will end up at that IP?

this presumes that you will no longer be hosting your own website and that the owner of 10.10.10.10 will be hosting it for you.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mobotAuthor 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.
0
Jan SpringerCommented:
Not in forward zones.
0
mobotAuthor Commented:
Thanks for the explaining that point.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.