]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd-test: fix resolved_domain_restricted_dns
authorMichael Biebl <biebl@debian.org>
Thu, 30 Sep 2021 23:00:28 +0000 (01:00 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 1 Oct 2021 05:34:00 +0000 (14:34 +0900)
commit528dd6a42389fcf4aa490c0fa0d858772e930d13
tree91bbed6e3cf7d42276a99626bb469c720309f781
parent2e016f3a0be2160d977ad3e5c202d5ae85ed0780
networkd-test: fix resolved_domain_restricted_dns

megasearch.net was meant to be a non-existing bogus domain, and had been
for a long time. But it seems some domain grabber recently registered
it, and it's an actual thing now:

  $ host megasearch.net
  megasearch.net has address 207.148.248.143

This causes the test to fail randomly.

Use search.example.com instead which yields

  $ host search.example.com
  Host search.example.com not found: 3(NXDOMAIN)

Fixes: #18357
test/networkd-test.py