- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
plain hostname entry in DNS-server without domain
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.
- Labels:
-
FortiGate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
NSE 4-5-6-7 OT Sec - ENT FW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
