Ipv6 Server
Test suite to validate DNS Proxy IPv6 configuration. It simply configures a DNS server that may or may not block queries or even servers.
Simple IPv6 Server
Description
Configures the DNS server to answer all IPv6 queries.
Scenario
Step 1: Set the following configuration in DUT0
:
set system certificate trust running://certs/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 029f30c34b083de26ae4e176db2577cb64913132c357003e2fa24228571c3b1d set service dns proxy server cert file 'running://dns.dut0.crt' set service dns proxy server cert key 'running://dns.dut0.key' set service dns resolver local
Step 2: Set the following configuration in DUT1
:
set service dns static host-name dns.dut0 inet 10.215.168.10 set system certificate trust running://CA.crt set service dns proxy server-name DUT0 set service dns proxy static DUT0 protocol dns-over-https host name dns.dut0 set service dns proxy static DUT0 protocol dns-over-https host port 3000 set service dns proxy static DUT0 protocol dns-over-https ip 10.215.168.10 set service dns proxy static DUT0 protocol dns-over-https hash 28c761d0232f5a68f581bb512c321bfb8e00aaceb0cb89fb7befe03077d9d6aa
Step 3: Run command show host lookup teldat.com type AAAA
at DUT1
and check if output contains the following tokens:
teldat.com has IPv6 address ff00::dead:cafeShow output
teldat.com has IPv6 address ff00::dead:cafe
Blocking IPv6 Server
Description
Configures the DNS server to block all IPv6 queries.
Scenario
Step 1: Set the following configuration in DUT0
:
set system certificate trust running://certs/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 029f30c34b083de26ae4e176db2577cb64913132c357003e2fa24228571c3b1d set service dns proxy server cert file 'running://dns.dut0.crt' set service dns proxy server cert key 'running://dns.dut0.key' set service dns resolver local set service dns proxy ipv6 block
Step 2: Set the following configuration in DUT1
:
set service dns static host-name dns.dut0 inet 10.215.168.10 set system certificate trust running://CA.crt set service dns proxy server-name DUT0 set service dns proxy static DUT0 protocol dns-over-https host name dns.dut0 set service dns proxy static DUT0 protocol dns-over-https host port 3000 set service dns proxy static DUT0 protocol dns-over-https ip 10.215.168.10 set service dns proxy static DUT0 protocol dns-over-https hash 28c761d0232f5a68f581bb512c321bfb8e00aaceb0cb89fb7befe03077d9d6aa
Step 3: Run command show host lookup teldat.com type AAAA
at DUT1
and check if output contains the following tokens:
AAAA queries have been locally blockedShow output
teldat.com host information "AAAA queries have been locally blocked by dnscrypt-proxy" "Set block_ipv6 to false to disable this feature"