Hi!
I´m new to fortigate and I´ve spent some time but did not find a solution or hints in the forum on my question:
I have configured a DNS-server on the local network.
I want to migrate the windows hosts-file entries to the DNS-Server.
in the hosts file I find entries like
myserver 192.168.1.55
how can I add this to the fortigate DNS database?
the computers are not in any domain. I have not configured a domain.
I just need the plain computername to be resolved to the local IP-Address.
Is this possible?
Many thanks
Solved! Go to Solution.
Hello
While this is possible with the etc/hosts file I don't think it is possible with a real DNS server where there must be a domain name under which you define your hostnames.
In your case I guess you just need to add the record as myserver.mydomain.com (add it on your DNS server DB), and then on your clients (or on your DHCP server) you configure the default domain as mydomain.com. This doesn't need a Windows domain since it is purely DNS related. If I'm not wrong this should then work when you query "myserver" from you client.
Hello @ingenious_minds ,
You can use your FortiGate as a DNS server. These documents describe how can you use FortiGate as a DNS server.
https://docs.fortinet.com/document/fortigate/7.4.4/administration-guide/960561/fortigate-dns-server
https://docs.fortinet.com/document/fortigate/6.2.16/cookbook/960561/fortigate-dns-server
Hello
While this is possible with the etc/hosts file I don't think it is possible with a real DNS server where there must be a domain name under which you define your hostnames.
In your case I guess you just need to add the record as myserver.mydomain.com (add it on your DNS server DB), and then on your clients (or on your DHCP server) you configure the default domain as mydomain.com. This doesn't need a Windows domain since it is purely DNS related. If I'm not wrong this should then work when you query "myserver" from you client.
Jep, this helped me and I got it running that way.
I needed to set DHCP Option 15 (via cli as suggested by the GUI-warning).
Many thanks!
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 |
---|---|
1738 | |
1108 | |
752 | |
447 | |
240 |
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.