Link to home
Create AccountLog in
Avatar of mobot
mobotFlag 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?
ASKER CERTIFIED SOLUTION
Avatar of Jan Bacher
Jan Bacher
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of 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.
Not in forward zones.
Avatar of mobot

ASKER

Thanks for the explaining that point.