DNS conditional forwarding

 


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


Comments

Popular posts from this blog

Configure IPsec site-to-site VPN in Linux Machine

TACACS+ Installation on Linux [CentOS]

Free Radius setup/configuration in Linux [Ubuntu/CentOS]