Posts

Showing posts from August, 2024

DNS conditional forwarding

Image
  Configuration: DNS: config system dns     set primary 96.45.45.45     set secondary 96.45.46.46 end DNS Database: config system dns-database     edit "Internal_domain"         set domain "sumit.com"         set authoritative disable         set forwarder "14.140.40.11"         set source-ip 14.140.40.108     next end Policy: config firewall policy     edit 1         set name "Allow_traffic"         set uuid 90248244-630d-51ef-0a66-828b226eb40b         set srcintf "port3"         set dstintf "port1"         set action accept         set srcaddr "all"         set dstaddr "all"         set schedule "always"         set service "ALL"         set nat enable     next end

Transparent conditional DNS forwarder

Image
##To configure the source-IP for the DNS forwarding: config system dns-database     edit "Internal Domains"         set domain "sumit.com"         set authoritative disable         set forwarder "14.140.40.11"          set source-ip 14.140.40.108     next end ##DNS Profile configuration: config dnsfilter profile     edit "test"         set transparent-dns-database "Internal Domains"     next  end ##Policy Configuration (Proxy mode): config firewall policy     edit 1         set name "Allow_internet_traffic"         set uuid d2cdbbde-62e4-51ef-36e1-3e14c83e2aa2         set srcintf "port3"         set dstintf "port1"         set action accept         set srcaddr "all"         set dstaddr "all"         set schedule "always"         set service "ALL"         set utm-status enable         set inspection-mode proxy         set dnsfilter-profile "test"         set