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 3c15e90bd022a1619161d18b235841fbb951fd9251cbf16baaf9244baed3a840
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 Mon 2024-12-02 20:15:17 UTC, end at Mon 2024-12-02 20:15:23 UTC. --
Dec 02 20:15:17.473821 osdx systemd-journald[31677]: Runtime journal (/run/log/journal/1d07d1333cb24d498692b025d3740112) is 2.0M, max 16.0M, 14.0M free.
Dec 02 20:15:17.499528 osdx OSDxCLI[727]: User 'admin' executed a new command: 'system journal clear'.
Dec 02 20:15:18.320454 osdx osdx-coredump[1266]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Dec 02 20:15:18.331970 osdx OSDxCLI[727]: User 'admin' executed a new command: 'system coredump delete all'.
Dec 02 20:15:19.584341 osdx OSDxCLI[727]: User 'admin' entered the configuration menu.
Dec 02 20:15:19.860566 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Dec 02 20:15:20.023400 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Dec 02 20:15:20.259944 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Dec 02 20:15:20.508480 osdx cfgd[1120]: [727]Completed change to active configuration
Dec 02 20:15:20.574463 osdx OSDxCLI[727]: User 'admin' committed the configuration.
Dec 02 20:15:20.615737 osdx OSDxCLI[727]: User 'admin' left the configuration menu.
Dec 02 20:15:20.840499 osdx OSDxCLI[727]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Dec 02 20:15:21.171428 osdx OSDxCLI[727]: User 'admin' entered the configuration menu.
Dec 02 20:15:21.330517 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Dec 02 20:15:21.467394 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Dec 02 20:15:21.660818 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https host name remote.dns'.
Dec 02 20:15:21.756368 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https ip 10.215.168.1'.
Dec 02 20:15:21.924389 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https hash 3c15e90bd022a1619161d18b235841fbb951fd9251cbf16baaf9244baed3a840'.
Dec 02 20:15:22.043764 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Dec 02 20:15:22.256575 osdx ca-certificates[1403]: Updating certificates in /etc/ssl/certs...
Dec 02 20:15:23.147512 osdx ca-certificates[2387]: 1 added, 0 removed; done.
Dec 02 20:15:23.154795 osdx ca-certificates[2394]: Running hooks in /etc/ca-certificates/update.d...
Dec 02 20:15:23.162682 osdx ca-certificates[2396]: done.
Dec 02 20:15:23.346918 osdx systemd[1]: Started DNSCrypt client proxy.
Dec 02 20:15:23.359782 osdx cfgd[1120]: [727]Completed change to active configuration
Dec 02 20:15:23.367377 osdx OSDxCLI[727]: User 'admin' committed the configuration.
Dec 02 20:15:23.403698 osdx dnscrypt-proxy[2446]: [2024-12-02 20:15:23] [NOTICE] dnscrypt-proxy 2.0.45
Dec 02 20:15:23.403698 osdx dnscrypt-proxy[2446]: [2024-12-02 20:15:23] [NOTICE] Network connectivity detected
Dec 02 20:15:23.403698 osdx dnscrypt-proxy[2446]: [2024-12-02 20:15:23] [NOTICE] Dropping privileges
Dec 02 20:15:23.427150 osdx OSDxCLI[727]: User 'admin' left the configuration menu.
Dec 02 20:15:23.439531 osdx dnscrypt-proxy[2446]: [2024-12-02 20:15:23] [NOTICE] Network connectivity detected
Dec 02 20:15:23.439809 osdx dnscrypt-proxy[2446]: [2024-12-02 20:15:23] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Dec 02 20:15:23.439930 osdx dnscrypt-proxy[2446]: [2024-12-02 20:15:23] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Dec 02 20:15:23.440103 osdx dnscrypt-proxy[2446]: [2024-12-02 20:15:23] [NOTICE] Firefox workaround initialized
Dec 02 20:15:23.440220 osdx dnscrypt-proxy[2446]: [2024-12-02 20:15:23] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpy8699F]
Dec 02 20:15:23.655674 osdx dnscrypt-proxy[2446]: [2024-12-02 20:15:23] [NOTICE] [RD] OK (DoH) - rtt: 109ms
Dec 02 20:15:23.655674 osdx dnscrypt-proxy[2446]: [2024-12-02 20:15:23] [NOTICE] Server with the lowest initial latency: RD (rtt: 109ms)
Dec 02 20:15:23.655674 osdx dnscrypt-proxy[2446]: [2024-12-02 20:15:23] [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 3c15e90bd022a1619161d18b235841fbb951fd9251cbf16baaf9244baed3a840 at DUT0 and expect this output:

Show output
sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSA8FekL0CKhYZFh0YsjWEH7uVH9klHL8Wuq-SRLrtOoQApyZW1vdGUuZG5zCi9kbnMtcXVlcnk

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://AgAAAAAAAAAADDEwLjIxNS4xNjguMSA8FekL0CKhYZFh0YsjWEH7uVH9klHL8Wuq-SRLrtOoQApyZW1vdGUuZG5zCi9kbnMtcXVlcnk'
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 Mon 2024-12-02 20:15:33 UTC, end at Mon 2024-12-02 20:15:38 UTC. --
Dec 02 20:15:33.438462 osdx systemd-journald[31677]: Runtime journal (/run/log/journal/1d07d1333cb24d498692b025d3740112) is 2.0M, max 16.0M, 14.0M free.
Dec 02 20:15:33.471582 osdx OSDxCLI[727]: User 'admin' executed a new command: 'system journal clear'.
Dec 02 20:15:34.265901 osdx osdx-coredump[4098]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Dec 02 20:15:34.278715 osdx OSDxCLI[727]: User 'admin' executed a new command: 'system coredump delete all'.
Dec 02 20:15:35.394187 osdx OSDxCLI[727]: User 'admin' entered the configuration menu.
Dec 02 20:15:35.577515 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Dec 02 20:15:35.690470 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Dec 02 20:15:35.866333 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Dec 02 20:15:36.011968 osdx cfgd[1120]: [727]Completed change to active configuration
Dec 02 20:15:36.070671 osdx OSDxCLI[727]: User 'admin' committed the configuration.
Dec 02 20:15:36.110568 osdx OSDxCLI[727]: User 'admin' left the configuration menu.
Dec 02 20:15:36.314228 osdx OSDxCLI[727]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Dec 02 20:15:36.519371 osdx OSDxCLI[727]: 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 3c15e90bd022a1619161d18b235841fbb951fd9251cbf16baaf9244baed3a840'.
Dec 02 20:15:36.698561 osdx OSDxCLI[727]: User 'admin' entered the configuration menu.
Dec 02 20:15:36.814175 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Dec 02 20:15:36.944609 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Dec 02 20:15:37.178693 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSA8FekL0CKhYZFh0YsjWEH7uVH9klHL8Wuq-SRLrtOoQApyZW1vdGUuZG5zCi9kbnMtcXVlcnk''.
Dec 02 20:15:37.300434 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Dec 02 20:15:37.529119 osdx ca-certificates[4237]: Updating certificates in /etc/ssl/certs...
Dec 02 20:15:38.394233 osdx ca-certificates[5223]: 1 added, 0 removed; done.
Dec 02 20:15:38.401018 osdx ca-certificates[5228]: Running hooks in /etc/ca-certificates/update.d...
Dec 02 20:15:38.407820 osdx ca-certificates[5230]: done.
Dec 02 20:15:38.561919 osdx systemd[1]: Started DNSCrypt client proxy.
Dec 02 20:15:38.564006 osdx cfgd[1120]: [727]Completed change to active configuration
Dec 02 20:15:38.569844 osdx OSDxCLI[727]: User 'admin' committed the configuration.
Dec 02 20:15:38.637492 osdx dnscrypt-proxy[5280]: [2024-12-02 20:15:38] [NOTICE] dnscrypt-proxy 2.0.45
Dec 02 20:15:38.637474 osdx OSDxCLI[727]: User 'admin' left the configuration menu.
Dec 02 20:15:38.638077 osdx dnscrypt-proxy[5280]: [2024-12-02 20:15:38] [NOTICE] Network connectivity detected
Dec 02 20:15:38.638077 osdx dnscrypt-proxy[5280]: [2024-12-02 20:15:38] [NOTICE] Dropping privileges
Dec 02 20:15:38.641819 osdx dnscrypt-proxy[5280]: [2024-12-02 20:15:38] [NOTICE] Network connectivity detected
Dec 02 20:15:38.642006 osdx dnscrypt-proxy[5280]: [2024-12-02 20:15:38] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Dec 02 20:15:38.642111 osdx dnscrypt-proxy[5280]: [2024-12-02 20:15:38] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Dec 02 20:15:38.642227 osdx dnscrypt-proxy[5280]: [2024-12-02 20:15:38] [NOTICE] Firefox workaround initialized
Dec 02 20:15:38.642338 osdx dnscrypt-proxy[5280]: [2024-12-02 20:15:38] [NOTICE] Loading the set of cloaking rules from [/tmp/tmp17dILX]
Dec 02 20:15:38.808478 osdx dnscrypt-proxy[5280]: [2024-12-02 20:15:38] [NOTICE] [RD] OK (DoH) - rtt: 112ms
Dec 02 20:15:38.808478 osdx dnscrypt-proxy[5280]: [2024-12-02 20:15:38] [NOTICE] Server with the lowest initial latency: RD (rtt: 112ms)
Dec 02 20:15:38.808478 osdx dnscrypt-proxy[5280]: [2024-12-02 20:15:38] [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
e3:8c:4e:85:1c:43:d1:38:0b:38:bd:d9:27:f6:8c:8e:34:e2:80:d4:88:03:fa:7b:46:fc:bd:8b:76:cd:81:9b

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 e3:8c:4e:85:1c:43:d1:38:0b:38:bd:d9:27:f6:8c:8e:34:e2:80:d4:88:03:fa:7b:46:fc:bd:8b:76:cd:81:9b
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 Mon 2024-12-02 20:15:48 UTC, end at Mon 2024-12-02 20:15:54 UTC. --
Dec 02 20:15:48.443612 osdx systemd-journald[31677]: Runtime journal (/run/log/journal/1d07d1333cb24d498692b025d3740112) is 2.0M, max 16.0M, 14.0M free.
Dec 02 20:15:48.484032 osdx OSDxCLI[727]: User 'admin' executed a new command: 'system journal clear'.
Dec 02 20:15:49.286306 osdx osdx-coredump[6931]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Dec 02 20:15:49.297085 osdx OSDxCLI[727]: User 'admin' executed a new command: 'system coredump delete all'.
Dec 02 20:15:50.440798 osdx OSDxCLI[727]: User 'admin' entered the configuration menu.
Dec 02 20:15:50.581284 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Dec 02 20:15:50.720433 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Dec 02 20:15:50.871689 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Dec 02 20:15:51.015290 osdx cfgd[1120]: [727]Completed change to active configuration
Dec 02 20:15:51.059327 osdx OSDxCLI[727]: User 'admin' committed the configuration.
Dec 02 20:15:51.089315 osdx OSDxCLI[727]: User 'admin' left the configuration menu.
Dec 02 20:15:51.360709 osdx OSDxCLI[727]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Dec 02 20:15:51.617922 osdx OSDxCLI[727]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'.
Dec 02 20:15:51.805705 osdx OSDxCLI[727]: User 'admin' entered the configuration menu.
Dec 02 20:15:51.926430 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Dec 02 20:15:52.104659 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Dec 02 20:15:52.233880 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt ip 10.215.168.1'.
Dec 02 20:15:52.361071 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt port 8443'.
Dec 02 20:15:52.499140 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider name 2.dnscrypt-cert.remote.dns'.
Dec 02 20:15:52.634987 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider public-key e3:8c:4e:85:1c:43:d1:38:0b:38:bd:d9:27:f6:8c:8e:34:e2:80:d4:88:03:fa:7b:46:fc:bd:8b:76:cd:81:9b'.
Dec 02 20:15:52.767493 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Dec 02 20:15:53.019709 osdx ca-certificates[7070]: Updating certificates in /etc/ssl/certs...
Dec 02 20:15:53.918028 osdx ca-certificates[8055]: 1 added, 0 removed; done.
Dec 02 20:15:53.924274 osdx ca-certificates[8059]: Running hooks in /etc/ca-certificates/update.d...
Dec 02 20:15:53.929862 osdx ca-certificates[8064]: done.
Dec 02 20:15:54.072445 osdx systemd[1]: Started DNSCrypt client proxy.
Dec 02 20:15:54.075439 osdx cfgd[1120]: [727]Completed change to active configuration
Dec 02 20:15:54.080699 osdx OSDxCLI[727]: User 'admin' committed the configuration.
Dec 02 20:15:54.106905 osdx dnscrypt-proxy[8114]: [2024-12-02 20:15:54] [NOTICE] dnscrypt-proxy 2.0.45
Dec 02 20:15:54.107280 osdx dnscrypt-proxy[8114]: [2024-12-02 20:15:54] [NOTICE] Network connectivity detected
Dec 02 20:15:54.107406 osdx dnscrypt-proxy[8114]: [2024-12-02 20:15:54] [NOTICE] Dropping privileges
Dec 02 20:15:54.111235 osdx dnscrypt-proxy[8114]: [2024-12-02 20:15:54] [NOTICE] Network connectivity detected
Dec 02 20:15:54.111235 osdx dnscrypt-proxy[8114]: [2024-12-02 20:15:54] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Dec 02 20:15:54.111235 osdx dnscrypt-proxy[8114]: [2024-12-02 20:15:54] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Dec 02 20:15:54.111235 osdx dnscrypt-proxy[8114]: [2024-12-02 20:15:54] [NOTICE] Firefox workaround initialized
Dec 02 20:15:54.111235 osdx dnscrypt-proxy[8114]: [2024-12-02 20:15:54] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpz4hPBY]
Dec 02 20:15:54.112276 osdx dnscrypt-proxy[8114]: [2024-12-02 20:15:54] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms
Dec 02 20:15:54.112276 osdx dnscrypt-proxy[8114]: [2024-12-02 20:15:54] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms)
Dec 02 20:15:54.112423 osdx dnscrypt-proxy[8114]: [2024-12-02 20:15:54] [NOTICE] dnscrypt-proxy is ready - live servers: 1
Dec 02 20:15:54.119481 osdx OSDxCLI[727]: 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
e3:8c:4e:85:1c:43:d1:38:0b:38:bd:d9:27:f6:8c:8e:34:e2:80:d4:88:03:fa:7b:46:fc:bd:8b:76:cd:81:9b

Step 2: Run command service dns proxy stamp calculate dns-crypt provider-name 2.dnscrypt-cert.remote.dns provider-key e3:8c:4e:85:1c:43:d1:38:0b:38:bd:d9:27:f6:8c:8e:34:e2:80:d4:88:03:fa:7b:46:fc:bd:8b:76:cd:81:9b ip 10.215.168.1 port 8443 at DUT0 and expect this output:

Show output
sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIOOMToUcQ9E4Czi92Sf2jI404oDUiAP6e0b8vYt2zYGbGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z

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://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIOOMToUcQ9E4Czi92Sf2jI404oDUiAP6e0b8vYt2zYGbGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z'
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 Mon 2024-12-02 20:16:04 UTC, end at Mon 2024-12-02 20:16:10 UTC. --
Dec 02 20:16:04.515767 osdx systemd-journald[31677]: Runtime journal (/run/log/journal/1d07d1333cb24d498692b025d3740112) is 2.0M, max 16.0M, 14.0M free.
Dec 02 20:16:04.540639 osdx OSDxCLI[727]: User 'admin' executed a new command: 'system journal clear'.
Dec 02 20:16:05.331737 osdx osdx-coredump[9769]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
Dec 02 20:16:05.342354 osdx OSDxCLI[727]: User 'admin' executed a new command: 'system coredump delete all'.
Dec 02 20:16:06.514145 osdx OSDxCLI[727]: User 'admin' entered the configuration menu.
Dec 02 20:16:06.671396 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'.
Dec 02 20:16:06.771467 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'.
Dec 02 20:16:06.978813 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
Dec 02 20:16:07.124738 osdx cfgd[1120]: [727]Completed change to active configuration
Dec 02 20:16:07.184913 osdx OSDxCLI[727]: User 'admin' committed the configuration.
Dec 02 20:16:07.241472 osdx OSDxCLI[727]: User 'admin' left the configuration menu.
Dec 02 20:16:07.501206 osdx OSDxCLI[727]: User 'admin' executed a new command: 'ping 10.215.168.1      count 1 size 56 timeout 1'.
Dec 02 20:16:07.687663 osdx OSDxCLI[727]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'.
Dec 02 20:16:07.843818 osdx OSDxCLI[727]: User 'admin' executed a new command: 'service dns proxy stamp calculate dns-crypt provider-name 2.dnscrypt-cert.remote.dns provider-key e3:8c:4e:85:1c:43:d1:38:0b:38:bd:d9:27:f6:8c:8e:34:e2:80:d4:88:03:fa:7b:46:fc:bd:8b:76:cd:81:9b ip 10.215.168.1 port 8443'.
Dec 02 20:16:08.157861 osdx OSDxCLI[727]: User 'admin' entered the configuration menu.
Dec 02 20:16:08.331790 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'.
Dec 02 20:16:08.474185 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'.
Dec 02 20:16:08.623275 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIOOMToUcQ9E4Czi92Sf2jI404oDUiAP6e0b8vYt2zYGbGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z''.
Dec 02 20:16:08.743070 osdx OSDxCLI[727]: User 'admin' added a new cfg line: 'set service dns resolver local'.
Dec 02 20:16:09.008639 osdx ca-certificates[9909]: Updating certificates in /etc/ssl/certs...
Dec 02 20:16:10.165494 osdx ca-certificates[10893]: 1 added, 0 removed; done.
Dec 02 20:16:10.172202 osdx ca-certificates[10900]: Running hooks in /etc/ca-certificates/update.d...
Dec 02 20:16:10.179030 osdx ca-certificates[10902]: done.
Dec 02 20:16:10.325085 osdx systemd[1]: Started DNSCrypt client proxy.
Dec 02 20:16:10.328197 osdx cfgd[1120]: [727]Completed change to active configuration
Dec 02 20:16:10.346229 osdx OSDxCLI[727]: User 'admin' committed the configuration.
Dec 02 20:16:10.390317 osdx dnscrypt-proxy[10952]: [2024-12-02 20:16:10] [NOTICE] dnscrypt-proxy 2.0.45
Dec 02 20:16:10.390739 osdx dnscrypt-proxy[10952]: [2024-12-02 20:16:10] [NOTICE] Network connectivity detected
Dec 02 20:16:10.390981 osdx dnscrypt-proxy[10952]: [2024-12-02 20:16:10] [NOTICE] Dropping privileges
Dec 02 20:16:10.394601 osdx dnscrypt-proxy[10952]: [2024-12-02 20:16:10] [NOTICE] Network connectivity detected
Dec 02 20:16:10.394728 osdx dnscrypt-proxy[10952]: [2024-12-02 20:16:10] [NOTICE] Now listening to 127.0.0.1:53 [UDP]
Dec 02 20:16:10.394728 osdx dnscrypt-proxy[10952]: [2024-12-02 20:16:10] [NOTICE] Now listening to 127.0.0.1:53 [TCP]
Dec 02 20:16:10.394728 osdx dnscrypt-proxy[10952]: [2024-12-02 20:16:10] [NOTICE] Firefox workaround initialized
Dec 02 20:16:10.394728 osdx dnscrypt-proxy[10952]: [2024-12-02 20:16:10] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpjWyO8H]
Dec 02 20:16:10.397186 osdx dnscrypt-proxy[10952]: [2024-12-02 20:16:10] [NOTICE] [RD] OK (DNSCrypt) - rtt: 1ms
Dec 02 20:16:10.397186 osdx dnscrypt-proxy[10952]: [2024-12-02 20:16:10] [NOTICE] Server with the lowest initial latency: RD (rtt: 1ms)
Dec 02 20:16:10.397186 osdx dnscrypt-proxy[10952]: [2024-12-02 20:16:10] [NOTICE] dnscrypt-proxy is ready - live servers: 1
Dec 02 20:16:10.416382 osdx OSDxCLI[727]: 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