Lines Matching defs:test_hostname_lookup
89 static void test_hostname_lookup(sd_bus *bus, const char *name, int family, const char *result) {
141 test_hostname_lookup(bus, "www.eurid.eu", AF_UNSPEC, NULL);
144 test_hostname_lookup(bus, "sigok.verteiltesysteme.net", AF_UNSPEC, NULL);
152 test_hostname_lookup(bus, "sigfail.verteiltesysteme.net", AF_INET, BUS_ERROR_DNSSEC_FAILED);
156 test_hostname_lookup(bus, ".wilda.rhybar.0skar.cz", AF_INET, BUS_ERROR_DNSSEC_FAILED);
160 test_hostname_lookup(bus, ".wilda.rhybar.ecdsa.0skar.cz", AF_INET, BUS_ERROR_DNSSEC_FAILED);
164 test_hostname_lookup(bus, "hhh.nasa.gov", AF_UNSPEC, _BUS_ERROR_DNS "NXDOMAIN");
168 test_hostname_lookup(bus, ".wilda.nsec.0skar.cz", AF_INET, NULL);
175 test_hostname_lookup(bus, ".wilda.0skar.cz", AF_INET, NULL);
182 test_hostname_lookup(bus, ".wild.nsec.0skar.cz", AF_UNSPEC, NULL);
183 test_hostname_lookup(bus, ".wild.nsec.0skar.cz", AF_INET, NULL);
190 test_hostname_lookup(bus, ".wild.0skar.cz", AF_UNSPEC, NULL);
191 test_hostname_lookup(bus, ".wild.0skar.cz", AF_INET, NULL);
198 test_hostname_lookup(bus, "herndon.nasa.gov", AF_UNSPEC, BUS_ERROR_NO_SUCH_RR);
199 test_hostname_lookup(bus, "herndon.nasa.gov", AF_INET, BUS_ERROR_NO_SUCH_RR);
200 test_hostname_lookup(bus, "herndon.nasa.gov", AF_INET6, BUS_ERROR_NO_SUCH_RR);
204 test_hostname_lookup(bus, "jasdhjas.kjkfgjhfjg", AF_UNSPEC, _BUS_ERROR_DNS "NXDOMAIN");
205 test_hostname_lookup(bus, "jasdhjas.kjkfgjhfjg", AF_INET, _BUS_ERROR_DNS "NXDOMAIN");
206 test_hostname_lookup(bus, "jasdhjas.kjkfgjhfjg", AF_INET6, _BUS_ERROR_DNS "NXDOMAIN");
210 test_hostname_lookup(bus, "kjkfgjhfjgsdfdsfd.com", AF_INET, _BUS_ERROR_DNS "NXDOMAIN");
211 test_hostname_lookup(bus, "kjkfgjhfjgsdfdsfd.com", AF_INET6, _BUS_ERROR_DNS "NXDOMAIN");
212 test_hostname_lookup(bus, "kjkfgjhfjgsdfdsfd.com", AF_UNSPEC, _BUS_ERROR_DNS "NXDOMAIN");
217 test_hostname_lookup(bus, "poettering.de", AF_UNSPEC, NULL);
218 test_hostname_lookup(bus, "poettering.de", AF_INET, NULL);
219 test_hostname_lookup(bus, "poettering.de", AF_INET6, NULL);
223 test_hostname_lookup(bus, "pöttering.de", AF_UNSPEC, NULL);
224 test_hostname_lookup(bus, "pöttering.de", AF_INET, NULL);
225 test_hostname_lookup(bus, "pöttering.de", AF_INET6, NULL);
231 test_hostname_lookup(bus, ".ireallyhpoethisdoesntexist.xn--kprw13d.", AF_UNSPEC, _BUS_ERROR_DNS "NXDOMAIN");
232 test_hostname_lookup(bus, ".ireallyhpoethisdoesntexist.xn--kprw13d.", AF_INET, _BUS_ERROR_DNS "NXDOMAIN");
233 test_hostname_lookup(bus, ".ireallyhpoethisdoesntexist.xn--kprw13d.", AF_INET6, _BUS_ERROR_DNS "NXDOMAIN");