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 ec4467518bda940b10464a7630c570e7717035cc032e5ae3bec7c4f937f00d8e 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-05-22 08:20:24 UTC, end at Wed 2024-05-22 08:20:28 UTC. -- May 22 08:20:24.356385 osdx systemd-journald[1514]: Runtime journal (/run/log/journal/99893f06e2ec475e9e852fdd13370208) is 2.0M, max 16.0M, 14.0M free. May 22 08:20:24.376352 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'system journal clear'. May 22 08:20:24.940682 osdx osdx-coredump[11215]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... May 22 08:20:24.951047 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'system coredump delete all'. May 22 08:20:25.762742 osdx OSDxCLI[18676]: User 'admin' entered the configuration menu. May 22 08:20:25.901877 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. May 22 08:20:25.984704 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. May 22 08:20:26.130337 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 May 22 08:20:26.219189 osdx cfgd[1125]: [18676]Completed change to active configuration May 22 08:20:26.257477 osdx OSDxCLI[18676]: User 'admin' committed the configuration. May 22 08:20:26.296640 osdx OSDxCLI[18676]: User 'admin' left the configuration menu. May 22 08:20:26.489528 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. May 22 08:20:26.683504 osdx OSDxCLI[18676]: User 'admin' entered the configuration menu. May 22 08:20:26.781165 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. May 22 08:20:26.895902 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. May 22 08:20:27.011406 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https host name remote.dns'. May 22 08:20:27.115362 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https ip 10.215.168.1'. May 22 08:20:27.232071 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https hash ec4467518bda940b10464a7630c570e7717035cc032e5ae3bec7c4f937f00d8e'. May 22 08:20:27.315285 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns resolver local'. May 22 08:20:27.456296 osdx ca-certificates[11327]: Updating certificates in /etc/ssl/certs... May 22 08:20:28.141039 osdx ca-certificates[12311]: 1 added, 0 removed; done. May 22 08:20:28.145671 osdx ca-certificates[12317]: Running hooks in /etc/ca-certificates/update.d... May 22 08:20:28.149936 osdx ca-certificates[12319]: done. May 22 08:20:28.261844 osdx systemd[1]: Started DNSCrypt client proxy. May 22 08:20:28.263727 osdx cfgd[1125]: [18676]Completed change to active configuration May 22 08:20:28.267229 osdx OSDxCLI[18676]: User 'admin' committed the configuration. May 22 08:20:28.283479 osdx dnscrypt-proxy[12369]: [2024-05-22 08:20:28] [NOTICE] dnscrypt-proxy 2.0.45 May 22 08:20:28.283792 osdx dnscrypt-proxy[12369]: [2024-05-22 08:20:28] [NOTICE] Network connectivity detected May 22 08:20:28.283901 osdx dnscrypt-proxy[12369]: [2024-05-22 08:20:28] [NOTICE] Dropping privileges May 22 08:20:28.286589 osdx dnscrypt-proxy[12369]: [2024-05-22 08:20:28] [NOTICE] Network connectivity detected May 22 08:20:28.286667 osdx dnscrypt-proxy[12369]: [2024-05-22 08:20:28] [NOTICE] Now listening to 127.0.0.1:53 [UDP] May 22 08:20:28.286667 osdx dnscrypt-proxy[12369]: [2024-05-22 08:20:28] [NOTICE] Now listening to 127.0.0.1:53 [TCP] May 22 08:20:28.286667 osdx dnscrypt-proxy[12369]: [2024-05-22 08:20:28] [NOTICE] Firefox workaround initialized May 22 08:20:28.286667 osdx dnscrypt-proxy[12369]: [2024-05-22 08:20:28] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpZsZQJV] May 22 08:20:28.296823 osdx OSDxCLI[18676]: User 'admin' left the configuration menu. May 22 08:20:28.446852 osdx dnscrypt-proxy[12369]: [2024-05-22 08:20:28] [NOTICE] [RD] OK (DoH) - rtt: 124ms May 22 08:20:28.446852 osdx dnscrypt-proxy[12369]: [2024-05-22 08:20:28] [NOTICE] Server with the lowest initial latency: RD (rtt: 124ms) May 22 08:20:28.446852 osdx dnscrypt-proxy[12369]: [2024-05-22 08:20:28] [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.16Show 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 ec4467518bda940b10464a7630c570e7717035cc032e5ae3bec7c4f937f00d8e
at DUT0
and expect this output:
Show output
sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSDsRGdRi9qUCxBGSnYwxXDncXA1zAMuWuO-x8T5N_ANjgpyZW1vdGUuZG5zCi9kbnMtcXVlcnk
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://AgAAAAAAAAAADDEwLjIxNS4xNjguMSDsRGdRi9qUCxBGSnYwxXDncXA1zAMuWuO-x8T5N_ANjgpyZW1vdGUuZG5zCi9kbnMtcXVlcnk' 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-05-22 08:20:36 UTC, end at Wed 2024-05-22 08:20:40 UTC. -- May 22 08:20:36.365917 osdx systemd-journald[1514]: Runtime journal (/run/log/journal/99893f06e2ec475e9e852fdd13370208) is 2.0M, max 16.0M, 14.0M free. May 22 08:20:36.396950 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'system journal clear'. May 22 08:20:36.930578 osdx osdx-coredump[14021]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... May 22 08:20:36.939072 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'system coredump delete all'. May 22 08:20:37.766539 osdx OSDxCLI[18676]: User 'admin' entered the configuration menu. May 22 08:20:37.903654 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. May 22 08:20:37.988606 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. May 22 08:20:38.138673 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 May 22 08:20:38.222245 osdx cfgd[1125]: [18676]Completed change to active configuration May 22 08:20:38.260811 osdx OSDxCLI[18676]: User 'admin' committed the configuration. May 22 08:20:38.296846 osdx OSDxCLI[18676]: User 'admin' left the configuration menu. May 22 08:20:38.465114 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. May 22 08:20:38.638344 osdx OSDxCLI[18676]: 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 ec4467518bda940b10464a7630c570e7717035cc032e5ae3bec7c4f937f00d8e'. May 22 08:20:38.825398 osdx OSDxCLI[18676]: User 'admin' entered the configuration menu. May 22 08:20:38.922653 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. May 22 08:20:39.024123 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. May 22 08:20:39.128237 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSDsRGdRi9qUCxBGSnYwxXDncXA1zAMuWuO-x8T5N_ANjgpyZW1vdGUuZG5zCi9kbnMtcXVlcnk''. May 22 08:20:39.213710 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns resolver local'. May 22 08:20:39.352077 osdx ca-certificates[14135]: Updating certificates in /etc/ssl/certs... May 22 08:20:40.028836 osdx ca-certificates[15119]: 1 added, 0 removed; done. May 22 08:20:40.033469 osdx ca-certificates[15126]: Running hooks in /etc/ca-certificates/update.d... May 22 08:20:40.037959 osdx ca-certificates[15128]: done. May 22 08:20:40.158699 osdx systemd[1]: Started DNSCrypt client proxy. May 22 08:20:40.161078 osdx cfgd[1125]: [18676]Completed change to active configuration May 22 08:20:40.164335 osdx OSDxCLI[18676]: User 'admin' committed the configuration. May 22 08:20:40.188108 osdx dnscrypt-proxy[15178]: [2024-05-22 08:20:40] [NOTICE] dnscrypt-proxy 2.0.45 May 22 08:20:40.188387 osdx dnscrypt-proxy[15178]: [2024-05-22 08:20:40] [NOTICE] Network connectivity detected May 22 08:20:40.188671 osdx dnscrypt-proxy[15178]: [2024-05-22 08:20:40] [NOTICE] Dropping privileges May 22 08:20:40.192266 osdx dnscrypt-proxy[15178]: [2024-05-22 08:20:40] [NOTICE] Network connectivity detected May 22 08:20:40.192342 osdx dnscrypt-proxy[15178]: [2024-05-22 08:20:40] [NOTICE] Now listening to 127.0.0.1:53 [UDP] May 22 08:20:40.192342 osdx dnscrypt-proxy[15178]: [2024-05-22 08:20:40] [NOTICE] Now listening to 127.0.0.1:53 [TCP] May 22 08:20:40.192342 osdx dnscrypt-proxy[15178]: [2024-05-22 08:20:40] [NOTICE] Firefox workaround initialized May 22 08:20:40.192342 osdx dnscrypt-proxy[15178]: [2024-05-22 08:20:40] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpxiO7x8] May 22 08:20:40.201103 osdx OSDxCLI[18676]: User 'admin' left the configuration menu. May 22 08:20:40.355407 osdx dnscrypt-proxy[15178]: [2024-05-22 08:20:40] [NOTICE] [RD] OK (DoH) - rtt: 126ms May 22 08:20:40.355407 osdx dnscrypt-proxy[15178]: [2024-05-22 08:20:40] [NOTICE] Server with the lowest initial latency: RD (rtt: 126ms) May 22 08:20:40.355407 osdx dnscrypt-proxy[15178]: [2024-05-22 08:20:40] [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.16Show 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
82:1f:89:52:02:93:8a:f7:8b:09:88:f2:a2:e0:16:06:43:5c:cb:66:63:57:03:92:02:f4:eb:33:88:f8:5b:2b
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 82:1f:89:52:02:93:8a:f7:8b:09:88:f2:a2:e0:16:06:43:5c:cb:66:63:57:03:92:02:f4:eb:33:88:f8:5b:2b 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-05-22 08:20:47 UTC, end at Wed 2024-05-22 08:20:51 UTC. -- May 22 08:20:47.363746 osdx systemd-journald[1514]: Runtime journal (/run/log/journal/99893f06e2ec475e9e852fdd13370208) is 2.0M, max 16.0M, 14.0M free. May 22 08:20:47.392616 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'system journal clear'. May 22 08:20:47.947591 osdx osdx-coredump[16828]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... May 22 08:20:47.955414 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'system coredump delete all'. May 22 08:20:48.798422 osdx OSDxCLI[18676]: User 'admin' entered the configuration menu. May 22 08:20:48.910097 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. May 22 08:20:49.021566 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. May 22 08:20:49.172888 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 May 22 08:20:49.269016 osdx cfgd[1125]: [18676]Completed change to active configuration May 22 08:20:49.307276 osdx OSDxCLI[18676]: User 'admin' committed the configuration. May 22 08:20:49.334747 osdx OSDxCLI[18676]: User 'admin' left the configuration menu. May 22 08:20:49.452884 osdx zebra[1078]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]): May 22 08:20:49.508619 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. May 22 08:20:49.644984 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'. May 22 08:20:49.813954 osdx OSDxCLI[18676]: User 'admin' entered the configuration menu. May 22 08:20:49.910634 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. May 22 08:20:50.026186 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. May 22 08:20:50.120606 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt ip 10.215.168.1'. May 22 08:20:50.209935 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt port 8443'. May 22 08:20:50.330512 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider name 2.dnscrypt-cert.remote.dns'. May 22 08:20:50.425256 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider public-key 82:1f:89:52:02:93:8a:f7:8b:09:88:f2:a2:e0:16:06:43:5c:cb:66:63:57:03:92:02:f4:eb:33:88:f8:5b:2b'. May 22 08:20:50.501750 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns resolver local'. May 22 08:20:50.663579 osdx ca-certificates[16942]: Updating certificates in /etc/ssl/certs... May 22 08:20:51.313054 osdx ca-certificates[17927]: 1 added, 0 removed; done. May 22 08:20:51.317309 osdx ca-certificates[17933]: Running hooks in /etc/ca-certificates/update.d... May 22 08:20:51.321662 osdx ca-certificates[17935]: done. May 22 08:20:51.427768 osdx systemd[1]: Started DNSCrypt client proxy. May 22 08:20:51.429731 osdx cfgd[1125]: [18676]Completed change to active configuration May 22 08:20:51.433644 osdx OSDxCLI[18676]: User 'admin' committed the configuration. May 22 08:20:51.447284 osdx dnscrypt-proxy[17985]: [2024-05-22 08:20:51] [NOTICE] dnscrypt-proxy 2.0.45 May 22 08:20:51.447605 osdx dnscrypt-proxy[17985]: [2024-05-22 08:20:51] [NOTICE] Network connectivity detected May 22 08:20:51.447816 osdx dnscrypt-proxy[17985]: [2024-05-22 08:20:51] [NOTICE] Dropping privileges May 22 08:20:51.450893 osdx dnscrypt-proxy[17985]: [2024-05-22 08:20:51] [NOTICE] Network connectivity detected May 22 08:20:51.451001 osdx dnscrypt-proxy[17985]: [2024-05-22 08:20:51] [NOTICE] Now listening to 127.0.0.1:53 [UDP] May 22 08:20:51.451001 osdx dnscrypt-proxy[17985]: [2024-05-22 08:20:51] [NOTICE] Now listening to 127.0.0.1:53 [TCP] May 22 08:20:51.451001 osdx dnscrypt-proxy[17985]: [2024-05-22 08:20:51] [NOTICE] Firefox workaround initialized May 22 08:20:51.451001 osdx dnscrypt-proxy[17985]: [2024-05-22 08:20:51] [NOTICE] Loading the set of cloaking rules from [/tmp/tmp6OtRdc] May 22 08:20:51.451821 osdx dnscrypt-proxy[17985]: [2024-05-22 08:20:51] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms May 22 08:20:51.451821 osdx dnscrypt-proxy[17985]: [2024-05-22 08:20:51] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms) May 22 08:20:51.451821 osdx dnscrypt-proxy[17985]: [2024-05-22 08:20:51] [NOTICE] dnscrypt-proxy is ready - live servers: 1 May 22 08:20:51.461643 osdx OSDxCLI[18676]: 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.16Show 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
82:1f:89:52:02:93:8a:f7:8b:09:88:f2:a2:e0:16:06:43:5c:cb:66:63:57:03:92:02:f4:eb:33:88:f8:5b:2b
Step 2: Run command service dns proxy stamp calculate dns-crypt provider-name 2.dnscrypt-cert.remote.dns provider-key 82:1f:89:52:02:93:8a:f7:8b:09:88:f2:a2:e0:16:06:43:5c:cb:66:63:57:03:92:02:f4:eb:33:88:f8:5b:2b ip 10.215.168.1 port 8443
at DUT0
and expect this output:
Show output
sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIIIfiVICk4r3iwmI8qLgFgZDXMtmY1cDkgL06zOI-FsrGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z
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://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIIIfiVICk4r3iwmI8qLgFgZDXMtmY1cDkgL06zOI-FsrGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z' 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-05-22 08:20:59 UTC, end at Wed 2024-05-22 08:21:03 UTC. -- May 22 08:20:59.363385 osdx systemd-journald[1514]: Runtime journal (/run/log/journal/99893f06e2ec475e9e852fdd13370208) is 2.0M, max 16.0M, 14.0M free. May 22 08:20:59.397691 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'system journal clear'. May 22 08:20:59.844677 osdx zebra[1078]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]): May 22 08:20:59.966565 osdx osdx-coredump[19640]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... May 22 08:20:59.974761 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'system coredump delete all'. May 22 08:21:00.806881 osdx OSDxCLI[18676]: User 'admin' entered the configuration menu. May 22 08:21:00.945952 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. May 22 08:21:01.027246 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. May 22 08:21:01.202838 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 May 22 08:21:01.285274 osdx cfgd[1125]: [18676]Completed change to active configuration May 22 08:21:01.322484 osdx OSDxCLI[18676]: User 'admin' committed the configuration. May 22 08:21:01.361787 osdx OSDxCLI[18676]: User 'admin' left the configuration menu. May 22 08:21:01.530716 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. May 22 08:21:01.667004 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'. May 22 08:21:01.799930 osdx OSDxCLI[18676]: User 'admin' executed a new command: 'service dns proxy stamp calculate dns-crypt provider-name 2.dnscrypt-cert.remote.dns provider-key 82:1f:89:52:02:93:8a:f7:8b:09:88:f2:a2:e0:16:06:43:5c:cb:66:63:57:03:92:02:f4:eb:33:88:f8:5b:2b ip 10.215.168.1 port 8443'. May 22 08:21:01.995059 osdx OSDxCLI[18676]: User 'admin' entered the configuration menu. May 22 08:21:02.098682 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. May 22 08:21:02.214434 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. May 22 08:21:02.323360 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIIIfiVICk4r3iwmI8qLgFgZDXMtmY1cDkgL06zOI-FsrGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z''. May 22 08:21:02.395020 osdx OSDxCLI[18676]: User 'admin' added a new cfg line: 'set service dns resolver local'. May 22 08:21:02.552236 osdx ca-certificates[19761]: Updating certificates in /etc/ssl/certs... May 22 08:21:03.210165 osdx ca-certificates[20747]: 1 added, 0 removed; done. May 22 08:21:03.214660 osdx ca-certificates[20753]: Running hooks in /etc/ca-certificates/update.d... May 22 08:21:03.218995 osdx ca-certificates[20755]: done. May 22 08:21:03.318447 osdx systemd[1]: Started DNSCrypt client proxy. May 22 08:21:03.321297 osdx cfgd[1125]: [18676]Completed change to active configuration May 22 08:21:03.325160 osdx OSDxCLI[18676]: User 'admin' committed the configuration. May 22 08:21:03.338815 osdx dnscrypt-proxy[20805]: [2024-05-22 08:21:03] [NOTICE] dnscrypt-proxy 2.0.45 May 22 08:21:03.338815 osdx dnscrypt-proxy[20805]: [2024-05-22 08:21:03] [NOTICE] Network connectivity detected May 22 08:21:03.339109 osdx dnscrypt-proxy[20805]: [2024-05-22 08:21:03] [NOTICE] Dropping privileges May 22 08:21:03.341876 osdx dnscrypt-proxy[20805]: [2024-05-22 08:21:03] [NOTICE] Network connectivity detected May 22 08:21:03.341957 osdx dnscrypt-proxy[20805]: [2024-05-22 08:21:03] [NOTICE] Now listening to 127.0.0.1:53 [UDP] May 22 08:21:03.341957 osdx dnscrypt-proxy[20805]: [2024-05-22 08:21:03] [NOTICE] Now listening to 127.0.0.1:53 [TCP] May 22 08:21:03.341957 osdx dnscrypt-proxy[20805]: [2024-05-22 08:21:03] [NOTICE] Firefox workaround initialized May 22 08:21:03.341957 osdx dnscrypt-proxy[20805]: [2024-05-22 08:21:03] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpVqa882] May 22 08:21:03.342750 osdx dnscrypt-proxy[20805]: [2024-05-22 08:21:03] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms May 22 08:21:03.342750 osdx dnscrypt-proxy[20805]: [2024-05-22 08:21:03] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms) May 22 08:21:03.342750 osdx dnscrypt-proxy[20805]: [2024-05-22 08:21:03] [NOTICE] dnscrypt-proxy is ready - live servers: 1 May 22 08:21:03.381410 osdx OSDxCLI[18676]: 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.16Show output
teldat.com has address 19.18.17.16