Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/DNSQueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

/**
* Copyright (C) 2022, Fabian Bett / Bett Ingenieure GmbH
* Additions made Copyright (C) 2025 David Cutting
*
* This is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -40,7 +41,7 @@ public function testInvalidDNSTypeName(): void

public function testConnectionExceptionTCP(): void
{
$query = new DNSQuery("127.0.0.1", 53, 60, false);
$query = new DNSQuery("0.0.0.0", 53, 60, false);
$query->setConnectionException(true);
$this->expectException(\PurplePixie\PhpDns\Exceptions\ConnectionFailure::class);
$query->query('google.com', DNSTypes::NAME_A);
Expand Down