In this scenario, an error is displayed in FortiOS to resolve FQDN address objects configured. Â config firewall address
  edit "cargosautomaticos.credomatic.com"
    set type fqdn
    set fqdn "cargosautomaticos.credomatic.com"
  next
end
 FW01 # diagnose firewall fqdn list-all
fqdn_u 0xa3fa510 cargosautomaticos.credomatic.com: type:(1) ID(31) count(0) generation(0) data_len:0 flag: 0
Total ip fqdn range blocks: 0.
Total ip fqdn addresses: 0.
 FW01 # diagnose firewall fqdn list-ip
List all IP FQDN:
fqdn_u 0xa3fa510 cargosautomaticos.credomatic.com: type:(1) ID(31) count(0) generation(0) data_len:0 flag: 0
Total ip fqdn range blocks: 0.
Total ip fqdn addresses: 0.
 The next DNS debug commands did not display any information:  For showing status:
FW01 # diagnose test app dnsproxy 2Â
 For dumping DNS settings:
FW01 # diagnose test app dnsproxy 3Â
 The dnsproxy-debug (diagnose debug application dnsproxy -1) used to display the following error:  2026-02-12 11:44:39 [worker 0] dns_server_setup()-434: ip=208.91.112.53 encrypt=none rating=0
2026-02-12 11:44:39 [worker 0] dns_server_setup()-434: ip=208.91.112.53 encrypt=dot rating=0
2026-02-12 11:44:39 [worker 0] dns_server_setup()-434: ip=208.91.112.52 encrypt=none rating=0
2026-02-12 11:44:39 [worker 0] dns_server_setup()-434: ip=208.91.112.52 encrypt=dot rating=0
2026-02-12 11:44:39 [worker 0] vdom_info_reinstall_ftgd_settings()-1058
2026-02-12 11:44:39 [worker 0] reload_vd_hostname_cache()-374: vd=0
2026-02-12 11:44:39 [worker 0] load_vd_dns_server()-2169
2026-02-12 11:44:39 [worker 0] create_udp_handle()-3633: ipv4 port: 7900
2026-02-12 11:44:39 [worker 0] create_udp_handle()-3690: Can't bind socket: Address already in use in vd--1
2026-02-12 11:44:39 [worker 0] dns_policy_load_vd()-2700: vdom=root
2026-02-12 11:44:39 [worker 0] dns_profile_load_vd()-2380: vfid=0
2026-02-12 11:44:39 [worker 0] dns_url_table_load_vd()-2536: vfid=0
2026-02-12 11:44:39 [worker 0] vdom_info_reinstall_dns_settings()-807: vdinfo=root
 Before restarting the dnsproxy process, it is recommended to verify whether DNS queries are leaving the FortiGate and whether valid DNS responses are being received. Run the following packet sniffer, replacing the DNS server IP addresses accordingly:
diagnose sniffer packet any "(host <PRIMARY_DNS> or host <SECONDARY_DNS>) and port 53" 6 0 l
The packet capture can help identify the following scenarios:
No DNS query leaves the FortiGate: verify the DNS configuration, routing, and reachability to the DNS server. The DNS query leaves the FortiGate, but no response is received: verify upstream connectivity and the DNS server. The DNS query and response are visible, but the FQDN address remains unresolved: continue troubleshooting the dnsproxy process.
Follow the steps below to fix the issue. If one does not work, proceed to the next. Restart the dnsproxy worker. See this article:Â Technical Tip: FortiGate Troubleshooting DNS commands.
diagnose test application dnsproxy 99
 Kill the dnsproxy process. See this article: Technical Tip: How to restart/kill one or several processes on the FortiGate with CLI commands.
diagnose sys process pidof dnsproxy
<process id>
diagnose sys kill <signal> <process ID>
fnsysctl killall dnsproxy
 Increase the DNSProxy engine count. See this article: Troubleshooting Tip: DNS error due to 'Can't bind socket: Address already in use in vd--1'.
config system global
  set dnsproxy-worker-count 2
end
 Reboot the device.
 Finally, the FortiOS will be able to resolve the FQDN addresses. For example:  FW01 # diagnose firewall fqdn list-ip
List all the IP FQDNs:
fqdn_u 0xa89a012 cargosautomaticos.credomatic.com: type:(1) ID(31) count(1) generation(3) data_len:13 flag: 1
ip list: (1 ip in total)
ip: 66.22.0.58
Total ip fqdn range blocks: 1.
Total ip fqdn addresses: 1.
|