summaryrefslogtreecommitdiffstats
path: root/distro/tests/ansible-roles/knot_dns/tasks/test_tcp.yaml
blob: 68dd8e9c61e2c508d8aa69ee65169c4fffcc5708 (plain)
1
2
3
4
5
---
- name: tcp_test resolve dns1.example.com
  shell: kdig +tcp @127.0.0.1 dns1.example.com A
  register: res
  failed_when: '"192.0.2.1" not in res.stdout'