DNS

DNS Forwarder

Continuing on from our scenario, let's set up a DNS forwarder to Google's public DNS servers which listens for requests on eth0, the private network (with caching disabled by setting the size to 0).

set service dns forwarding cache-size 0
set service dns forwarding listen-on eth0
set service dns forwarding name-server 8.8.8.8
set service dns forwarding name-server 8.8.4.4

commit
save