Description | This article describes how to determine if the FortiGate is performing any changes in the DNS resolution. When trying to connect to the local server, the connection fails, but with the IP address, it works. This could be due to MDNS resolution, |
Scope | FortiGate, FortiAP. |
Solution |
The connection to the SMB server using FQDN failed, but with the IP address, the connection works. To discard the FortiGate is not performing any change to the DNS resolution, follow the next steps:
dig example.local nslookup example.local
If the resolution of these two commands resolves correctly, the IP and the sniffer show is the same IP the DNS server sends, then the MDNS could be impacting.
Perform a ping to the domain. If the resolution of the ping is a wrong IP, then the Mac OS overrides this resolution. Check the following:
cat /etc/hosts dscacheutil -flushcache <----- Clear cache.
This output should show the file with no override for that domain. if there is no override, execute the following command; this command will force the Mac os to send the MDNS request 'Bonjour'.
dns-sd -G v4 example.local
if the output of this command is the same as the command ping, there is an issue the Mac OS is using the MDNS resolution instead of the DNS resolution. If the FortiGate is the controller of the FortiAP, follow the next cookbook configuration to isolate this. Use Wireshark packets to identify the device that is answering to these resolutions.
Related document: |
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 2025 Fortinet, Inc. All Rights Reserved.