Forum Discussion
NSlookup returning both Private and Public IPs for a URL
Samir,
Your approach will discard all the requests coming from Public dns , and external users will not able to resolve the ip at all, so we should prefer DNS_RESPONSE event and modify the rr record based on the subnet.
The logic should be like below. when DNS_RESPONSE { if the dst ip contains the internal ip and the rr record is external then change rr to internal ip.
if the dst ip contains the external ip and the rr record is internal then change rr to external ip.
else keep the rr record unchanged. }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com