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 f8bc50bc5ac15ce0f76e30e6a004a073889a788f693866f15b90a61d26d26c4f
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 Wed 2024-10-09 08:49:04 UTC, end at Wed 2024-10-09 08:49:07 UTC. --
Oct 09 08:49:04.283907 osdx systemd-journald[5179]: Runtime journal (/run/log/journal/7b13f98cf6974d34b6af66a5ac8a2ed7) is 2.0M, max 16.0M, 14.0M free.
Oct 09 08:49:04.305018 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'system journal clear'.
Oct 09 08:49:04.510446 osdx zebra[1280]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]):
Oct 09 08:49:04.721171 osdx osdx-coredump[8688]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Oct 09 08:49:04.727719 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'system coredump delete all'.
Oct 09 08:49:05.266951 osdx OSDxCLI[25194]: User 'admin' entered the configuration menu.
Oct 09 08:49:05.337448 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Oct 09 08:49:05.421099 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Oct 09 08:49:05.508308 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Oct 09 08:49:05.581618 osdx cfgd[1327]: [25194]Completed change to active configuration
Oct 09 08:49:05.611154 osdx OSDxCLI[25194]: User 'admin' committed the configuration.
Oct 09 08:49:05.626962 osdx OSDxCLI[25194]: User 'admin' left the configuration menu.
Oct 09 08:49:05.768224 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Oct 09 08:49:05.884002 osdx OSDxCLI[25194]: User 'admin' entered the configuration menu.
Oct 09 08:49:05.965539 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Oct 09 08:49:06.075614 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Oct 09 08:49:06.181102 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https host name remote.dns'.
Oct 09 08:49:06.234911 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https ip 10.215.168.1'.
Oct 09 08:49:06.331379 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https hash f8bc50bc5ac15ce0f76e30e6a004a073889a788f693866f15b90a61d26d26c4f'.
Oct 09 08:49:06.378878 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Oct 09 08:49:06.509675 osdx ca-certificates[8827]: Updating certificates in /etc/ssl/certs...
Oct 09 08:49:06.947530 osdx ca-certificates[9812]: 1 added, 0 removed; done.
Oct 09 08:49:06.950651 osdx ca-certificates[9818]: Running hooks in /etc/ca-certificates/update.d...
Oct 09 08:49:06.953743 osdx ca-certificates[9820]: done.
Oct 09 08:49:07.025020 osdx systemd[1]: Started DNSCrypt client proxy.
Oct 09 08:49:07.026254 osdx cfgd[1327]: [25194]Completed change to active configuration
Oct 09 08:49:07.028895 osdx OSDxCLI[25194]: User 'admin' committed the configuration.
Oct 09 08:49:07.040221 osdx dnscrypt-proxy[9870]: [2024-10-09 08:49:07] [NOTICE] dnscrypt-proxy 2.0.45
Oct 09 08:49:07.040425 osdx dnscrypt-proxy[9870]: [2024-10-09 08:49:07] [NOTICE] Network connectivity detected
Oct 09 08:49:07.040654 osdx dnscrypt-proxy[9870]: [2024-10-09 08:49:07] [NOTICE] Dropping privileges
Oct 09 08:49:07.042510 osdx dnscrypt-proxy[9870]: [2024-10-09 08:49:07] [NOTICE] Network connectivity detected
Oct 09 08:49:07.042555 osdx dnscrypt-proxy[9870]: [2024-10-09 08:49:07] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Oct 09 08:49:07.042555 osdx dnscrypt-proxy[9870]: [2024-10-09 08:49:07] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Oct 09 08:49:07.042555 osdx dnscrypt-proxy[9870]: [2024-10-09 08:49:07] [NOTICE] Firefox workaround initialized
Oct 09 08:49:07.042555 osdx dnscrypt-proxy[9870]: [2024-10-09 08:49:07] [NOTICE] Loading the set of cloaking rules from [/tmp/tmp8KReEi]
Oct 09 08:49:07.045885 osdx OSDxCLI[25194]: User 'admin' left the configuration menu.
Oct 09 08:49:07.180677 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'system journal show | cat'.
Oct 09 08:49:07.194620 osdx dnscrypt-proxy[9870]: [2024-10-09 08:49:07] [NOTICE] [RD] OK (DoH) - rtt: 130ms
Oct 09 08:49:07.194620 osdx dnscrypt-proxy[9870]: [2024-10-09 08:49:07] [NOTICE] Server with the lowest initial latency: RD (rtt: 130ms)
Oct 09 08:49:07.194620 osdx dnscrypt-proxy[9870]: [2024-10-09 08:49:07] [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 f8bc50bc5ac15ce0f76e30e6a004a073889a788f693866f15b90a61d26d26c4f at DUT0 and expect this output:

Show output
sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSD4vFC8WsFc4PduMOagBKBziJp4j2k4ZvFbkKYdJtJsTwpyZW1vdGUuZG5zCi9kbnMtcXVlcnk

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://AgAAAAAAAAAADDEwLjIxNS4xNjguMSD4vFC8WsFc4PduMOagBKBziJp4j2k4ZvFbkKYdJtJsTwpyZW1vdGUuZG5zCi9kbnMtcXVlcnk'
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 Wed 2024-10-09 08:49:12 UTC, end at Wed 2024-10-09 08:49:14 UTC. --
Oct 09 08:49:12.273584 osdx systemd-journald[5179]: Runtime journal (/run/log/journal/7b13f98cf6974d34b6af66a5ac8a2ed7) is 2.0M, max 16.0M, 14.0M free.
Oct 09 08:49:12.296941 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'system journal clear'.
Oct 09 08:49:12.642199 osdx osdx-coredump[11528]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Oct 09 08:49:12.648173 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'system coredump delete all'.
Oct 09 08:49:13.140571 osdx OSDxCLI[25194]: User 'admin' entered the configuration menu.
Oct 09 08:49:13.200425 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Oct 09 08:49:13.284822 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Oct 09 08:49:13.352844 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Oct 09 08:49:13.421527 osdx cfgd[1327]: [25194]Completed change to active configuration
Oct 09 08:49:13.446106 osdx OSDxCLI[25194]: User 'admin' committed the configuration.
Oct 09 08:49:13.461865 osdx OSDxCLI[25194]: User 'admin' left the configuration menu.
Oct 09 08:49:13.590726 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Oct 09 08:49:13.694708 osdx OSDxCLI[25194]: 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 f8bc50bc5ac15ce0f76e30e6a004a073889a788f693866f15b90a61d26d26c4f'.
Oct 09 08:49:13.826746 osdx OSDxCLI[25194]: User 'admin' entered the configuration menu.
Oct 09 08:49:13.881652 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Oct 09 08:49:13.972295 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Oct 09 08:49:14.027619 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSD4vFC8WsFc4PduMOagBKBziJp4j2k4ZvFbkKYdJtJsTwpyZW1vdGUuZG5zCi9kbnMtcXVlcnk''.
Oct 09 08:49:14.119542 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Oct 09 08:49:14.197580 osdx ca-certificates[11667]: Updating certificates in /etc/ssl/certs...
Oct 09 08:49:14.635585 osdx ca-certificates[12650]: 1 added, 0 removed; done.
Oct 09 08:49:14.638540 osdx ca-certificates[12657]: Running hooks in /etc/ca-certificates/update.d...
Oct 09 08:49:14.641502 osdx ca-certificates[12659]: done.
Oct 09 08:49:14.709872 osdx systemd[1]: Started DNSCrypt client proxy.
Oct 09 08:49:14.711553 osdx cfgd[1327]: [25194]Completed change to active configuration
Oct 09 08:49:14.714248 osdx OSDxCLI[25194]: User 'admin' committed the configuration.
Oct 09 08:49:14.726373 osdx dnscrypt-proxy[12709]: [2024-10-09 08:49:14] [NOTICE] dnscrypt-proxy 2.0.45
Oct 09 08:49:14.726619 osdx dnscrypt-proxy[12709]: [2024-10-09 08:49:14] [NOTICE] Network connectivity detected
Oct 09 08:49:14.726728 osdx dnscrypt-proxy[12709]: [2024-10-09 08:49:14] [NOTICE] Dropping privileges
Oct 09 08:49:14.729939 osdx dnscrypt-proxy[12709]: [2024-10-09 08:49:14] [NOTICE] Network connectivity detected
Oct 09 08:49:14.730068 osdx dnscrypt-proxy[12709]: [2024-10-09 08:49:14] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Oct 09 08:49:14.730118 osdx OSDxCLI[25194]: User 'admin' left the configuration menu.
Oct 09 08:49:14.730305 osdx dnscrypt-proxy[12709]: [2024-10-09 08:49:14] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Oct 09 08:49:14.730370 osdx dnscrypt-proxy[12709]: [2024-10-09 08:49:14] [NOTICE] Firefox workaround initialized
Oct 09 08:49:14.730406 osdx dnscrypt-proxy[12709]: [2024-10-09 08:49:14] [NOTICE] Loading the set of cloaking rules from [/tmp/tmptwc_2g]
Oct 09 08:49:14.869879 osdx dnscrypt-proxy[12709]: [2024-10-09 08:49:14] [NOTICE] [RD] OK (DoH) - rtt: 114ms
Oct 09 08:49:14.869879 osdx dnscrypt-proxy[12709]: [2024-10-09 08:49:14] [NOTICE] Server with the lowest initial latency: RD (rtt: 114ms)
Oct 09 08:49:14.869879 osdx dnscrypt-proxy[12709]: [2024-10-09 08:49:14] [NOTICE] dnscrypt-proxy is ready - live servers: 1
Oct 09 08:49:14.888295 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'system journal show | cat'.

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
91:5a:f8:ef:03:f3:9f:02:f3:7b:dc:f1:02:81:be:3f:e9:e8:54:2c:e7:ce:b4:4f:c9:30:58:aa:6a:cf:19:e5

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 91:5a:f8:ef:03:f3:9f:02:f3:7b:dc:f1:02:81:be:3f:e9:e8:54:2c:e7:ce:b4:4f:c9:30:58:aa:6a:cf:19:e5
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 Wed 2024-10-09 08:49:20 UTC, end at Wed 2024-10-09 08:49:23 UTC. --
Oct 09 08:49:20.272863 osdx systemd-journald[5179]: Runtime journal (/run/log/journal/7b13f98cf6974d34b6af66a5ac8a2ed7) is 2.0M, max 16.0M, 14.0M free.
Oct 09 08:49:20.287906 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'system journal clear'.
Oct 09 08:49:20.653597 osdx osdx-coredump[14366]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Oct 09 08:49:20.659838 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'system coredump delete all'.
Oct 09 08:49:21.196873 osdx OSDxCLI[25194]: User 'admin' entered the configuration menu.
Oct 09 08:49:21.303198 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Oct 09 08:49:21.352828 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Oct 09 08:49:21.459234 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Oct 09 08:49:21.529005 osdx cfgd[1327]: [25194]Completed change to active configuration
Oct 09 08:49:21.556292 osdx OSDxCLI[25194]: User 'admin' committed the configuration.
Oct 09 08:49:21.571605 osdx OSDxCLI[25194]: User 'admin' left the configuration menu.
Oct 09 08:49:21.706152 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Oct 09 08:49:21.797502 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'.
Oct 09 08:49:21.929946 osdx OSDxCLI[25194]: User 'admin' entered the configuration menu.
Oct 09 08:49:21.988379 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Oct 09 08:49:22.096529 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Oct 09 08:49:22.150228 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt ip 10.215.168.1'.
Oct 09 08:49:22.262281 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt port 8443'.
Oct 09 08:49:22.329375 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider name 2.dnscrypt-cert.remote.dns'.
Oct 09 08:49:22.432090 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider public-key 91:5a:f8:ef:03:f3:9f:02:f3:7b:dc:f1:02:81:be:3f:e9:e8:54:2c:e7:ce:b4:4f:c9:30:58:aa:6a:cf:19:e5'.
Oct 09 08:49:22.482268 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Oct 09 08:49:22.599032 osdx ca-certificates[14506]: Updating certificates in /etc/ssl/certs...
Oct 09 08:49:23.035345 osdx ca-certificates[15490]: 1 added, 0 removed; done.
Oct 09 08:49:23.038316 osdx ca-certificates[15496]: Running hooks in /etc/ca-certificates/update.d...
Oct 09 08:49:23.042533 osdx ca-certificates[15498]: done.
Oct 09 08:49:23.124505 osdx systemd[1]: Started DNSCrypt client proxy.
Oct 09 08:49:23.126191 osdx cfgd[1327]: [25194]Completed change to active configuration
Oct 09 08:49:23.129261 osdx OSDxCLI[25194]: User 'admin' committed the configuration.
Oct 09 08:49:23.142020 osdx dnscrypt-proxy[15548]: [2024-10-09 08:49:23] [NOTICE] dnscrypt-proxy 2.0.45
Oct 09 08:49:23.142279 osdx dnscrypt-proxy[15548]: [2024-10-09 08:49:23] [NOTICE] Network connectivity detected
Oct 09 08:49:23.142316 osdx dnscrypt-proxy[15548]: [2024-10-09 08:49:23] [NOTICE] Dropping privileges
Oct 09 08:49:23.144348 osdx dnscrypt-proxy[15548]: [2024-10-09 08:49:23] [NOTICE] Network connectivity detected
Oct 09 08:49:23.144387 osdx dnscrypt-proxy[15548]: [2024-10-09 08:49:23] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Oct 09 08:49:23.144387 osdx dnscrypt-proxy[15548]: [2024-10-09 08:49:23] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Oct 09 08:49:23.144444 osdx dnscrypt-proxy[15548]: [2024-10-09 08:49:23] [NOTICE] Firefox workaround initialized
Oct 09 08:49:23.144444 osdx dnscrypt-proxy[15548]: [2024-10-09 08:49:23] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpJdlefz]
Oct 09 08:49:23.145304 osdx dnscrypt-proxy[15548]: [2024-10-09 08:49:23] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms
Oct 09 08:49:23.145304 osdx dnscrypt-proxy[15548]: [2024-10-09 08:49:23] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms)
Oct 09 08:49:23.145304 osdx dnscrypt-proxy[15548]: [2024-10-09 08:49:23] [NOTICE] dnscrypt-proxy is ready - live servers: 1
Oct 09 08:49:23.146990 osdx OSDxCLI[25194]: 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
91:5a:f8:ef:03:f3:9f:02:f3:7b:dc:f1:02:81:be:3f:e9:e8:54:2c:e7:ce:b4:4f:c9:30:58:aa:6a:cf:19:e5

Step 2: Run command service dns proxy stamp calculate dns-crypt provider-name 2.dnscrypt-cert.remote.dns provider-key 91:5a:f8:ef:03:f3:9f:02:f3:7b:dc:f1:02:81:be:3f:e9:e8:54:2c:e7:ce:b4:4f:c9:30:58:aa:6a:cf:19:e5 ip 10.215.168.1 port 8443 at DUT0 and expect this output:

Show output
sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIJFa-O8D858C83vc8QKBvj_p6FQs5860T8kwWKpqzxnlGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z

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://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIJFa-O8D858C83vc8QKBvj_p6FQs5860T8kwWKpqzxnlGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z'
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 Wed 2024-10-09 08:49:29 UTC, end at Wed 2024-10-09 08:49:31 UTC. --
Oct 09 08:49:29.280068 osdx systemd-journald[5179]: Runtime journal (/run/log/journal/7b13f98cf6974d34b6af66a5ac8a2ed7) is 2.0M, max 16.0M, 14.0M free.
Oct 09 08:49:29.298688 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'system journal clear'.
Oct 09 08:49:29.660039 osdx osdx-coredump[17198]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Oct 09 08:49:29.667334 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'system coredump delete all'.
Oct 09 08:49:30.193056 osdx OSDxCLI[25194]: User 'admin' entered the configuration menu.
Oct 09 08:49:30.257211 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Oct 09 08:49:30.344403 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Oct 09 08:49:30.414193 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Oct 09 08:49:30.482140 osdx cfgd[1327]: [25194]Completed change to active configuration
Oct 09 08:49:30.511459 osdx OSDxCLI[25194]: User 'admin' committed the configuration.
Oct 09 08:49:30.527367 osdx OSDxCLI[25194]: User 'admin' left the configuration menu.
Oct 09 08:49:30.658119 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Oct 09 08:49:30.748972 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'.
Oct 09 08:49:30.831399 osdx OSDxCLI[25194]: User 'admin' executed a new command: 'service dns proxy stamp calculate dns-crypt provider-name 2.dnscrypt-cert.remote.dns provider-key 91:5a:f8:ef:03:f3:9f:02:f3:7b:dc:f1:02:81:be:3f:e9:e8:54:2c:e7:ce:b4:4f:c9:30:58:aa:6a:cf:19:e5 ip 10.215.168.1 port 8443'.
Oct 09 08:49:30.983338 osdx OSDxCLI[25194]: User 'admin' entered the configuration menu.
Oct 09 08:49:31.036415 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Oct 09 08:49:31.131736 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Oct 09 08:49:31.196187 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIJFa-O8D858C83vc8QKBvj_p6FQs5860T8kwWKpqzxnlGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z''.
Oct 09 08:49:31.309805 osdx OSDxCLI[25194]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Oct 09 08:49:31.384297 osdx ca-certificates[17338]: Updating certificates in /etc/ssl/certs...
Oct 09 08:49:31.823280 osdx ca-certificates[18323]: 1 added, 0 removed; done.
Oct 09 08:49:31.825828 osdx ca-certificates[18330]: Running hooks in /etc/ca-certificates/update.d...
Oct 09 08:49:31.828559 osdx ca-certificates[18332]: done.
Oct 09 08:49:31.896384 osdx systemd[1]: Started DNSCrypt client proxy.
Oct 09 08:49:31.897447 osdx cfgd[1327]: [25194]Completed change to active configuration
Oct 09 08:49:31.900049 osdx OSDxCLI[25194]: User 'admin' committed the configuration.
Oct 09 08:49:31.911681 osdx dnscrypt-proxy[18382]: [2024-10-09 08:49:31] [NOTICE] dnscrypt-proxy 2.0.45
Oct 09 08:49:31.911874 osdx dnscrypt-proxy[18382]: [2024-10-09 08:49:31] [NOTICE] Network connectivity detected
Oct 09 08:49:31.911969 osdx dnscrypt-proxy[18382]: [2024-10-09 08:49:31] [NOTICE] Dropping privileges
Oct 09 08:49:31.913859 osdx dnscrypt-proxy[18382]: [2024-10-09 08:49:31] [NOTICE] Network connectivity detected
Oct 09 08:49:31.913916 osdx dnscrypt-proxy[18382]: [2024-10-09 08:49:31] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Oct 09 08:49:31.913916 osdx dnscrypt-proxy[18382]: [2024-10-09 08:49:31] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Oct 09 08:49:31.913916 osdx dnscrypt-proxy[18382]: [2024-10-09 08:49:31] [NOTICE] Firefox workaround initialized
Oct 09 08:49:31.913916 osdx dnscrypt-proxy[18382]: [2024-10-09 08:49:31] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpT9PRXz]
Oct 09 08:49:31.914674 osdx dnscrypt-proxy[18382]: [2024-10-09 08:49:31] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms
Oct 09 08:49:31.914712 osdx dnscrypt-proxy[18382]: [2024-10-09 08:49:31] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms)
Oct 09 08:49:31.914712 osdx dnscrypt-proxy[18382]: [2024-10-09 08:49:31] [NOTICE] dnscrypt-proxy is ready - live servers: 1
Oct 09 08:49:31.916189 osdx OSDxCLI[25194]: 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