- DrayOS 4, imported, lan_dns, dns_forwarding, wan_traffic, port_mirroring, private_dns, conditional_dns_forwarding
Forward DNS Queries to a Private DNS Server (DrayOS4)
To setup Conditional DNS Forwarding, go to Applications >> LAN DNS / DNS Forwarding, and click on an Index number to add/edit a profile:
- Go to Conditional DNS Forwarding tab.
- Enable this profile.
- Enter Profile name
- Enter the Domain Name you would like to forward, wildcard is supported.
- Enter the IP address of the private DNS server at DNS Server IP Address.
- Click OK to save the profile.
To verify this function, we use the LAN Port Mirror to copy the WAN traffic. From the captured packets, we can see when a LAN client sends DNS query for “www.example.com” to a public DNS server, the request will be forwarded to the DNS server at IP “100.100.100.100”.
