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 563c4f02c5ec6eb3d02a1ff7b1e2ca38884464e5e7e227ba087ee6524ee6fbac 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 2023-12-13 00:57:59 UTC, end at Wed 2023-12-13 00:58:03 UTC. -- Dec 13 00:57:59.371207 osdx systemd-journald[1450]: Runtime journal (/run/log/journal/fa37e9b1f0b54640986d40edb905b319) is 4.0M, max 16.0M, 12.0M free. Dec 13 00:57:59.385656 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'system journal clear'. Dec 13 00:57:59.920448 osdx osdx-coredump[1134]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Dec 13 00:57:59.928376 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'system coredump delete all'. Dec 13 00:58:00.842416 osdx OSDxCLI[28897]: User 'admin' entered the configuration menu. Dec 13 00:58:00.969829 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Dec 13 00:58:01.076052 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Dec 13 00:58:01.253623 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Dec 13 00:58:01.355720 osdx cfgd[1102]: [28897]Completed change to active configuration Dec 13 00:58:01.406061 osdx OSDxCLI[28897]: User 'admin' committed the configuration. Dec 13 00:58:01.452492 osdx OSDxCLI[28897]: User 'admin' left the configuration menu. Dec 13 00:58:01.628566 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Dec 13 00:58:01.807606 osdx OSDxCLI[28897]: User 'admin' entered the configuration menu. Dec 13 00:58:01.906513 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Dec 13 00:58:02.031429 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Dec 13 00:58:02.139208 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https host name remote.dns'. Dec 13 00:58:02.222487 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https ip 10.215.168.1'. Dec 13 00:58:02.383021 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-over-https hash 563c4f02c5ec6eb3d02a1ff7b1e2ca38884464e5e7e227ba087ee6524ee6fbac'. Dec 13 00:58:02.472133 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns resolver local'. Dec 13 00:58:02.596765 osdx ca-certificates[1276]: Updating certificates in /etc/ssl/certs... Dec 13 00:58:03.220103 osdx ca-certificates[2266]: 1 added, 0 removed; done. Dec 13 00:58:03.226042 osdx ca-certificates[2270]: Running hooks in /etc/ca-certificates/update.d... Dec 13 00:58:03.231257 osdx ca-certificates[2274]: done. Dec 13 00:58:03.338100 osdx systemd[1]: Started DNSCrypt client proxy. Dec 13 00:58:03.341454 osdx cfgd[1102]: [28897]Completed change to active configuration Dec 13 00:58:03.350926 osdx OSDxCLI[28897]: User 'admin' committed the configuration. Dec 13 00:58:03.366698 osdx dnscrypt-proxy[2324]: [2023-12-13 00:58:03] [NOTICE] dnscrypt-proxy 2.0.45 Dec 13 00:58:03.367076 osdx dnscrypt-proxy[2324]: [2023-12-13 00:58:03] [NOTICE] Network connectivity detected Dec 13 00:58:03.367750 osdx dnscrypt-proxy[2324]: [2023-12-13 00:58:03] [NOTICE] Dropping privileges Dec 13 00:58:03.369966 osdx dnscrypt-proxy[2324]: [2023-12-13 00:58:03] [NOTICE] Network connectivity detected Dec 13 00:58:03.370107 osdx dnscrypt-proxy[2324]: [2023-12-13 00:58:03] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Dec 13 00:58:03.370191 osdx dnscrypt-proxy[2324]: [2023-12-13 00:58:03] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Dec 13 00:58:03.370288 osdx dnscrypt-proxy[2324]: [2023-12-13 00:58:03] [NOTICE] Firefox workaround initialized Dec 13 00:58:03.370367 osdx dnscrypt-proxy[2324]: [2023-12-13 00:58:03] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpswN9Ki] Dec 13 00:58:03.385025 osdx OSDxCLI[28897]: User 'admin' left the configuration menu. Dec 13 00:58:03.571115 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'system journal show | cat'. Dec 13 00:58:03.605989 osdx dnscrypt-proxy[2324]: [2023-12-13 00:58:03] [NOTICE] [RD] OK (DoH) - rtt: 199ms Dec 13 00:58:03.605989 osdx dnscrypt-proxy[2324]: [2023-12-13 00:58:03] [NOTICE] Server with the lowest initial latency: RD (rtt: 199ms) Dec 13 00:58:03.605989 osdx dnscrypt-proxy[2324]: [2023-12-13 00:58:03] [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 563c4f02c5ec6eb3d02a1ff7b1e2ca38884464e5e7e227ba087ee6524ee6fbac
at DUT0
and expect this output:
Show output
sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSBWPE8Cxexus9AqH_ex4so4iERk5efiJ7oIfuZSTub7rApyZW1vdGUuZG5zCi9kbnMtcXVlcnk
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://AgAAAAAAAAAADDEwLjIxNS4xNjguMSBWPE8Cxexus9AqH_ex4so4iERk5efiJ7oIfuZSTub7rApyZW1vdGUuZG5zCi9kbnMtcXVlcnk' 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 2023-12-13 00:58:11 UTC, end at Wed 2023-12-13 00:58:15 UTC. -- Dec 13 00:58:11.389953 osdx systemd-journald[1450]: Runtime journal (/run/log/journal/fa37e9b1f0b54640986d40edb905b319) is 2.0M, max 16.0M, 14.0M free. Dec 13 00:58:11.404387 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'system journal clear'. Dec 13 00:58:12.059848 osdx osdx-coredump[3972]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Dec 13 00:58:12.070487 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'system coredump delete all'. Dec 13 00:58:12.971019 osdx OSDxCLI[28897]: User 'admin' entered the configuration menu. Dec 13 00:58:13.086305 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Dec 13 00:58:13.181223 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Dec 13 00:58:13.334020 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Dec 13 00:58:13.466887 osdx cfgd[1102]: [28897]Completed change to active configuration Dec 13 00:58:13.533129 osdx OSDxCLI[28897]: User 'admin' committed the configuration. Dec 13 00:58:13.566613 osdx OSDxCLI[28897]: User 'admin' left the configuration menu. Dec 13 00:58:13.778194 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Dec 13 00:58:14.014476 osdx OSDxCLI[28897]: 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 563c4f02c5ec6eb3d02a1ff7b1e2ca38884464e5e7e227ba087ee6524ee6fbac'. Dec 13 00:58:14.228246 osdx OSDxCLI[28897]: User 'admin' entered the configuration menu. Dec 13 00:58:14.344961 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Dec 13 00:58:14.461670 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Dec 13 00:58:14.578532 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AgAAAAAAAAAADDEwLjIxNS4xNjguMSBWPE8Cxexus9AqH_ex4so4iERk5efiJ7oIfuZSTub7rApyZW1vdGUuZG5zCi9kbnMtcXVlcnk''. Dec 13 00:58:14.681823 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns resolver local'. Dec 13 00:58:14.840096 osdx ca-certificates[4109]: Updating certificates in /etc/ssl/certs... Dec 13 00:58:15.461852 osdx ca-certificates[5093]: 1 added, 0 removed; done. Dec 13 00:58:15.467658 osdx ca-certificates[5097]: Running hooks in /etc/ca-certificates/update.d... Dec 13 00:58:15.472977 osdx ca-certificates[5101]: done. Dec 13 00:58:15.573135 osdx systemd[1]: Started DNSCrypt client proxy. Dec 13 00:58:15.575833 osdx cfgd[1102]: [28897]Completed change to active configuration Dec 13 00:58:15.583453 osdx OSDxCLI[28897]: User 'admin' committed the configuration. Dec 13 00:58:15.604663 osdx dnscrypt-proxy[5151]: [2023-12-13 00:58:15] [NOTICE] dnscrypt-proxy 2.0.45 Dec 13 00:58:15.605046 osdx dnscrypt-proxy[5151]: [2023-12-13 00:58:15] [NOTICE] Network connectivity detected Dec 13 00:58:15.605640 osdx dnscrypt-proxy[5151]: [2023-12-13 00:58:15] [NOTICE] Dropping privileges Dec 13 00:58:15.607794 osdx dnscrypt-proxy[5151]: [2023-12-13 00:58:15] [NOTICE] Network connectivity detected Dec 13 00:58:15.607933 osdx dnscrypt-proxy[5151]: [2023-12-13 00:58:15] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Dec 13 00:58:15.608016 osdx dnscrypt-proxy[5151]: [2023-12-13 00:58:15] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Dec 13 00:58:15.608107 osdx dnscrypt-proxy[5151]: [2023-12-13 00:58:15] [NOTICE] Firefox workaround initialized Dec 13 00:58:15.608182 osdx dnscrypt-proxy[5151]: [2023-12-13 00:58:15] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpT71wte] Dec 13 00:58:15.617794 osdx OSDxCLI[28897]: User 'admin' left the configuration menu. Dec 13 00:58:15.794409 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'system journal show | cat'. Dec 13 00:58:15.862664 osdx dnscrypt-proxy[5151]: [2023-12-13 00:58:15] [NOTICE] [RD] OK (DoH) - rtt: 218ms Dec 13 00:58:15.862664 osdx dnscrypt-proxy[5151]: [2023-12-13 00:58:15] [NOTICE] Server with the lowest initial latency: RD (rtt: 218ms) Dec 13 00:58:15.862664 osdx dnscrypt-proxy[5151]: [2023-12-13 00:58:15] [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
7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f
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 7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f 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 2023-12-13 00:58:23 UTC, end at Wed 2023-12-13 00:58:27 UTC. -- Dec 13 00:58:23.384103 osdx systemd-journald[1450]: Runtime journal (/run/log/journal/fa37e9b1f0b54640986d40edb905b319) is 2.0M, max 16.0M, 14.0M free. Dec 13 00:58:23.399171 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'system journal clear'. Dec 13 00:58:23.976779 osdx osdx-coredump[6800]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Dec 13 00:58:23.984756 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'system coredump delete all'. Dec 13 00:58:24.901574 osdx OSDxCLI[28897]: User 'admin' entered the configuration menu. Dec 13 00:58:25.027570 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Dec 13 00:58:25.133901 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Dec 13 00:58:25.293247 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Dec 13 00:58:25.388151 osdx cfgd[1102]: [28897]Completed change to active configuration Dec 13 00:58:25.412517 osdx zebra[1040]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]): Dec 13 00:58:25.432392 osdx OSDxCLI[28897]: User 'admin' committed the configuration. Dec 13 00:58:25.459439 osdx OSDxCLI[28897]: User 'admin' left the configuration menu. Dec 13 00:58:25.626555 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Dec 13 00:58:25.757759 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'. Dec 13 00:58:25.927798 osdx OSDxCLI[28897]: User 'admin' entered the configuration menu. Dec 13 00:58:26.025872 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Dec 13 00:58:26.141422 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Dec 13 00:58:26.240925 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt ip 10.215.168.1'. Dec 13 00:58:26.335263 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt port 8443'. Dec 13 00:58:26.431321 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider name 2.dnscrypt-cert.remote.dns'. Dec 13 00:58:26.527076 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy static RD protocol dns-crypt provider public-key 7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f'. Dec 13 00:58:26.632807 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns resolver local'. Dec 13 00:58:26.789842 osdx ca-certificates[6939]: Updating certificates in /etc/ssl/certs... Dec 13 00:58:27.484344 osdx ca-certificates[7923]: 1 added, 0 removed; done. Dec 13 00:58:27.490176 osdx ca-certificates[7927]: Running hooks in /etc/ca-certificates/update.d... Dec 13 00:58:27.495320 osdx ca-certificates[7931]: done. Dec 13 00:58:27.604286 osdx systemd[1]: Started DNSCrypt client proxy. Dec 13 00:58:27.607071 osdx cfgd[1102]: [28897]Completed change to active configuration Dec 13 00:58:27.614709 osdx OSDxCLI[28897]: User 'admin' committed the configuration. Dec 13 00:58:27.634108 osdx dnscrypt-proxy[7981]: [2023-12-13 00:58:27] [NOTICE] dnscrypt-proxy 2.0.45 Dec 13 00:58:27.634502 osdx dnscrypt-proxy[7981]: [2023-12-13 00:58:27] [NOTICE] Network connectivity detected Dec 13 00:58:27.635097 osdx dnscrypt-proxy[7981]: [2023-12-13 00:58:27] [NOTICE] Dropping privileges Dec 13 00:58:27.637417 osdx dnscrypt-proxy[7981]: [2023-12-13 00:58:27] [NOTICE] Network connectivity detected Dec 13 00:58:27.637576 osdx dnscrypt-proxy[7981]: [2023-12-13 00:58:27] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Dec 13 00:58:27.637673 osdx dnscrypt-proxy[7981]: [2023-12-13 00:58:27] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Dec 13 00:58:27.637766 osdx dnscrypt-proxy[7981]: [2023-12-13 00:58:27] [NOTICE] Firefox workaround initialized Dec 13 00:58:27.637844 osdx dnscrypt-proxy[7981]: [2023-12-13 00:58:27] [NOTICE] Loading the set of cloaking rules from [/tmp/tmplcuBuY] Dec 13 00:58:27.639158 osdx dnscrypt-proxy[7981]: [2023-12-13 00:58:27] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms Dec 13 00:58:27.639254 osdx dnscrypt-proxy[7981]: [2023-12-13 00:58:27] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms) Dec 13 00:58:27.639334 osdx dnscrypt-proxy[7981]: [2023-12-13 00:58:27] [NOTICE] dnscrypt-proxy is ready - live servers: 1 Dec 13 00:58:27.650822 osdx OSDxCLI[28897]: 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
7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f
Step 2: Run command service dns proxy stamp calculate dns-crypt provider-name 2.dnscrypt-cert.remote.dns provider-key 7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f ip 10.215.168.1 port 8443
at DUT0
and expect this output:
Show output
sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIHs0NMuQVuVoH0klX7xe7_onkRWUO88bWP8X3rHjTNqPGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z
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://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIHs0NMuQVuVoH0klX7xe7_onkRWUO88bWP8X3rHjTNqPGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z' 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 2023-12-13 00:58:36 UTC, end at Wed 2023-12-13 00:58:40 UTC. -- Dec 13 00:58:36.364617 osdx systemd-journald[1450]: Runtime journal (/run/log/journal/fa37e9b1f0b54640986d40edb905b319) is 2.0M, max 16.0M, 14.0M free. Dec 13 00:58:36.379215 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'system journal clear'. Dec 13 00:58:36.929648 osdx osdx-coredump[9624]: Deleting all coredumps in /opt/vyatta/etc/config/coredump... Dec 13 00:58:36.937566 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'system coredump delete all'. Dec 13 00:58:36.955538 osdx zebra[1040]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]): Dec 13 00:58:37.787101 osdx OSDxCLI[28897]: User 'admin' entered the configuration menu. Dec 13 00:58:37.913535 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.215.168.64/24'. Dec 13 00:58:38.006576 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set protocols static route 0.0.0.0/0 next-hop 10.215.168.1'. Dec 13 00:58:38.143750 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0 Dec 13 00:58:38.247834 osdx cfgd[1102]: [28897]Completed change to active configuration Dec 13 00:58:38.291424 osdx OSDxCLI[28897]: User 'admin' committed the configuration. Dec 13 00:58:38.337154 osdx OSDxCLI[28897]: User 'admin' left the configuration menu. Dec 13 00:58:38.537726 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'. Dec 13 00:58:38.697127 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'service dns proxy dnscrypt public-key running://dnscrypt.crt'. Dec 13 00:58:38.825223 osdx OSDxCLI[28897]: User 'admin' executed a new command: 'service dns proxy stamp calculate dns-crypt provider-name 2.dnscrypt-cert.remote.dns provider-key 7b:34:34:cb:90:56:e5:68:1f:49:25:5f:bc:5e:ef:fa:27:91:15:94:3b:cf:1b:58:ff:17:de:b1:e3:4c:da:8f ip 10.215.168.1 port 8443'. Dec 13 00:58:38.999431 osdx OSDxCLI[28897]: User 'admin' entered the configuration menu. Dec 13 00:58:39.101125 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set system certificate trust running://remote.dns-server.crt'. Dec 13 00:58:39.222972 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy server-name RD'. Dec 13 00:58:39.347958 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns proxy static RD stamp 'sdns://AQAAAAAAAAAAETEwLjIxNS4xNjguMTo4NDQzIHs0NMuQVuVoH0klX7xe7_onkRWUO88bWP8X3rHjTNqPGjIuZG5zY3J5cHQtY2VydC5yZW1vdGUuZG5z''. Dec 13 00:58:39.501649 osdx OSDxCLI[28897]: User 'admin' added a new cfg line: 'set service dns resolver local'. Dec 13 00:58:39.655001 osdx ca-certificates[9763]: Updating certificates in /etc/ssl/certs... Dec 13 00:58:40.379447 osdx ca-certificates[10747]: 1 added, 0 removed; done. Dec 13 00:58:40.388466 osdx ca-certificates[10751]: Running hooks in /etc/ca-certificates/update.d... Dec 13 00:58:40.395217 osdx ca-certificates[10755]: done. Dec 13 00:58:40.511507 osdx systemd[1]: Started DNSCrypt client proxy. Dec 13 00:58:40.515487 osdx cfgd[1102]: [28897]Completed change to active configuration Dec 13 00:58:40.525224 osdx OSDxCLI[28897]: User 'admin' committed the configuration. Dec 13 00:58:40.545320 osdx dnscrypt-proxy[10805]: [2023-12-13 00:58:40] [NOTICE] dnscrypt-proxy 2.0.45 Dec 13 00:58:40.545698 osdx dnscrypt-proxy[10805]: [2023-12-13 00:58:40] [NOTICE] Network connectivity detected Dec 13 00:58:40.546273 osdx dnscrypt-proxy[10805]: [2023-12-13 00:58:40] [NOTICE] Dropping privileges Dec 13 00:58:40.548404 osdx dnscrypt-proxy[10805]: [2023-12-13 00:58:40] [NOTICE] Network connectivity detected Dec 13 00:58:40.548540 osdx dnscrypt-proxy[10805]: [2023-12-13 00:58:40] [NOTICE] Now listening to 127.0.0.1:53 [UDP] Dec 13 00:58:40.548623 osdx dnscrypt-proxy[10805]: [2023-12-13 00:58:40] [NOTICE] Now listening to 127.0.0.1:53 [TCP] Dec 13 00:58:40.548717 osdx dnscrypt-proxy[10805]: [2023-12-13 00:58:40] [NOTICE] Firefox workaround initialized Dec 13 00:58:40.548797 osdx dnscrypt-proxy[10805]: [2023-12-13 00:58:40] [NOTICE] Loading the set of cloaking rules from [/tmp/tmpnzm4aX] Dec 13 00:58:40.550069 osdx dnscrypt-proxy[10805]: [2023-12-13 00:58:40] [NOTICE] [RD] OK (DNSCrypt) - rtt: 0ms Dec 13 00:58:40.550175 osdx dnscrypt-proxy[10805]: [2023-12-13 00:58:40] [NOTICE] Server with the lowest initial latency: RD (rtt: 0ms) Dec 13 00:58:40.550260 osdx dnscrypt-proxy[10805]: [2023-12-13 00:58:40] [NOTICE] dnscrypt-proxy is ready - live servers: 1 Dec 13 00:58:40.577610 osdx OSDxCLI[28897]: User 'admin' left the configuration menu. Dec 13 00:58:40.640855 osdx zebra[1040]: [RZ3YY-GPH41][EC 100663310] snmp[warning]: Warning: Failed to connect to the agentx master agent ([NIL]):
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