Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
lichtimc
New Contributor

DNS for DHCP clients

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.

3 REPLIES 3
Hosemacht
Contributor II

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

sudo apt-get-rekt

sudo apt-get-rekt
sw2090

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.

-- 

"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams

-- "It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
lichtimc

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...

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors