Static

Test suite to validate using one of the DNS options available in an upstream server

DNS-over-HTTPS Server

Description

Configures DUT0 to connect, using DNS-over-HTTPS (DoH) over an upstream server.

Scenario

Step 1: Set the following configuration in DUT0:

set system certificate trust running://remote.dns-server.crt
set service dns proxy server-name RD
set service dns proxy static RD protocol dns-over-https host name remote.dns
set service dns proxy static RD protocol dns-over-https ip 10.215.168.1
set service dns proxy static RD protocol dns-over-https hash 563c4f02c5ec6eb3d02a1ff7b1e2ca38884464e5e7e227ba087ee6524ee6fbac
set service dns resolver local

Step 2: Run command system journal show | cat at DUT0 and check if output matches the following regular expressions:

^(?m)^.*\[RD\] OK \(DoH\) - rtt: \d+ms$
Show output
-- Logs begin at Tue 2024-04-09 09:54:13 UTC, end at Tue 2024-04-09 09:54:18 UTC. --
Apr 09 09:54:13.446415 osdx systemd-journald[1044]: Runtime journal (/run/log/journal/2dc26f94a9f34e56b62b3c0d209c4be0) is 2.0M, max 16.0M, 14.0M free.
Apr 09 09:54:13.464843 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'system journal clear'.
Apr 09 09:54:13.994058 osdx zebra[1073]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]):
Apr 09 09:54:14.176981 osdx osdx-coredump[28248]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Apr 09 09:54:14.186535 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'system coredump delete all'.
Apr 09 09:54:15.259536 osdx OSDxCLI[7130]: User 'admin' entered the configuration menu.
Apr 09 09:54:15.408045 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Apr 09 09:54:15.531321 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Apr 09 09:54:15.685499 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Apr 09 09:54:15.784668 osdx cfgd[1120]: [7130]Completed change to active configuration
Apr 09 09:54:15.844796 osdx OSDxCLI[7130]: User 'admin' committed the configuration.
Apr 09 09:54:15.888153 osdx OSDxCLI[7130]: User 'admin' left the configuration menu.
Apr 09 09:54:16.155129 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Apr 09 09:54:16.420260 osdx OSDxCLI[7130]: User 'admin' entered the configuration menu.
Apr 09 09:54:16.598860 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Apr 09 09:54:16.728312 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Apr 09 09:54:16.912669 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https host name remote.dns'.
Apr 09 09:54:17.004212 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https ip 10.215.168.1'.
Apr 09 09:54:17.147076 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https hash 563c4f02c5ec6eb3d02a1ff7b1e2ca38884464e5e7e227ba087ee6524ee6fbac'.
Apr 09 09:54:17.279023 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Apr 09 09:54:17.431057 osdx ca-certificates[28359]: Updating certificates in /etc/ssl/certs...
Apr 09 09:54:17.741743 osdx zebra[1073]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]):
Apr 09 09:54:18.199844 osdx ca-certificates[29343]: 1 added, 0 removed; done.
Apr 09 09:54:18.204454 osdx ca-certificates[29350]: Running hooks in /etc/ca-certificates/update.d...
Apr 09 09:54:18.209526 osdx ca-certificates[29352]: done.
Apr 09 09:54:18.358719 osdx systemd[1]: Started DNSCrypt client proxy.
Apr 09 09:54:18.362060 osdx cfgd[1120]: [7130]Completed change to active configuration
Apr 09 09:54:18.366612 osdx OSDxCLI[7130]: User 'admin' committed the configuration.
Apr 09 09:54:18.389296 osdx dnscrypt-proxy[29402]: [2024-04-09 09:54:18] [NOTICE] dnscrypt-proxy 2.0.45
Apr 09 09:54:18.389667 osdx dnscrypt-proxy[29402]: [2024-04-09 09:54:18] [NOTICE] Network connectivity detected
Apr 09 09:54:18.389849 osdx dnscrypt-proxy[29402]: [2024-04-09 09:54:18] [NOTICE] Dropping privileges
Apr 09 09:54:18.392950 osdx dnscrypt-proxy[29402]: [2024-04-09 09:54:18] [NOTICE] Network connectivity detected
Apr 09 09:54:18.393074 osdx dnscrypt-proxy[29402]: [2024-04-09 09:54:18] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Apr 09 09:54:18.393074 osdx dnscrypt-proxy[29402]: [2024-04-09 09:54:18] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Apr 09 09:54:18.393074 osdx dnscrypt-proxy[29402]: [2024-04-09 09:54:18] [NOTICE] Firefox workaround initialized
Apr 09 09:54:18.393074 osdx dnscrypt-proxy[29402]: [2024-04-09 09:54:18] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpeKvWQk]
Apr 09 09:54:18.405510 osdx OSDxCLI[7130]: User 'admin' left the configuration menu.
Apr 09 09:54:18.571103 osdx dnscrypt-proxy[29402]: [2024-04-09 09:54:18] [NOTICE] [RD] OK (DoH) - rtt: 132ms
Apr 09 09:54:18.571103 osdx dnscrypt-proxy[29402]: [2024-04-09 09:54:18] [NOTICE] Server with the lowest initial latency: RD (rtt: 132ms)
Apr 09 09:54:18.571103 osdx dnscrypt-proxy[29402]: [2024-04-09 09:54:18] [NOTICE] dnscrypt-proxy is ready - live servers: 1

Step 3: Run command show host lookup teldat.com type A at DUT0 and check if output contains the following tokens:

teldat.com has address 19.18.17.16
Show output
teldat.com has address 19.18.17.16

DNS-over-HTTPS Server With Stamp

Description

Configures DUT0 to connect, using DNS-over-HTTPS (DoH) over an upstream server (generating a DNS stamp and using it to configure the connection).

Scenario

Step 1: Run command service dns proxy stamp calculate dns-over-https host-name remote.dns host-path /dns-query host-port 443 ip 10.215.168.1 hash 563c4f02c5ec6eb3d02a1ff7b1e2ca38884464e5e7e227ba087ee6524ee6fbac at DUT0 and expect this output:

Show output
sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSBWPE8Cxexus9AqH_ex4so4iERk5efiJ7oIfuZSTub7rApyZW1vdGUuZG5zCi9kbnMtcXVlcnk

Step 2: Set the following configuration in DUT0:

set system certificate trust running://remote.dns-server.crt
set service dns proxy server-name RD
set service dns proxy static RD stamp 'sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSBWPE8Cxexus9AqH_ex4so4iERk5efiJ7oIfuZSTub7rApyZW1vdGUuZG5zCi9kbnMtcXVlcnk'
set service dns resolver local

Step 3: Run command system journal show | cat at DUT0 and check if output matches the following regular expressions:

^(?m)^.*\[RD\] OK \(DoH\) - rtt: \d+ms$
Show output
-- Logs begin at Tue 2024-04-09 09:54:26 UTC, end at Tue 2024-04-09 09:54:31 UTC. --
Apr 09 09:54:26.445858 osdx systemd-journald[1044]: Runtime journal (/run/log/journal/2dc26f94a9f34e56b62b3c0d209c4be0) is 2.0M, max 16.0M, 14.0M free.
Apr 09 09:54:26.482890 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'system journal clear'.
Apr 09 09:54:27.268804 osdx osdx-coredump[31049]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Apr 09 09:54:27.278523 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'system coredump delete all'.
Apr 09 09:54:28.253304 osdx zebra[1073]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]):
Apr 09 09:54:28.358869 osdx OSDxCLI[7130]: User 'admin' entered the configuration menu.
Apr 09 09:54:28.507842 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Apr 09 09:54:28.697923 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Apr 09 09:54:28.883320 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Apr 09 09:54:29.002855 osdx cfgd[1120]: [7130]Completed change to active configuration
Apr 09 09:54:29.075427 osdx OSDxCLI[7130]: User 'admin' committed the configuration.
Apr 09 09:54:29.117004 osdx OSDxCLI[7130]: User 'admin' left the configuration menu.
Apr 09 09:54:29.358787 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Apr 09 09:54:29.542012 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'service dns proxy stamp calculate dns-over-https host-name remote.dns host-path /dns-query host-port 443 ip 10.215.168.1 hash 563c4f02c5ec6eb3d02a1ff7b1e2ca38884464e5e7e227ba087ee6524ee6fbac'.
Apr 09 09:54:29.751332 osdx OSDxCLI[7130]: User 'admin' entered the configuration menu.
Apr 09 09:54:29.862114 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Apr 09 09:54:29.952376 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Apr 09 09:54:30.060690 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSBWPE8Cxexus9AqH_ex4so4iERk5efiJ7oIfuZSTub7rApyZW1vdGUuZG5zCi9kbnMtcXVlcnk''.
Apr 09 09:54:30.146752 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Apr 09 09:54:30.287852 osdx ca-certificates[31163]: Updating certificates in /etc/ssl/certs...
Apr 09 09:54:31.007480 osdx ca-certificates[32147]: 1 added, 0 removed; done.
Apr 09 09:54:31.011938 osdx ca-certificates[32153]: Running hooks in /etc/ca-certificates/update.d...
Apr 09 09:54:31.016379 osdx ca-certificates[32155]: done.
Apr 09 09:54:31.155575 osdx systemd[1]: Started DNSCrypt client proxy.
Apr 09 09:54:31.158274 osdx cfgd[1120]: [7130]Completed change to active configuration
Apr 09 09:54:31.161999 osdx OSDxCLI[7130]: User 'admin' committed the configuration.
Apr 09 09:54:31.178139 osdx dnscrypt-proxy[32205]: [2024-04-09 09:54:31] [NOTICE] dnscrypt-proxy 2.0.45
Apr 09 09:54:31.178399 osdx dnscrypt-proxy[32205]: [2024-04-09 09:54:31] [NOTICE] Network connectivity detected
Apr 09 09:54:31.178664 osdx dnscrypt-proxy[32205]: [2024-04-09 09:54:31] [NOTICE] Dropping privileges
Apr 09 09:54:31.181841 osdx dnscrypt-proxy[32205]: [2024-04-09 09:54:31] [NOTICE] Network connectivity detected
Apr 09 09:54:31.181923 osdx dnscrypt-proxy[32205]: [2024-04-09 09:54:31] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Apr 09 09:54:31.181923 osdx dnscrypt-proxy[32205]: [2024-04-09 09:54:31] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Apr 09 09:54:31.181923 osdx dnscrypt-proxy[32205]: [2024-04-09 09:54:31] [NOTICE] Firefox workaround initialized
Apr 09 09:54:31.181923 osdx dnscrypt-proxy[32205]: [2024-04-09 09:54:31] [NOTICE] Loading the set of cloaking rules from [/tmp/tmphU9zmz]
Apr 09 09:54:31.191825 osdx OSDxCLI[7130]: User 'admin' left the configuration menu.
Apr 09 09:54:31.343934 osdx dnscrypt-proxy[32205]: [2024-04-09 09:54:31] [NOTICE] [RD] OK (DoH) - rtt: 125ms
Apr 09 09:54:31.343934 osdx dnscrypt-proxy[32205]: [2024-04-09 09:54:31] [NOTICE] Server with the lowest initial latency: RD (rtt: 125ms)
Apr 09 09:54:31.343934 osdx dnscrypt-proxy[32205]: [2024-04-09 09:54:31] [NOTICE] dnscrypt-proxy is ready - live servers: 1

Step 4: Run command show host lookup teldat.com type A at DUT0 and check if output contains the following tokens:

teldat.com has address 19.18.17.16
Show output
teldat.com has address 19.18.17.16

DNSCrypt Server

Description

Configures DUT0 to connect, using DNSCrypt over an upstream server.

Scenario

Step 1: Run command service dns proxy dnscrypt public-key running://dnscrypt.crt at DUT0 and expect this output:

Show output
7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f

Step 2: Set the following configuration in DUT0:

set system certificate trust running://remote.dns-server.crt
set service dns proxy server-name RD
set service dns proxy static RD protocol dns-crypt ip 10.215.168.1
set service dns proxy static RD protocol dns-crypt port 8443
set service dns proxy static RD protocol dns-crypt provider name 2.dnscrypt-cert.remote.dns
set service dns proxy static RD protocol dns-crypt provider public-key 7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f
set service dns resolver local

Step 3: Run command system journal show | cat at DUT0 and check if output matches the following regular expressions:

^(?m)^.*\[RD\] OK \(DNSCrypt\) - rtt: \d+ms$
Show output
-- Logs begin at Tue 2024-04-09 09:54:40 UTC, end at Tue 2024-04-09 09:54:46 UTC. --
Apr 09 09:54:40.480652 osdx systemd-journald[1044]: Runtime journal (/run/log/journal/2dc26f94a9f34e56b62b3c0d209c4be0) is 2.0M, max 16.0M, 14.0M free.
Apr 09 09:54:40.510236 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'system journal clear'.
Apr 09 09:54:41.212075 osdx osdx-coredump[1423]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Apr 09 09:54:41.221177 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'system coredump delete all'.
Apr 09 09:54:41.636584 osdx zebra[1073]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]):
Apr 09 09:54:42.378642 osdx OSDxCLI[7130]: User 'admin' entered the configuration menu.
Apr 09 09:54:42.571496 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Apr 09 09:54:42.710012 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Apr 09 09:54:42.876641 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Apr 09 09:54:42.998336 osdx cfgd[1120]: [7130]Completed change to active configuration
Apr 09 09:54:43.043028 osdx OSDxCLI[7130]: User 'admin' committed the configuration.
Apr 09 09:54:43.092152 osdx OSDxCLI[7130]: User 'admin' left the configuration menu.
Apr 09 09:54:43.355054 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Apr 09 09:54:43.571410 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'.
Apr 09 09:54:43.746569 osdx zebra[1073]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]):
Apr 09 09:54:43.772398 osdx OSDxCLI[7130]: User 'admin' entered the configuration menu.
Apr 09 09:54:43.913888 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Apr 09 09:54:44.048519 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Apr 09 09:54:44.186547 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt ip 10.215.168.1'.
Apr 09 09:54:44.299224 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt port 8443'.
Apr 09 09:54:44.417938 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider name 2.dnscrypt-cert.remote.dns'.
Apr 09 09:54:44.600641 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider public-key 7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f'.
Apr 09 09:54:44.770906 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Apr 09 09:54:44.997690 osdx ca-certificates[1538]: Updating certificates in /etc/ssl/certs...
Apr 09 09:54:45.794174 osdx ca-certificates[2523]: 1 added, 0 removed; done.
Apr 09 09:54:45.800987 osdx ca-certificates[2529]: Running hooks in /etc/ca-certificates/update.d...
Apr 09 09:54:45.805932 osdx ca-certificates[2531]: done.
Apr 09 09:54:45.964449 osdx systemd[1]: Started DNSCrypt client proxy.
Apr 09 09:54:45.966845 osdx cfgd[1120]: [7130]Completed change to active configuration
Apr 09 09:54:45.971466 osdx OSDxCLI[7130]: User 'admin' committed the configuration.
Apr 09 09:54:45.995975 osdx dnscrypt-proxy[2581]: [2024-04-09 09:54:45] [NOTICE] dnscrypt-proxy 2.0.45
Apr 09 09:54:45.996316 osdx dnscrypt-proxy[2581]: [2024-04-09 09:54:45] [NOTICE] Network connectivity detected
Apr 09 09:54:45.996490 osdx dnscrypt-proxy[2581]: [2024-04-09 09:54:45] [NOTICE] Dropping privileges
Apr 09 09:54:46.003522 osdx dnscrypt-proxy[2581]: [2024-04-09 09:54:46] [NOTICE] Network connectivity detected
Apr 09 09:54:46.003638 osdx dnscrypt-proxy[2581]: [2024-04-09 09:54:46] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Apr 09 09:54:46.003638 osdx dnscrypt-proxy[2581]: [2024-04-09 09:54:46] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Apr 09 09:54:46.003638 osdx dnscrypt-proxy[2581]: [2024-04-09 09:54:46] [NOTICE] Firefox workaround initialized
Apr 09 09:54:46.003638 osdx dnscrypt-proxy[2581]: [2024-04-09 09:54:46] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpxiG5P8]
Apr 09 09:54:46.004916 osdx dnscrypt-proxy[2581]: [2024-04-09 09:54:46] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms
Apr 09 09:54:46.004916 osdx dnscrypt-proxy[2581]: [2024-04-09 09:54:46] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms)
Apr 09 09:54:46.004916 osdx dnscrypt-proxy[2581]: [2024-04-09 09:54:46] [NOTICE] dnscrypt-proxy is ready - live servers: 1
Apr 09 09:54:46.015649 osdx OSDxCLI[7130]: User 'admin' left the configuration menu.

Step 4: Run command show host lookup teldat.com type A at DUT0 and check if output contains the following tokens:

teldat.com has address 19.18.17.16
Show output
teldat.com has address 19.18.17.16

DNSCrypt Server With Stamp

Description

Configures DUT0 to connect, using DNSCrypt over an upstream server (generating a DNS stamp and using it to configure the connection).

Scenario

Step 1: Run command service dns proxy dnscrypt public-key running://dnscrypt.crt at DUT0 and expect this output:

Show output
7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f

Step 2: Run command service dns proxy stamp calculate dns-crypt provider-name 2.dnscrypt-cert.remote.dns provider-key 7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f ip 10.215.168.1 port 8443 at DUT0 and expect this output:

Show output
sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIHs0NMuQVuVoH0klX7xe7_onkRWUO88bWP8X3rHjTNqPGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z

Step 3: Set the following configuration in DUT0:

set system certificate trust running://remote.dns-server.crt
set service dns proxy server-name RD
set service dns proxy static RD stamp 'sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIHs0NMuQVuVoH0klX7xe7_onkRWUO88bWP8X3rHjTNqPGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z'
set service dns resolver local

Step 4: Run command system journal show | cat at DUT0 and check if output matches the following regular expressions:

^(?m)^.*\[RD\] OK \(DNSCrypt\) - rtt: \d+ms$
Show output
-- Logs begin at Tue 2024-04-09 09:54:55 UTC, end at Tue 2024-04-09 09:54:59 UTC. --
Apr 09 09:54:55.498412 osdx systemd-journald[1044]: Runtime journal (/run/log/journal/2dc26f94a9f34e56b62b3c0d209c4be0) is 2.0M, max 16.0M, 14.0M free.
Apr 09 09:54:55.529648 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'system journal clear'.
Apr 09 09:54:56.176461 osdx osdx-coredump[4232]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Apr 09 09:54:56.184819 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'system coredump delete all'.
Apr 09 09:54:56.509368 osdx zebra[1073]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]):
Apr 09 09:54:57.135535 osdx OSDxCLI[7130]: User 'admin' entered the configuration menu.
Apr 09 09:54:57.271234 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Apr 09 09:54:57.370923 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Apr 09 09:54:57.517685 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Apr 09 09:54:57.611629 osdx cfgd[1120]: [7130]Completed change to active configuration
Apr 09 09:54:57.659243 osdx OSDxCLI[7130]: User 'admin' committed the configuration.
Apr 09 09:54:57.697782 osdx OSDxCLI[7130]: User 'admin' left the configuration menu.
Apr 09 09:54:57.900225 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Apr 09 09:54:58.043172 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'.
Apr 09 09:54:58.182094 osdx OSDxCLI[7130]: User 'admin' executed a new command: 'service dns proxy stamp calculate dns-crypt provider-name 2.dnscrypt-cert.remote.dns provider-key 7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f ip 10.215.168.1 port 8443'.
Apr 09 09:54:58.389639 osdx OSDxCLI[7130]: User 'admin' entered the configuration menu.
Apr 09 09:54:58.488905 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Apr 09 09:54:58.587588 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Apr 09 09:54:58.619420 osdx zebra[1073]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]):
Apr 09 09:54:58.698997 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIHs0NMuQVuVoH0klX7xe7_onkRWUO88bWP8X3rHjTNqPGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z''.
Apr 09 09:54:58.783241 osdx OSDxCLI[7130]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Apr 09 09:54:58.959029 osdx ca-certificates[4349]: Updating certificates in /etc/ssl/certs...
Apr 09 09:54:59.679350 osdx ca-certificates[5337]: 1 added, 0 removed; done.
Apr 09 09:54:59.685390 osdx ca-certificates[5343]: Running hooks in /etc/ca-certificates/update.d...
Apr 09 09:54:59.692093 osdx ca-certificates[5345]: done.
Apr 09 09:54:59.810153 osdx systemd[1]: Started DNSCrypt client proxy.
Apr 09 09:54:59.813435 osdx cfgd[1120]: [7130]Completed change to active configuration
Apr 09 09:54:59.817680 osdx OSDxCLI[7130]: User 'admin' committed the configuration.
Apr 09 09:54:59.835381 osdx dnscrypt-proxy[5395]: [2024-04-09 09:54:59] [NOTICE] dnscrypt-proxy 2.0.45
Apr 09 09:54:59.835762 osdx dnscrypt-proxy[5395]: [2024-04-09 09:54:59] [NOTICE] Network connectivity detected
Apr 09 09:54:59.836159 osdx dnscrypt-proxy[5395]: [2024-04-09 09:54:59] [NOTICE] Dropping privileges
Apr 09 09:54:59.839694 osdx dnscrypt-proxy[5395]: [2024-04-09 09:54:59] [NOTICE] Network connectivity detected
Apr 09 09:54:59.839827 osdx dnscrypt-proxy[5395]: [2024-04-09 09:54:59] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Apr 09 09:54:59.839827 osdx dnscrypt-proxy[5395]: [2024-04-09 09:54:59] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Apr 09 09:54:59.839827 osdx dnscrypt-proxy[5395]: [2024-04-09 09:54:59] [NOTICE] Firefox workaround initialized
Apr 09 09:54:59.839827 osdx dnscrypt-proxy[5395]: [2024-04-09 09:54:59] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpgYVzbM]
Apr 09 09:54:59.841058 osdx dnscrypt-proxy[5395]: [2024-04-09 09:54:59] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms
Apr 09 09:54:59.841058 osdx dnscrypt-proxy[5395]: [2024-04-09 09:54:59] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms)
Apr 09 09:54:59.841227 osdx dnscrypt-proxy[5395]: [2024-04-09 09:54:59] [NOTICE] dnscrypt-proxy is ready - live servers: 1
Apr 09 09:54:59.860420 osdx OSDxCLI[7130]: User 'admin' left the configuration menu.

Step 5: Run command show host lookup teldat.com type A at DUT0 and check if output contains the following tokens:

teldat.com has address 19.18.17.16
Show output
teldat.com has address 19.18.17.16