Skip to main content
connect555
New Member
Feb 4, 2016 8:24 AM UTC
Solved

DNS Requests -> Forwarding Proxy

Hi, we´re switching from MS FTMG to FortiGate with Explicit Web Proxy and a "Web Proxy Forwarding Server". The MS FTMG sends all DNS-Request to the configured 'Upstream Proxy'. How can i configure this Option on a FortiGate? Opening a Website results in '504 DNS look up failed'. Using a local DNS-Server is not an Option. There is no Webfilter configured.

    pavol_jaco
    New Member
    Sep 20, 2018 7:00 AM UTC

    I have opened ticket for this problem. Guess what... it is normal and as per design :)

    Of coarse this is absolutely wrong design. You dont need to resolve anything via DNS when using proxy. As support said, this is simply not yet implemented feature in FortiOS.

    6 replies

    40netter
    New Member
    Feb 1, 2018 1:16 PM UTC
    Does anybody have a solution to this. We have the exact same problem here. Even though the requests are meant to be forwarded to the parent proxies it seems like the Fortigate tries to do dns resolution on the hostnames, which, ofcourse, fails since the internal DNS server only knows about names in the lan. Any way of disabling dns resolution when forwarding requests would be really helpful.
    pavol_jaco
    New Member
    Sep 20, 2018 7:00 AM UTC

    I have opened ticket for this problem. Guess what... it is normal and as per design :)

    Of coarse this is absolutely wrong design. You dont need to resolve anything via DNS when using proxy. As support said, this is simply not yet implemented feature in FortiOS.

    connect555
    New Member
    Apr 22, 2019 8:23 PM UTC

    Any update to this behavior?

    FortiOS 6.2? mhmh?

    sw2090
    SuperUser
    SuperUser
    Apr 24, 2019 1:32 PM UTC

    hm you could to two things:

     

    a) set the FGT system DNS to your DNS Proxy. Enable DNS Databse Feature on your FGT and configure a DNS Forwarder on the FGT for the interface you need on.

    b) let DHCP do it for you. Letzt the FGT be DHCP Server on the interface you need and set the DHCP Server to hand out the proxy as DNS to the Clients.

    fida_khan
    New Member
    Jul 11, 2021 12:14 PM UTC

    Hi All,

     

    has anyone found resolution to this issue? if yes then what was the fix as we are currently having the same issue.

     

    Regards,

    Fida

    sw2090
    SuperUser
    SuperUser
    Jul 12, 2021 8:06 AM UTC

    as said you can use the FGT as DNS Server for your clients and set the FGT to do DNS forwarding to your proxy.

    DNS Forwarding on FortiOS can be configured per interface. The feater in gui is just not enabled by default. So enable "DNS Datbase" in Feature View to have it in gui.

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT