Dns Priority

Test suite to check DNS service priorities

Valid Address

Description

Configures a simple, valid address and checks the DNS can resolve it. There is no priority involved as a single address is in use.

Scenario

Step 1: Set the following configuration in DUT1:

set interfaces ethernet eth0 address 10.0.0.2/24
set service dns forwarding record host teldat.com ipv4-address 172.24.0.11
set service dns forwarding record host teldat.com ipv6-address 'ff00::dead:cafe'
set service dns resolver local
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0:

set interfaces ethernet eth0 address 10.0.0.1/24
set service dns forwarding logs
set service dns forwarding name-server 10.0.0.2
set service dns resolver local
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 3: Ping IP address 10.0.0.2 from DUT0:

admin@DUT0$ ping 10.0.0.2 count 1 size 56 timeout 1
Show output
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.616 ms

--- 10.0.0.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.616/0.616/0.616/0.000 ms

Step 4: Run command show host lookup teldat.com type A wait 0 at DUT0 and check if output contains the following tokens:

172.24.0.11
Show output
teldat.com has address 172.24.0.11

Step 5: Run command system journal show | cat at DUT0 and expect this output:

Show output
May 11 23:38:43.450765 osdx systemd-journald[118835]: Runtime Journal (/run/log/journal/f55f446d40464b198e70fbabb9c21674) is 2.6M, max 15.3M, 12.7M free.
May 11 23:38:43.452558 osdx systemd-journald[118835]: Received client request to rotate journal, rotating.
May 11 23:38:43.452642 osdx systemd-journald[118835]: Vacuuming done, freed 0B of archived journals from /run/log/journal/f55f446d40464b198e70fbabb9c21674.
May 11 23:38:43.468138 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'system journal clear'.
May 11 23:38:44.050091 osdx osdx-coredump[254831]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
May 11 23:38:44.061916 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'system coredump delete all'.
May 11 23:38:46.320524 osdx OSDxCLI[242344]: User 'admin' entered the configuration menu.
May 11 23:38:46.448464 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.0.0.1/24'.
May 11 23:38:46.558836 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns forwarding logs'.
May 11 23:38:46.710300 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns resolver local'.
May 11 23:38:46.801529 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns forwarding name-server 10.0.0.2'.
May 11 23:38:46.945898 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'show working'.
May 11 23:38:47.076602 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
May 11 23:38:47.313140 osdx systemd[1]: Starting dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server...
May 11 23:38:47.355399 osdx dnsmasq[254975]: started, version 2.89 cachesize 150
May 11 23:38:47.355417 osdx dnsmasq[254975]: DNS service limited to local subnets
May 11 23:38:47.355424 osdx dnsmasq[254975]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
May 11 23:38:47.355435 osdx dnsmasq[254975]: warning: ignoring resolv-file flag because no-resolv is set
May 11 23:38:47.355458 osdx dnsmasq[254975]: using nameserver 10.0.0.2#53
May 11 23:38:47.355506 osdx dnsmasq[254975]: read /etc/hosts - 1 names
May 11 23:38:47.414201 osdx systemd[1]: Started dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
May 11 23:38:47.415605 osdx cfgd[1244]: [242344]Completed change to active configuration
May 11 23:38:47.454949 osdx OSDxCLI[242344]: User 'admin' committed the configuration.
May 11 23:38:47.497861 osdx OSDxCLI[242344]: User 'admin' left the configuration menu.
May 11 23:38:47.665398 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'ping 10.0.0.2      count 1 size 56 timeout 1'.
May 11 23:38:47.805913 osdx dnsmasq[254975]: query[A] teldat.com from ::1
May 11 23:38:47.805986 osdx dnsmasq[254975]: forwarded teldat.com to 10.0.0.2
May 11 23:38:47.806405 osdx dnsmasq[254975]: reply teldat.com is 172.24.0.11
May 11 23:38:47.819031 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'show host lookup teldat.com type A wait 0'.

Valid Address IPv6

Description

Configures a simple, valid IPv6 address and checks the DNS can resolve it. There is no priority involved as a single address is in use.

Scenario

Step 1: Set the following configuration in DUT1:

set interfaces ethernet eth0 address '10::2/64'
set service dns forwarding record host teldat.com ipv4-address 172.24.0.11
set service dns forwarding record host teldat.com ipv6-address 'ff00::dead:cafe'
set service dns resolver local
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0:

set interfaces ethernet eth0 address '10::1/64'
set service dns forwarding logs
set service dns forwarding name-server '10::2'
set service dns resolver local
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 3: Ping IP address 10::2 from DUT0:

admin@DUT0$ ping 10::2 count 1 size 56 timeout 1
Show output
PING 10::2(10::2) 56 data bytes
64 bytes from 10::2: icmp_seq=1 ttl=64 time=0.582 ms

--- 10::2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.582/0.582/0.582/0.000 ms

Step 4: Run command show host lookup teldat.com type A wait 0 at DUT0 and check if output contains the following tokens:

172.24.0.11
Show output
teldat.com has address 172.24.0.11

Step 5: Run command system journal show | cat at DUT0 and expect this output:

Show output
May 11 23:38:54.448256 osdx systemd-journald[118835]: Runtime Journal (/run/log/journal/f55f446d40464b198e70fbabb9c21674) is 2.0M, max 15.3M, 13.3M free.
May 11 23:38:54.450401 osdx systemd-journald[118835]: Received client request to rotate journal, rotating.
May 11 23:38:54.450490 osdx systemd-journald[118835]: Vacuuming done, freed 0B of archived journals from /run/log/journal/f55f446d40464b198e70fbabb9c21674.
May 11 23:38:54.462449 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'system journal clear'.
May 11 23:38:54.985869 osdx osdx-coredump[255276]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
May 11 23:38:54.995758 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'system coredump delete all'.
May 11 23:38:57.172872 osdx OSDxCLI[242344]: User 'admin' entered the configuration menu.
May 11 23:38:57.362430 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10::1/64'.
May 11 23:38:57.450330 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns forwarding logs'.
May 11 23:38:57.542755 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns resolver local'.
May 11 23:38:57.662390 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns forwarding name-server 10::2'.
May 11 23:38:57.804948 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'show working'.
May 11 23:38:57.938415 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
May 11 23:38:58.210842 osdx systemd[1]: Starting dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server...
May 11 23:38:58.247950 osdx dnsmasq[255423]: started, version 2.89 cachesize 150
May 11 23:38:58.247985 osdx dnsmasq[255423]: DNS service limited to local subnets
May 11 23:38:58.247996 osdx dnsmasq[255423]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
May 11 23:38:58.248010 osdx dnsmasq[255423]: warning: ignoring resolv-file flag because no-resolv is set
May 11 23:38:58.248041 osdx dnsmasq[255423]: using nameserver 10::2#53
May 11 23:38:58.248109 osdx dnsmasq[255423]: read /etc/hosts - 1 names
May 11 23:38:58.306340 osdx systemd[1]: Started dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
May 11 23:38:58.307860 osdx cfgd[1244]: [242344]Completed change to active configuration
May 11 23:38:58.345654 osdx OSDxCLI[242344]: User 'admin' committed the configuration.
May 11 23:38:58.390988 osdx OSDxCLI[242344]: User 'admin' left the configuration menu.
May 11 23:38:59.551816 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'ping 10::2      count 1 size 56 timeout 1'.
May 11 23:39:00.223926 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'ping 10::2      count 1 size 56 timeout 1'.
May 11 23:39:00.367665 osdx dnsmasq[255423]: query[A] teldat.com from ::1
May 11 23:39:00.367735 osdx dnsmasq[255423]: forwarded teldat.com to 10::2
May 11 23:39:00.368282 osdx dnsmasq[255423]: reply teldat.com is 172.24.0.11
May 11 23:39:00.381113 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'show host lookup teldat.com type A wait 0'.

Multiple Addresses

Description

Configures two DNS addresses: one invalid and the other valid. Checks that the resolution works against the second address, while the first one does not respond.

Scenario

Step 1: Set the following configuration in DUT1:

set interfaces ethernet eth0 address 10.0.0.2/24
set service dns forwarding record host teldat.com ipv4-address 172.24.0.11
set service dns forwarding record host teldat.com ipv6-address 'ff00::dead:cafe'
set service dns resolver local
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0:

set interfaces ethernet eth0 address 10.0.0.1/24
set service dns forwarding logs
set service dns forwarding name-server 10.0.0.10 priority 0
set service dns forwarding name-server 10.0.0.2 priority 1
set service dns resolver local
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 3: Ping IP address 10.0.0.2 from DUT0:

admin@DUT0$ ping 10.0.0.2 count 1 size 56 timeout 1
Show output
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.513 ms

--- 10.0.0.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.513/0.513/0.513/0.000 ms

Step 4: Run command show host lookup teldat.com type A wait 0 at DUT0 and check if output contains the following tokens:

172.24.0.11
Show output
;; communications error to ::1#53: timed out
;; communications error to ::1#53: timed out
teldat.com has address 172.24.0.11

Step 5: Run command system journal show | cat at DUT0 and expect this output:

Show output
May 11 23:39:08.531468 osdx systemd-journald[118835]: Runtime Journal (/run/log/journal/f55f446d40464b198e70fbabb9c21674) is 2.0M, max 15.3M, 13.3M free.
May 11 23:39:08.540699 osdx systemd-journald[118835]: Received client request to rotate journal, rotating.
May 11 23:39:08.540794 osdx systemd-journald[118835]: Vacuuming done, freed 0B of archived journals from /run/log/journal/f55f446d40464b198e70fbabb9c21674.
May 11 23:39:08.582779 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'system journal clear'.
May 11 23:39:09.234862 osdx osdx-coredump[255734]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
May 11 23:39:09.252289 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'system coredump delete all'.
May 11 23:39:11.899190 osdx OSDxCLI[242344]: User 'admin' entered the configuration menu.
May 11 23:39:12.092889 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10.0.0.1/24'.
May 11 23:39:12.224720 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns forwarding logs'.
May 11 23:39:12.345052 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns resolver local'.
May 11 23:39:12.470200 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns forwarding name-server 10.0.0.10 priority 0'.
May 11 23:39:12.608581 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns forwarding name-server 10.0.0.2 priority 1'.
May 11 23:39:12.729505 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'show working'.
May 11 23:39:12.909704 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
May 11 23:39:13.262122 osdx systemd[1]: Starting dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server...
May 11 23:39:13.312896 osdx dnsmasq[255882]: started, version 2.89 cachesize 150
May 11 23:39:13.313191 osdx dnsmasq[255882]: DNS service limited to local subnets
May 11 23:39:13.313283 osdx dnsmasq[255882]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
May 11 23:39:13.313370 osdx dnsmasq[255882]: warning: ignoring resolv-file flag because no-resolv is set
May 11 23:39:13.313454 osdx dnsmasq[255882]: using nameserver 10.0.0.10#53
May 11 23:39:13.313533 osdx dnsmasq[255882]: using nameserver 10.0.0.2#53
May 11 23:39:13.313704 osdx dnsmasq[255882]: read /etc/hosts - 1 names
May 11 23:39:13.371885 osdx systemd[1]: Started dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
May 11 23:39:13.373119 osdx cfgd[1244]: [242344]Completed change to active configuration
May 11 23:39:13.416134 osdx OSDxCLI[242344]: User 'admin' committed the configuration.
May 11 23:39:13.458860 osdx OSDxCLI[242344]: User 'admin' left the configuration menu.
May 11 23:39:13.665367 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'ping 10.0.0.2      count 1 size 56 timeout 1'.
May 11 23:39:13.795636 osdx dnsmasq[255882]: query[A] teldat.com from ::1
May 11 23:39:13.795867 osdx dnsmasq[255882]: forwarded teldat.com to 10.0.0.10
May 11 23:39:14.796249 osdx dnsmasq[255882]: query[A] teldat.com from ::1
May 11 23:39:15.797620 osdx dnsmasq[255882]: query[A] teldat.com from 127.0.0.1
May 11 23:39:15.797672 osdx dnsmasq[255882]: forwarded teldat.com to 10.0.0.2
May 11 23:39:15.798071 osdx dnsmasq[255882]: reply teldat.com is 172.24.0.11
May 11 23:39:15.810479 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'show host lookup teldat.com type A wait 0'.

Multiple IPv6 Addresses

Description

Configures two IPv6 DNS addresses: one invalid and the other valid. Checks that the resolution works against the second address, while the first one does not respond.

Scenario

Step 1: Set the following configuration in DUT1:

set interfaces ethernet eth0 address '10::2/64'
set service dns forwarding record host teldat.com ipv4-address 172.24.0.11
set service dns forwarding record host teldat.com ipv6-address 'ff00::dead:cafe'
set service dns resolver local
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0:

set interfaces ethernet eth0 address '10::1/64'
set service dns forwarding logs
set service dns forwarding name-server '10::10' priority 0
set service dns forwarding name-server '10::2' priority 1
set service dns resolver local
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 3: Ping IP address 10::2 from DUT0:

admin@DUT0$ ping 10::2 count 1 size 56 timeout 1
Show output
PING 10::2(10::2) 56 data bytes
64 bytes from 10::2: icmp_seq=1 ttl=64 time=1.20 ms

--- 10::2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.200/1.200/1.200/0.000 ms

Step 4: Run command show host lookup teldat.com type A wait 0 at DUT0 and check if output contains the following tokens:

172.24.0.11
Show output
;; communications error to ::1#53: timed out
;; communications error to ::1#53: timed out
teldat.com has address 172.24.0.11

Step 5: Run command system journal show | cat at DUT0 and expect this output:

Show output
May 11 23:39:22.473434 osdx systemd-journald[118835]: Runtime Journal (/run/log/journal/f55f446d40464b198e70fbabb9c21674) is 2.0M, max 15.3M, 13.3M free.
May 11 23:39:22.475445 osdx systemd-journald[118835]: Received client request to rotate journal, rotating.
May 11 23:39:22.475543 osdx systemd-journald[118835]: Vacuuming done, freed 0B of archived journals from /run/log/journal/f55f446d40464b198e70fbabb9c21674.
May 11 23:39:22.492585 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'system journal clear'.
May 11 23:39:23.083735 osdx osdx-coredump[256183]: Deleting all coredumps in /opt/vyatta/etc/config/coredump...
May 11 23:39:23.094631 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'system coredump delete all'.
May 11 23:39:25.379575 osdx OSDxCLI[242344]: User 'admin' entered the configuration menu.
May 11 23:39:25.518020 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set interfaces ethernet eth0 address 10::1/64'.
May 11 23:39:25.622957 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns forwarding logs'.
May 11 23:39:25.765611 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns resolver local'.
May 11 23:39:25.869236 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns forwarding name-server 10::10 priority 0'.
May 11 23:39:26.047168 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'set service dns forwarding name-server 10::2 priority 1'.
May 11 23:39:26.254128 osdx OSDxCLI[242344]: User 'admin' added a new cfg line: 'show working'.
May 11 23:39:26.399428 osdx kernel: 8021q: adding VLAN 0 to HW filter on device eth0
May 11 23:39:26.643920 osdx systemd[1]: Starting dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server...
May 11 23:39:26.684041 osdx dnsmasq[256331]: started, version 2.89 cachesize 150
May 11 23:39:26.684063 osdx dnsmasq[256331]: DNS service limited to local subnets
May 11 23:39:26.684074 osdx dnsmasq[256331]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
May 11 23:39:26.684091 osdx dnsmasq[256331]: warning: ignoring resolv-file flag because no-resolv is set
May 11 23:39:26.684124 osdx dnsmasq[256331]: using nameserver 10::10#53
May 11 23:39:26.684136 osdx dnsmasq[256331]: using nameserver 10::2#53
May 11 23:39:26.684198 osdx dnsmasq[256331]: read /etc/hosts - 1 names
May 11 23:39:26.739230 osdx systemd[1]: Started dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
May 11 23:39:26.740486 osdx cfgd[1244]: [242344]Completed change to active configuration
May 11 23:39:26.780484 osdx OSDxCLI[242344]: User 'admin' committed the configuration.
May 11 23:39:26.806093 osdx OSDxCLI[242344]: User 'admin' left the configuration menu.
May 11 23:39:28.013628 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'ping 10::2      count 1 size 56 timeout 1'.
May 11 23:39:28.664047 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'ping 10::2      count 1 size 56 timeout 1'.
May 11 23:39:28.845383 osdx dnsmasq[256331]: query[A] teldat.com from ::1
May 11 23:39:28.845458 osdx dnsmasq[256331]: forwarded teldat.com to 10::10
May 11 23:39:29.846728 osdx dnsmasq[256331]: query[A] teldat.com from ::1
May 11 23:39:30.848101 osdx dnsmasq[256331]: query[A] teldat.com from 127.0.0.1
May 11 23:39:30.848160 osdx dnsmasq[256331]: forwarded teldat.com to 10::2
May 11 23:39:30.849016 osdx dnsmasq[256331]: reply teldat.com is 172.24.0.11
May 11 23:39:30.861311 osdx OSDxCLI[242344]: User 'admin' executed a new command: 'show host lookup teldat.com type A wait 0'.