i'm trying to configure a domain environment which has same internal and external domain name.
Say - Internal -- aishwarya.com = 192.168.50.100
External -- aishwarya.com = 185.85.85.85
i've some external sub domains say
e1.aishwarya.com e2.aishwarya.com e3.aishwarya.com
Now i have added a client in my internal domain say i1.aishwarya.com and has ip 192.168.50.102 with dns primary 192.168.50.100 and secondary say 8.8.8.8
** Problem **
Problem : now when i try to resolve e1.aishwarya.com it says unable to resolve since this is a public dns url and it is searching internally since 192.168.50.100 is primary dns on client.
Work Around:
i've to change my primary dns ip to 8.8.8.8 so that this resolves e1.aishwarya.com the problem here is this way it makes me difficult to join new clients to AD (192.168.50.100)
i've to add entries in forward lookup zone but the problem here is much manual effort and every entry needs to be updated always in forward lookup zone
What i want
I'm looking for a solution that my external domain names should resolve with primary dns ip as internal dns server i.e 192.168.50.100
Thanks for Reading, Have a Great Day Ahead.