Skip to main content
lichtimc
New Member
June 19, 2021
Question

DNS for DHCP clients

  • June 19, 2021
  • 1 reply
  • 4438 views

Is it possible to enable the FortiGate DHCP-Server on the internal interface and resolve internal hostnames of the connected devices with no 3rd-party servers/apps? (only FortiGate)

 

Example:

Host "windows-pc1" connects to network and via dhcp gets ip 10.0.0.1

Host "linux-pc2" connects to network and via dhcp gets ip 10.0.0.2

 

"ping linux-pc2" should work from windows-pc1.

    1 reply

    Hosemacht
    Explorer
    June 21, 2021

    yes this is possible.

     

    you have to enable a DNS Server on the interface and setup a DNS Database, then add the regarding 'A' and 'PTR' Record to the DNS-Database.

     

    Regards

    sw2090
    SuperUser
    SuperUser
    June 21, 2021

    that would do the trick manually - I think the thread-startet wanted it the way windows active directory does. If a client gets a dhcp ip from the domain controller it is automatically resolvable by its hostname for everyone who uses the DC as DNS.

    I don't think that is possible on a FGT.

    lichtimc
    lichtimcAuthor
    New Member
    June 21, 2021

    Yes, exactly, I want it to happen dynamically. I know about the manual way.

     

    Though I wonder, how cheap consumer-product-routers manage to do this...