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-06-12 22:01:40 UTC, end at Wed 2024-06-12 22:01:44 UTC. -- Jun 12 22:01:40.354642 osdx systemd-journald[1508]: Runtime journal (/run/log/journal/f8d19df27e8d4f24a0b0e24ed9aec425) is 2.0M, max 16.0M, 14.0M free. Jun 12 22:01:40.367906 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'system journal clear'. Jun 12 22:01:40.951513 osdx osdx-coredump[1981]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Jun 12 22:01:40.959775 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'system coredump delete all'. Jun 12 22:01:41.814177 osdx OSDxCLI[16771]: User 'admin' entered the configuration menu. Jun 12 22:01:41.955718 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Jun 12 22:01:42.037696 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Jun 12 22:01:42.200811 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Jun 12 22:01:42.303460 osdx cfgd[1122]: [16771]Completed change to active configuration Jun 12 22:01:42.353333 osdx OSDxCLI[16771]: User 'admin' committed the configuration. Jun 12 22:01:42.397025 osdx OSDxCLI[16771]: User 'admin' left the configuration menu. Jun 12 22:01:42.593161 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Jun 12 22:01:42.808663 osdx OSDxCLI[16771]: User 'admin' entered the configuration menu. Jun 12 22:01:42.906364 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Jun 12 22:01:43.000348 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Jun 12 22:01:43.129309 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https host name remote.dns'. Jun 12 22:01:43.217545 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https ip 10.215.168.1'. Jun 12 22:01:43.322774 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https hash ec4467518bda940b10464a7630c570e7717035cc032e5ae3bec7c4f937f00d8e'. Jun 12 22:01:43.430250 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns resolver local'. Jun 12 22:01:43.589138 osdx ca-certificates[2093]: Updating certificates in /etc/ssl/certs... Jun 12 22:01:44.311419 osdx ca-certificates[3077]: 1 added, 0 removed; done. Jun 12 22:01:44.317980 osdx ca-certificates[3083]: Running hooks in /etc/ca-certificates/update.d... Jun 12 22:01:44.322327 osdx ca-certificates[3085]: done. Jun 12 22:01:44.447483 osdx systemd[1]: Started DNSCrypt client proxy. Jun 12 22:01:44.449579 osdx cfgd[1122]: [16771]Completed change to active configuration Jun 12 22:01:44.453236 osdx OSDxCLI[16771]: User 'admin' committed the configuration. Jun 12 22:01:44.475455 osdx dnscrypt-proxy[3135]: [2024-06-12 22:01:44] [NOTICE] dnscrypt-proxy 2.0.45 Jun 12 22:01:44.475780 osdx dnscrypt-proxy[3135]: [2024-06-12 22:01:44] [NOTICE] Network connectivity detected Jun 12 22:01:44.476054 osdx dnscrypt-proxy[3135]: [2024-06-12 22:01:44] [NOTICE] Dropping privileges Jun 12 22:01:44.479310 osdx dnscrypt-proxy[3135]: [2024-06-12 22:01:44] [NOTICE] Network connectivity detected Jun 12 22:01:44.479493 osdx dnscrypt-proxy[3135]: [2024-06-12 22:01:44] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Jun 12 22:01:44.479584 osdx dnscrypt-proxy[3135]: [2024-06-12 22:01:44] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Jun 12 22:01:44.479696 osdx dnscrypt-proxy[3135]: [2024-06-12 22:01:44] [NOTICE] Firefox workaround initialized Jun 12 22:01:44.479782 osdx dnscrypt-proxy[3135]: [2024-06-12 22:01:44] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpep9okU] Jun 12 22:01:44.494218 osdx OSDxCLI[16771]: User 'admin' left the configuration menu. Jun 12 22:01:44.643435 osdx dnscrypt-proxy[3135]: [2024-06-12 22:01:44] [NOTICE] [RD] OK (DoH) - rtt: 124ms Jun 12 22:01:44.643435 osdx dnscrypt-proxy[3135]: [2024-06-12 22:01:44] [NOTICE] Server with the lowest initial latency: RD (rtt: 124ms) Jun 12 22:01:44.643435 osdx dnscrypt-proxy[3135]: [2024-06-12 22:01:44] [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-06-12 22:01:53 UTC, end at Wed 2024-06-12 22:01:57 UTC. -- Jun 12 22:01:53.410102 osdx systemd-journald[1508]: Runtime journal (/run/log/journal/f8d19df27e8d4f24a0b0e24ed9aec425) is 2.0M, max 16.0M, 14.0M free. Jun 12 22:01:53.445244 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'system journal clear'. Jun 12 22:01:54.040912 osdx osdx-coredump[4785]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Jun 12 22:01:54.050880 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'system coredump delete all'. Jun 12 22:01:54.931793 osdx OSDxCLI[16771]: User 'admin' entered the configuration menu. Jun 12 22:01:55.067621 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Jun 12 22:01:55.146977 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Jun 12 22:01:55.303379 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Jun 12 22:01:55.384735 osdx cfgd[1122]: [16771]Completed change to active configuration Jun 12 22:01:55.434809 osdx OSDxCLI[16771]: User 'admin' committed the configuration. Jun 12 22:01:55.460641 osdx OSDxCLI[16771]: User 'admin' left the configuration menu. Jun 12 22:01:55.633855 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Jun 12 22:01:55.801716 osdx OSDxCLI[16771]: 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'. Jun 12 22:01:55.975176 osdx OSDxCLI[16771]: User 'admin' entered the configuration menu. Jun 12 22:01:56.072190 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Jun 12 22:01:56.164637 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Jun 12 22:01:56.304785 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSDsRGdRi9qUCxBGSnYwxXDncXA1zAMuWuO-x8T5N_ANjgpyZW1vdGUuZG5zCi9kbnMtcXVlcnk''. Jun 12 22:01:56.384551 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns resolver local'. Jun 12 22:01:56.626899 osdx ca-certificates[4899]: Updating certificates in /etc/ssl/certs... Jun 12 22:01:57.429041 osdx ca-certificates[5882]: 1 added, 0 removed; done. Jun 12 22:01:57.433405 osdx ca-certificates[5889]: Running hooks in /etc/ca-certificates/update.d... Jun 12 22:01:57.437762 osdx ca-certificates[5891]: done. Jun 12 22:01:57.546015 osdx systemd[1]: Started DNSCrypt client proxy. Jun 12 22:01:57.548029 osdx cfgd[1122]: [16771]Completed change to active configuration Jun 12 22:01:57.551537 osdx OSDxCLI[16771]: User 'admin' committed the configuration. Jun 12 22:01:57.569534 osdx dnscrypt-proxy[5941]: [2024-06-12 22:01:57] [NOTICE] dnscrypt-proxy 2.0.45 Jun 12 22:01:57.569895 osdx dnscrypt-proxy[5941]: [2024-06-12 22:01:57] [NOTICE] Network connectivity detected Jun 12 22:01:57.569961 osdx dnscrypt-proxy[5941]: [2024-06-12 22:01:57] [NOTICE] Dropping privileges Jun 12 22:01:57.572905 osdx dnscrypt-proxy[5941]: [2024-06-12 22:01:57] [NOTICE] Network connectivity detected Jun 12 22:01:57.573123 osdx dnscrypt-proxy[5941]: [2024-06-12 22:01:57] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Jun 12 22:01:57.573234 osdx dnscrypt-proxy[5941]: [2024-06-12 22:01:57] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Jun 12 22:01:57.573374 osdx dnscrypt-proxy[5941]: [2024-06-12 22:01:57] [NOTICE] Firefox workaround initialized Jun 12 22:01:57.573477 osdx dnscrypt-proxy[5941]: [2024-06-12 22:01:57] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpRPlmWz] Jun 12 22:01:57.578610 osdx OSDxCLI[16771]: User 'admin' left the configuration menu. Jun 12 22:01:57.731652 osdx dnscrypt-proxy[5941]: [2024-06-12 22:01:57] [NOTICE] [RD] OK (DoH) - rtt: 123ms Jun 12 22:01:57.731652 osdx dnscrypt-proxy[5941]: [2024-06-12 22:01:57] [NOTICE] Server with the lowest initial latency: RD (rtt: 123ms) Jun 12 22:01:57.731652 osdx dnscrypt-proxy[5941]: [2024-06-12 22:01:57] [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-06-12 22:02:06 UTC, end at Wed 2024-06-12 22:02:11 UTC. -- Jun 12 22:02:06.416069 osdx systemd-journald[1508]: Runtime journal (/run/log/journal/f8d19df27e8d4f24a0b0e24ed9aec425) is 2.0M, max 16.0M, 14.0M free. Jun 12 22:02:06.447050 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'system journal clear'. Jun 12 22:02:07.094678 osdx osdx-coredump[7597]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Jun 12 22:02:07.102970 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'system coredump delete all'. Jun 12 22:02:08.120923 osdx OSDxCLI[16771]: User 'admin' entered the configuration menu. Jun 12 22:02:08.234704 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Jun 12 22:02:08.346236 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Jun 12 22:02:08.499857 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Jun 12 22:02:08.591238 osdx cfgd[1122]: [16771]Completed change to active configuration Jun 12 22:02:08.629856 osdx OSDxCLI[16771]: User 'admin' committed the configuration. Jun 12 22:02:08.692298 osdx OSDxCLI[16771]: User 'admin' left the configuration menu. Jun 12 22:02:08.860287 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Jun 12 22:02:09.009351 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'. Jun 12 22:02:09.208430 osdx OSDxCLI[16771]: User 'admin' entered the configuration menu. Jun 12 22:02:09.341033 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Jun 12 22:02:09.472134 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Jun 12 22:02:09.605358 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt ip 10.215.168.1'. Jun 12 22:02:09.757892 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt port 8443'. Jun 12 22:02:09.878927 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider name 2.dnscrypt-cert.remote.dns'. Jun 12 22:02:10.030144 osdx OSDxCLI[16771]: 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'. Jun 12 22:02:10.113993 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns resolver local'. Jun 12 22:02:10.279241 osdx ca-certificates[7712]: Updating certificates in /etc/ssl/certs... Jun 12 22:02:11.001053 osdx ca-certificates[8697]: 1 added, 0 removed; done. Jun 12 22:02:11.007768 osdx ca-certificates[8703]: Running hooks in /etc/ca-certificates/update.d... Jun 12 22:02:11.013984 osdx ca-certificates[8705]: done. Jun 12 22:02:11.137951 osdx systemd[1]: Started DNSCrypt client proxy. Jun 12 22:02:11.140033 osdx cfgd[1122]: [16771]Completed change to active configuration Jun 12 22:02:11.143706 osdx OSDxCLI[16771]: User 'admin' committed the configuration. Jun 12 22:02:11.160439 osdx dnscrypt-proxy[8755]: [2024-06-12 22:02:11] [NOTICE] dnscrypt-proxy 2.0.45 Jun 12 22:02:11.160788 osdx dnscrypt-proxy[8755]: [2024-06-12 22:02:11] [NOTICE] Network connectivity detected Jun 12 22:02:11.160845 osdx dnscrypt-proxy[8755]: [2024-06-12 22:02:11] [NOTICE] Dropping privileges Jun 12 22:02:11.163614 osdx dnscrypt-proxy[8755]: [2024-06-12 22:02:11] [NOTICE] Network connectivity detected Jun 12 22:02:11.163714 osdx dnscrypt-proxy[8755]: [2024-06-12 22:02:11] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Jun 12 22:02:11.163714 osdx dnscrypt-proxy[8755]: [2024-06-12 22:02:11] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Jun 12 22:02:11.163714 osdx dnscrypt-proxy[8755]: [2024-06-12 22:02:11] [NOTICE] Firefox workaround initialized Jun 12 22:02:11.163714 osdx dnscrypt-proxy[8755]: [2024-06-12 22:02:11] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpyxbm9R] Jun 12 22:02:11.164560 osdx dnscrypt-proxy[8755]: [2024-06-12 22:02:11] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms Jun 12 22:02:11.164560 osdx dnscrypt-proxy[8755]: [2024-06-12 22:02:11] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms) Jun 12 22:02:11.164677 osdx dnscrypt-proxy[8755]: [2024-06-12 22:02:11] [NOTICE] dnscrypt-proxy is ready - live servers: 1 Jun 12 22:02:11.176819 osdx OSDxCLI[16771]: 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-06-12 22:02:19 UTC, end at Wed 2024-06-12 22:02:23 UTC. -- Jun 12 22:02:19.444451 osdx systemd-journald[1508]: Runtime journal (/run/log/journal/f8d19df27e8d4f24a0b0e24ed9aec425) is 2.0M, max 16.0M, 14.0M free. Jun 12 22:02:19.466104 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'system journal clear'. Jun 12 22:02:20.086522 osdx osdx-coredump[10406]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Jun 12 22:02:20.095172 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'system coredump delete all'. Jun 12 22:02:20.932336 osdx OSDxCLI[16771]: User 'admin' entered the configuration menu. Jun 12 22:02:21.066602 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Jun 12 22:02:21.157171 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Jun 12 22:02:21.312853 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Jun 12 22:02:21.413005 osdx cfgd[1122]: [16771]Completed change to active configuration Jun 12 22:02:21.453131 osdx OSDxCLI[16771]: User 'admin' committed the configuration. Jun 12 22:02:21.491374 osdx OSDxCLI[16771]: User 'admin' left the configuration menu. Jun 12 22:02:21.681709 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Jun 12 22:02:21.835833 osdx OSDxCLI[16771]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'. Jun 12 22:02:22.015844 osdx OSDxCLI[16771]: 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'. Jun 12 22:02:22.244730 osdx OSDxCLI[16771]: User 'admin' entered the configuration menu. Jun 12 22:02:22.379855 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Jun 12 22:02:22.524085 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Jun 12 22:02:22.670122 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIIIfiVICk4r3iwmI8qLgFgZDXMtmY1cDkgL06zOI-FsrGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z''. Jun 12 22:02:22.817103 osdx OSDxCLI[16771]: User 'admin' added a new cfg line: 'set service dns resolver local'. Jun 12 22:02:22.968392 osdx ca-certificates[10522]: Updating certificates in /etc/ssl/certs... Jun 12 22:02:23.707757 osdx ca-certificates[11506]: 1 added, 0 removed; done. Jun 12 22:02:23.712377 osdx ca-certificates[11512]: Running hooks in /etc/ca-certificates/update.d... Jun 12 22:02:23.716920 osdx ca-certificates[11514]: done. Jun 12 22:02:23.846516 osdx systemd[1]: Started DNSCrypt client proxy. Jun 12 22:02:23.848503 osdx cfgd[1122]: [16771]Completed change to active configuration Jun 12 22:02:23.862757 osdx OSDxCLI[16771]: User 'admin' committed the configuration. Jun 12 22:02:23.875177 osdx dnscrypt-proxy[11564]: [2024-06-12 22:02:23] [NOTICE] dnscrypt-proxy 2.0.45 Jun 12 22:02:23.875517 osdx dnscrypt-proxy[11564]: [2024-06-12 22:02:23] [NOTICE] Network connectivity detected Jun 12 22:02:23.875677 osdx dnscrypt-proxy[11564]: [2024-06-12 22:02:23] [NOTICE] Dropping privileges Jun 12 22:02:23.878954 osdx dnscrypt-proxy[11564]: [2024-06-12 22:02:23] [NOTICE] Network connectivity detected Jun 12 22:02:23.878954 osdx dnscrypt-proxy[11564]: [2024-06-12 22:02:23] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Jun 12 22:02:23.879093 osdx dnscrypt-proxy[11564]: [2024-06-12 22:02:23] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Jun 12 22:02:23.879093 osdx dnscrypt-proxy[11564]: [2024-06-12 22:02:23] [NOTICE] Firefox workaround initialized Jun 12 22:02:23.879093 osdx dnscrypt-proxy[11564]: [2024-06-12 22:02:23] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpThmrvy] Jun 12 22:02:23.879762 osdx dnscrypt-proxy[11564]: [2024-06-12 22:02:23] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms Jun 12 22:02:23.879856 osdx dnscrypt-proxy[11564]: [2024-06-12 22:02:23] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms) Jun 12 22:02:23.879927 osdx dnscrypt-proxy[11564]: [2024-06-12 22:02:23] [NOTICE] dnscrypt-proxy is ready - live servers: 1 Jun 12 22:02:23.896618 osdx OSDxCLI[16771]: 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