Avatar of mobot
mobot
Flag for United States of America asked on

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?
DNS

Avatar of undefined
Last Comment
mobot

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jan Bacher

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
mobot

ASKER
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.
Jan Bacher

Not in forward zones.
mobot

ASKER
Thanks for the explaining that point.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck