Revert "Resolve unqualified names in the local WeaveDNS domain"

This commit is contained in:
Matthias Radestock committed 2015-07-14 16:06:05 +01:00
1 parent 39a1f2163f
commit 18032015b9
9 files changed
+43 -152

No files matched your search

+2 -3
View File
@@ -188,10 +188,9 @@ assert_no_dns_record() {
assert_raises "exec_on $host $container getent hosts $name" 2
}
# assert_dns_a_record <host> <container> <name> <ip> [<expected_name>]
# assert_dns_a_record <host> <container> <name> <ip>
assert_dns_a_record() {
exp_name=${5:-$3}
assert "exec_on $1 $2 getent hosts $3 | tr -s ' ' | cut -d ' ' -f 1,2" "$4 $exp_name"
assert "exec_on $1 $2 getent hosts $3 | tr -s ' '" "$4 $3"
}
# assert_dns_ptr_record <host> <container> <name> <ip>