Hello everyone,
Our Firewall was configured with several virtual IPs (static NATs) to forward internet traffic do our internal services.
Currently we do have three public IP adresses but I want to merge them.
So I do want to use virtual IPs with FQDN.
I guess I need to enter the External FQDN in the top field, and the internal fqdn in the bottom field (mapped address).
We use windows DNS server for internal name resolution (so that our clients can find each other). When we do intern name resolution the public domain name gets overwritten with the internal IP address... (e.g. service.company.at gets an private IP adress in our company lan and no the public one) so traffic does not have to use the internet.
So I guess I somehow need to add two different DNS to FortiGate - one for public dns name and one for the private IP adress (=mapped address). Does that even work when both names are identically?
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi Miciti,
You can check This approach a split DNS setup, where the same FQDN resolves to different IP addresses depending on whether the request originates from inside or outside the network.
DNS Forwarding: You could configure FortiGate to forward DNS queries to the appropriate DNS server based on the source of the query. For instance, internal DNS queries go to the internal DNS server, and external ones are handled differently
https://community.fortinet.com/t5/FortiGate/Technical-Tip-DNS-conditional-forwarding/ta-p/196821
Regards
Chandan
As you are using an internal DNS server, the DNS server should resolve it as per its config, not the FortiGate.
Hi Miciti,
Yes, it does work with identical names, as long as:
The key is to ensure that internal and external clients are using the correct DNS servers, which provide different responses based on where the query originates.
Regards
Rahul
Hm I did a testing and it didn't seem to work.
I strongly think because our FortiGate is set up to resolve everything via the internal DNS...
Hi Miciti,
You can check This approach a split DNS setup, where the same FQDN resolves to different IP addresses depending on whether the request originates from inside or outside the network.
DNS Forwarding: You could configure FortiGate to forward DNS queries to the appropriate DNS server based on the source of the query. For instance, internal DNS queries go to the internal DNS server, and external ones are handled differently
https://community.fortinet.com/t5/FortiGate/Technical-Tip-DNS-conditional-forwarding/ta-p/196821
Regards
Chandan
Thank you very much! I will give this a try
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1547 | |
1030 | |
749 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.