diff --git a/DnsServerCore.ApplicationCommon/IDnsServer.cs b/DnsServerCore.ApplicationCommon/IDnsServer.cs
index 916a77d6..c6c6e1d2 100644
--- a/DnsServerCore.ApplicationCommon/IDnsServer.cs
+++ b/DnsServerCore.ApplicationCommon/IDnsServer.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
@@ -33,8 +33,9 @@ namespace DnsServerCore.ApplicationCommon
/// Allows querying the DNS server core directly. This call supports recursion even if its not enabled in the DNS server configuration. The request wont be routed to any of the installed DNS Apps except for processing APP records. The request and its response are not counted in any stats or logged.
///
/// The question record containing the details to query.
- /// The DNS response for the DNS query or null if the request timed out.
- Task DirectQueryAsync(DnsQuestionRecord question);
+ /// The DNS response for the DNS query.
+ /// When request times out.
+ Task DirectQueryAsync(DnsQuestionRecord question, int timeout = 4000);
///
/// Writes a log entry to the DNS server log file.