The following sample configuration enables DNS proxy on logical interface ge-0/0/0.0, sets a domain name as juniper.net, stores (caches) the IP addresses of hosts branch-lan-1 and branch-lan-2, sets trace options using the parse and all flags, and specifies the DDNS client server and user information:
- system {
-
- services {
-
- dns-proxy {
-
- interface {
- ge-0/0/0.0;
- }
-
- server-select juniper {
- domain-name juniper.net;
-
- name-server {
- 192.168.10.20;
- 192.168.10.26;
- 192.168.10.28;
- }
- }
-
- cache {
- branch-lan-1 inet 172.17.28.100;
- branch-lan-2 inet 172.17.28.101;
- }
-
- traceoptions {
- flag parse;
- flag all;
- }
- }
-
- dynamic-dns {
-
- client www.abc-host.com {
- server dyndns;
- agent voyager-agent;
- username user1;
- password *****;
-
- interface {
- ge-0/0/0.1;
- }
- }
- }
- }
- }
For syntax information, see the JUNOS Software CLI Reference.