def METHOD_NAME(self):
    fakeaddr = "fakenodeaddr.fakedomain.invalid."
    self.log.info("Check that setting -connect disables -dnsseed by default")
    self.nodes[0].stop_node()
    with self.nodes[0].assert_debug_log(expected_msgs=["DNS seeding disabled"]):
        self.start_node(0, [f"-connect={fakeaddr}"])
    self.log.info("Check that running -connect and -dnsseed means DNS logic runs.")
    with self.nodes[0].assert_debug_log(expected_msgs=["Loading addresses from DNS seed"], timeout=12):
        self.restart_node(0, [f"-connect={fakeaddr}", "-dnsseed=1"])
    self.log.info("Check that running -forcednsseed and -dnsseed=0 throws an error.")
    self.nodes[0].stop_node()
    self.nodes[0].assert_start_raises_init_error(
        expected_msg="Error: Cannot set -forcednsseed to true when setting -dnsseed to false.",
        extra_args=["-forcednsseed=1", "-dnsseed=0"],
    )
    self.log.info("Check that running -forcednsseed and -connect throws an error.")
    # -connect soft sets -dnsseed to false, so throws the same error
    self.nodes[0].stop_node()
    self.nodes[0].assert_start_raises_init_error(
        expected_msg="Error: Cannot set -forcednsseed to true when setting -dnsseed to false.",
        extra_args=["-forcednsseed=1", f"-connect={fakeaddr}"],
    )
    # Restore default bitcoind settings
    self.restart_node(0)