From 2f81252ffb954423fe57632c9e5303bc51345cb8 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 23 Jan 2022 17:04:48 +0530 Subject: [PATCH] DnsServerInternal: updated DirectQueryAsync() implementation. --- DnsServerCore/Dns/Applications/DnsServerInternal.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DnsServerCore/Dns/Applications/DnsServerInternal.cs b/DnsServerCore/Dns/Applications/DnsServerInternal.cs index f4fc590c..74b3413d 100644 --- a/DnsServerCore/Dns/Applications/DnsServerInternal.cs +++ b/DnsServerCore/Dns/Applications/DnsServerInternal.cs @@ -1,6 +1,6 @@ /* Technitium DNS Server -Copyright (C) 2021 Shreyas Zare (shreyas@technitium.com) +Copyright (C) 2022 Shreyas Zare (shreyas@technitium.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -48,9 +48,9 @@ namespace DnsServerCore.Dns.Applications #region public - public Task DirectQueryAsync(DnsQuestionRecord question) + public Task DirectQueryAsync(DnsQuestionRecord question, int timeout = 4000) { - return _dnsServer.DirectQueryAsync(question, true); + return _dnsServer.DirectQueryAsync(question, timeout, true); } public void WriteLog(string message)