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 Thu 2024-10-10 07:22:04 UTC, end at Thu 2024-10-10 07:22:08 UTC. -- Oct 10 07:22:04.315694 osdx systemd-journald[1707]: Runtime journal (/run/log/journal/0478719b9ca24dfc881db6c3460ca916) is 2.0M, max 16.0M, 14.0M free. Oct 10 07:22:04.341855 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system journal clear'. Oct 10 07:22:04.747458 osdx osdx-coredump[24958]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Oct 10 07:22:04.753278 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system coredump delete all'. Oct 10 07:22:05.315751 osdx OSDxCLI[22192]: User 'admin' entered the configuration menu. Oct 10 07:22:05.383461 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Oct 10 07:22:05.469794 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Oct 10 07:22:05.545421 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Oct 10 07:22:05.599610 osdx cfgd[1323]: [22192]Completed change to active configuration Oct 10 07:22:05.626232 osdx OSDxCLI[22192]: User 'admin' committed the configuration. Oct 10 07:22:05.641037 osdx OSDxCLI[22192]: User 'admin' left the configuration menu. Oct 10 07:22:05.772523 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Oct 10 07:22:05.926535 osdx OSDxCLI[22192]: User 'admin' entered the configuration menu. Oct 10 07:22:05.982246 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Oct 10 07:22:06.075636 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Oct 10 07:22:06.143543 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https host name remote.dns'. Oct 10 07:22:06.225598 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https ip 10.215.168.1'. Oct 10 07:22:06.282158 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https hash f8bc50bc5ac15ce0f76e30e6a004a073889a788f693866f15b90a61d26d26c4f'. Oct 10 07:22:06.371916 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns resolver local'. Oct 10 07:22:06.461687 osdx ca-certificates[25070]: Updating certificates in /etc/ssl/certs... Oct 10 07:22:06.906480 osdx ca-certificates[26055]: 1 added, 0 removed; done. Oct 10 07:22:06.909565 osdx ca-certificates[26061]: Running hooks in /etc/ca-certificates/update.d... Oct 10 07:22:06.912620 osdx ca-certificates[26063]: done. Oct 10 07:22:06.990951 osdx systemd[1]: Started DNSCrypt client proxy. Oct 10 07:22:06.992552 osdx cfgd[1323]: [22192]Completed change to active configuration Oct 10 07:22:06.995146 osdx OSDxCLI[22192]: User 'admin' committed the configuration. Oct 10 07:22:07.006127 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:07] [NOTICE] dnscrypt-proxy 2.0.45 Oct 10 07:22:07.006127 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:07] [NOTICE] Network connectivity detected Oct 10 07:22:07.006414 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:07] [NOTICE] Dropping privileges Oct 10 07:22:07.008587 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:07] [NOTICE] Network connectivity detected Oct 10 07:22:07.008657 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:07] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Oct 10 07:22:07.008657 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:07] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Oct 10 07:22:07.008657 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:07] [NOTICE] Firefox workaround initialized Oct 10 07:22:07.008657 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:07] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpfXz5T8] Oct 10 07:22:07.011991 osdx OSDxCLI[22192]: User 'admin' left the configuration menu. Oct 10 07:22:07.156993 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system journal show | cat'. Oct 10 07:22:07.369329 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system journal show | cat'. Oct 10 07:22:07.574929 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system journal show | cat'. Oct 10 07:22:07.791360 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system journal show | cat'. Oct 10 07:22:07.977870 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system journal show | cat'. Oct 10 07:22:08.039183 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:08] [CRITICAL] [RD] may be a lying resolver Oct 10 07:22:08.039183 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:08] [NOTICE] [RD] OK (DoH) - rtt: 1008ms Oct 10 07:22:08.039183 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:08] [NOTICE] Server with the lowest initial latency: RD (rtt: 1008ms) Oct 10 07:22:08.039183 osdx dnscrypt-proxy[26113]: [2024-10-10 07:22:08] [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 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 Thu 2024-10-10 07:22:13 UTC, end at Thu 2024-10-10 07:22:16 UTC. -- Oct 10 07:22:13.280631 osdx systemd-journald[1707]: Runtime journal (/run/log/journal/0478719b9ca24dfc881db6c3460ca916) is 2.0M, max 16.0M, 14.0M free. Oct 10 07:22:13.294573 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system journal clear'. Oct 10 07:22:13.685444 osdx osdx-coredump[27789]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Oct 10 07:22:13.691374 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system coredump delete all'. Oct 10 07:22:14.289058 osdx OSDxCLI[22192]: User 'admin' entered the configuration menu. Oct 10 07:22:14.353352 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Oct 10 07:22:14.443289 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Oct 10 07:22:14.517540 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Oct 10 07:22:14.575223 osdx cfgd[1323]: [22192]Completed change to active configuration Oct 10 07:22:14.603033 osdx OSDxCLI[22192]: User 'admin' committed the configuration. Oct 10 07:22:14.619029 osdx OSDxCLI[22192]: User 'admin' left the configuration menu. Oct 10 07:22:14.754504 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Oct 10 07:22:14.885959 osdx OSDxCLI[22192]: 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 10 07:22:15.037508 osdx OSDxCLI[22192]: User 'admin' entered the configuration menu. Oct 10 07:22:15.113148 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Oct 10 07:22:15.240562 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Oct 10 07:22:15.319606 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSD4vFC8WsFc4PduMOagBKBziJp4j2k4ZvFbkKYdJtJsTwpyZW1vdGUuZG5zCi9kbnMtcXVlcnk''. Oct 10 07:22:15.414346 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns resolver local'. Oct 10 07:22:15.505221 osdx ca-certificates[27902]: Updating certificates in /etc/ssl/certs... Oct 10 07:22:15.939078 osdx ca-certificates[28886]: 1 added, 0 removed; done. Oct 10 07:22:15.943146 osdx ca-certificates[28893]: Running hooks in /etc/ca-certificates/update.d... Oct 10 07:22:15.947288 osdx ca-certificates[28895]: done. Oct 10 07:22:16.027061 osdx systemd[1]: Started DNSCrypt client proxy. Oct 10 07:22:16.028166 osdx cfgd[1323]: [22192]Completed change to active configuration Oct 10 07:22:16.030831 osdx OSDxCLI[22192]: User 'admin' committed the configuration. Oct 10 07:22:16.042063 osdx dnscrypt-proxy[28945]: [2024-10-10 07:22:16] [NOTICE] dnscrypt-proxy 2.0.45 Oct 10 07:22:16.042250 osdx dnscrypt-proxy[28945]: [2024-10-10 07:22:16] [NOTICE] Network connectivity detected Oct 10 07:22:16.042475 osdx dnscrypt-proxy[28945]: [2024-10-10 07:22:16] [NOTICE] Dropping privileges Oct 10 07:22:16.045088 osdx dnscrypt-proxy[28945]: [2024-10-10 07:22:16] [NOTICE] Network connectivity detected Oct 10 07:22:16.045181 osdx dnscrypt-proxy[28945]: [2024-10-10 07:22:16] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Oct 10 07:22:16.045222 osdx dnscrypt-proxy[28945]: [2024-10-10 07:22:16] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Oct 10 07:22:16.048267 osdx dnscrypt-proxy[28945]: [2024-10-10 07:22:16] [NOTICE] Firefox workaround initialized Oct 10 07:22:16.048509 osdx OSDxCLI[22192]: User 'admin' left the configuration menu. Oct 10 07:22:16.048849 osdx dnscrypt-proxy[28945]: [2024-10-10 07:22:16] [NOTICE] Loading the set of cloaking rules from [/tmp/tmp_rJaBf] Oct 10 07:22:16.183329 osdx dnscrypt-proxy[28945]: [2024-10-10 07:22:16] [NOTICE] [RD] OK (DoH) - rtt: 110ms Oct 10 07:22:16.183329 osdx dnscrypt-proxy[28945]: [2024-10-10 07:22:16] [NOTICE] Server with the lowest initial latency: RD (rtt: 110ms) Oct 10 07:22:16.183329 osdx dnscrypt-proxy[28945]: [2024-10-10 07:22:16] [NOTICE] dnscrypt-proxy is ready - live servers: 1 Oct 10 07:22:16.184081 osdx OSDxCLI[22192]: 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.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
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 Thu 2024-10-10 07:22:22 UTC, end at Thu 2024-10-10 07:22:25 UTC. -- Oct 10 07:22:22.290202 osdx systemd-journald[1707]: Runtime journal (/run/log/journal/0478719b9ca24dfc881db6c3460ca916) is 2.0M, max 16.0M, 14.0M free. Oct 10 07:22:22.311183 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system journal clear'. Oct 10 07:22:22.703019 osdx osdx-coredump[30601]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Oct 10 07:22:22.709003 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system coredump delete all'. Oct 10 07:22:23.243941 osdx OSDxCLI[22192]: User 'admin' entered the configuration menu. Oct 10 07:22:23.313423 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Oct 10 07:22:23.428320 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Oct 10 07:22:23.506021 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Oct 10 07:22:23.568275 osdx cfgd[1323]: [22192]Completed change to active configuration Oct 10 07:22:23.602086 osdx OSDxCLI[22192]: User 'admin' committed the configuration. Oct 10 07:22:23.619288 osdx OSDxCLI[22192]: User 'admin' left the configuration menu. Oct 10 07:22:23.760730 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Oct 10 07:22:23.863602 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'. Oct 10 07:22:23.996682 osdx OSDxCLI[22192]: User 'admin' entered the configuration menu. Oct 10 07:22:24.055472 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Oct 10 07:22:24.141901 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Oct 10 07:22:24.200353 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt ip 10.215.168.1'. Oct 10 07:22:24.292929 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt port 8443'. Oct 10 07:22:24.349534 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider name 2.dnscrypt-cert.remote.dns'. Oct 10 07:22:24.445252 osdx OSDxCLI[22192]: 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 10 07:22:24.490746 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns resolver local'. Oct 10 07:22:24.618887 osdx ca-certificates[30716]: Updating certificates in /etc/ssl/certs... Oct 10 07:22:25.035664 osdx ca-certificates[31701]: 1 added, 0 removed; done. Oct 10 07:22:25.038528 osdx ca-certificates[31707]: Running hooks in /etc/ca-certificates/update.d... Oct 10 07:22:25.041271 osdx ca-certificates[31709]: done. Oct 10 07:22:25.113691 osdx systemd[1]: Started DNSCrypt client proxy. Oct 10 07:22:25.115285 osdx cfgd[1323]: [22192]Completed change to active configuration Oct 10 07:22:25.117719 osdx OSDxCLI[22192]: User 'admin' committed the configuration. Oct 10 07:22:25.127973 osdx dnscrypt-proxy[31759]: [2024-10-10 07:22:25] [NOTICE] dnscrypt-proxy 2.0.45 Oct 10 07:22:25.128176 osdx dnscrypt-proxy[31759]: [2024-10-10 07:22:25] [NOTICE] Network connectivity detected Oct 10 07:22:25.128256 osdx dnscrypt-proxy[31759]: [2024-10-10 07:22:25] [NOTICE] Dropping privileges Oct 10 07:22:25.130145 osdx dnscrypt-proxy[31759]: [2024-10-10 07:22:25] [NOTICE] Network connectivity detected Oct 10 07:22:25.130182 osdx dnscrypt-proxy[31759]: [2024-10-10 07:22:25] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Oct 10 07:22:25.130182 osdx dnscrypt-proxy[31759]: [2024-10-10 07:22:25] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Oct 10 07:22:25.130225 osdx dnscrypt-proxy[31759]: [2024-10-10 07:22:25] [NOTICE] Firefox workaround initialized Oct 10 07:22:25.130225 osdx dnscrypt-proxy[31759]: [2024-10-10 07:22:25] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpypmoCS] Oct 10 07:22:25.130758 osdx dnscrypt-proxy[31759]: [2024-10-10 07:22:25] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms Oct 10 07:22:25.130818 osdx dnscrypt-proxy[31759]: [2024-10-10 07:22:25] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms) Oct 10 07:22:25.130818 osdx dnscrypt-proxy[31759]: [2024-10-10 07:22:25] [NOTICE] dnscrypt-proxy is ready - live servers: 1 Oct 10 07:22:25.133305 osdx OSDxCLI[22192]: 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
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 Thu 2024-10-10 07:22:30 UTC, end at Thu 2024-10-10 07:22:32 UTC. -- Oct 10 07:22:30.321672 osdx systemd-journald[1707]: Runtime journal (/run/log/journal/0478719b9ca24dfc881db6c3460ca916) is 2.0M, max 16.0M, 14.0M free. Oct 10 07:22:30.340244 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system journal clear'. Oct 10 07:22:30.714512 osdx osdx-coredump[949]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Oct 10 07:22:30.720759 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'system coredump delete all'. Oct 10 07:22:31.271409 osdx OSDxCLI[22192]: User 'admin' entered the configuration menu. Oct 10 07:22:31.333865 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Oct 10 07:22:31.417775 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Oct 10 07:22:31.487851 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Oct 10 07:22:31.547306 osdx cfgd[1323]: [22192]Completed change to active configuration Oct 10 07:22:31.581114 osdx OSDxCLI[22192]: User 'admin' committed the configuration. Oct 10 07:22:31.599590 osdx OSDxCLI[22192]: User 'admin' left the configuration menu. Oct 10 07:22:31.729689 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Oct 10 07:22:31.816751 osdx OSDxCLI[22192]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'. Oct 10 07:22:31.897421 osdx OSDxCLI[22192]: 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 10 07:22:32.050373 osdx OSDxCLI[22192]: User 'admin' entered the configuration menu. Oct 10 07:22:32.105098 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Oct 10 07:22:32.190202 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Oct 10 07:22:32.257761 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIJFa-O8D858C83vc8QKBvj_p6FQs5860T8kwWKpqzxnlGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z''. Oct 10 07:22:32.346140 osdx OSDxCLI[22192]: User 'admin' added a new cfg line: 'set service dns resolver local'. Oct 10 07:22:32.432822 osdx ca-certificates[1064]: Updating certificates in /etc/ssl/certs... Oct 10 07:22:32.870948 osdx ca-certificates[2078]: 1 added, 0 removed; done. Oct 10 07:22:32.876200 osdx ca-certificates[2084]: Running hooks in /etc/ca-certificates/update.d... Oct 10 07:22:32.880515 osdx ca-certificates[2086]: done. Oct 10 07:22:32.963762 osdx systemd[1]: Started DNSCrypt client proxy. Oct 10 07:22:32.965387 osdx cfgd[1323]: [22192]Completed change to active configuration Oct 10 07:22:32.968364 osdx OSDxCLI[22192]: User 'admin' committed the configuration. Oct 10 07:22:32.979753 osdx dnscrypt-proxy[2136]: [2024-10-10 07:22:32] [NOTICE] dnscrypt-proxy 2.0.45 Oct 10 07:22:32.980004 osdx dnscrypt-proxy[2136]: [2024-10-10 07:22:32] [NOTICE] Network connectivity detected Oct 10 07:22:32.980099 osdx dnscrypt-proxy[2136]: [2024-10-10 07:22:32] [NOTICE] Dropping privileges Oct 10 07:22:32.982065 osdx dnscrypt-proxy[2136]: [2024-10-10 07:22:32] [NOTICE] Network connectivity detected Oct 10 07:22:32.982138 osdx dnscrypt-proxy[2136]: [2024-10-10 07:22:32] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Oct 10 07:22:32.982138 osdx dnscrypt-proxy[2136]: [2024-10-10 07:22:32] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Oct 10 07:22:32.982138 osdx dnscrypt-proxy[2136]: [2024-10-10 07:22:32] [NOTICE] Firefox workaround initialized Oct 10 07:22:32.982138 osdx dnscrypt-proxy[2136]: [2024-10-10 07:22:32] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpYZg0ZA] Oct 10 07:22:32.983624 osdx dnscrypt-proxy[2136]: [2024-10-10 07:22:32] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms Oct 10 07:22:32.983624 osdx dnscrypt-proxy[2136]: [2024-10-10 07:22:32] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms) Oct 10 07:22:32.983624 osdx dnscrypt-proxy[2136]: [2024-10-10 07:22:32] [NOTICE] dnscrypt-proxy is ready - live servers: 1 Oct 10 07:22:32.984149 osdx OSDxCLI[22192]: 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