You use the DNS static cache to associate the hostnames on your branch office LAN with their IP addresses and store the mapping so that devices can contact each other using their hostnames. The fully qualified domain name (FQDN) is a combination of the hostname and the domain name specified under [edit system services dhcp]. The device acts as an authoritative DNS server for the local LAN.
The following example stores the hostnames and IP addresses of hosts branch-lan-1 and branch-lan-2:
[edit system services]
- dns-proxy {
-
- cache {
-
- branch-lan-1 {
- inet 172.17.28.100;
- }
-
- branch-lan-2 {
- inet 172.17.28.101;
- }
- }
- }
For syntax information and for configuring trace options, see the JUNOS Software CLI Reference.