IDnsQueryLogger: added missing timestamp parameter.

This commit is contained in:
Shreyas Zare
2021-10-02 12:30:08 +05:30
parent 368827161e
commit ce3214c9fb

View File

@@ -41,11 +41,12 @@ namespace DnsServerCore.ApplicationCommon
/// <summary> /// <summary>
/// Allows a DNS App to log incoming DNS requests and responses. This method is called by the DNS Server after an incoming request is processed and a response is sent. /// Allows a DNS App to log incoming DNS requests and responses. This method is called by the DNS Server after an incoming request is processed and a response is sent.
/// </summary> /// </summary>
/// <param name="timestamp">The time stamp of the log entry.</param>
/// <param name="request">The incoming DNS request that was received.</param> /// <param name="request">The incoming DNS request that was received.</param>
/// <param name="remoteEP">The end point (IP address and port) of the client making the request.</param> /// <param name="remoteEP">The end point (IP address and port) of the client making the request.</param>
/// <param name="protocol">The protocol using which the request was received.</param> /// <param name="protocol">The protocol using which the request was received.</param>
/// <param name="response">The DNS response that was sent.</param> /// <param name="response">The DNS response that was sent.</param>
Task InsertLogAsync(DnsDatagram request, IPEndPoint remoteEP, DnsTransportProtocol protocol, DnsDatagram response); Task InsertLogAsync(DateTime timestamp, DnsDatagram request, IPEndPoint remoteEP, DnsTransportProtocol protocol, DnsDatagram response);
/// <summary> /// <summary>
/// Allows DNS Server HTTP API to query the logs recorded by the DNS App. /// Allows DNS Server HTTP API to query the logs recorded by the DNS App.