Description | This article describes how to troubleshoot domain resolution in the isolation networks (Isolation, Registration, Remediation...etc) to allow hosts to resolve specific domains from Isolation. Examples include, the ability to download AntiVirus/OS updates and SSL certificate validation. When a device is connected to an isolation VLAN (e.g., Registration, Quarantine, DeadEnd), the NAC Server acts as the DNS server. Upon receipt of a DNS request from the isolated host, the appliance returns the IP address of the isolation interface (port 2) unless the domain is listed on the Allowed Domains page. If a request for a domain listed in the Allowed Domains page is received, the appliance sends a request to the production DNS server for resolution. To provide appropriate IP resolution to isolated devices for completing actions such as updating AV programs and SSL certificate authentication, this list should be updated as necessary. Note: The appliance does not act as a router or firewall. The host will use the existing network infrastructure to access the internet for AV and OS updates from the internet. FortiNAC only acts as the DNS server. |
Scope | FortiNAC-F v7.X. |
Solution |
Step 1: Identify which domains resolve to the Isolation interface.
execute enter-shell
Option 1: Generates a list of domains that all isolated hosts attempting to access, type: grep PassThru /bsc/logs/named.log | cut -d' ' -f11 | sort | uniq -c | sort -rg Option 2: Generate a list of domains a specific isolated host attempted to access. grep <IP-Address-of-Host> -A1 /bsc/logs/named.log | grep PassThru | cut -d' ' -f11 |sort | uniq -c | sort -rg Example:
grep 192.168.4.5 -A1 /bsc/logs/named.log | grep PassThru | cut -d' ' -f10 |sort | uniq -c | sort -rg
Output example (actual list will be much longer):
2556 udbn4b.centralus.cloudapp.azure.com
Note: Avoid adding domains used for Captive Network Assistant and the domain name of the FortiNAC. This will impact how the portal is displayed and agent communication from the Isolation network.
For a list of domains, see the Domains to Add to Allowed Domains List reference manual in the Document Library.
Note: The 'dig' command can be used to view the IP resolution of a specific domain, including any c-names used during resolution. Those c-names should also added to the Allowed Domains List.
Step 3: Re-Test
Related article: |