diff --git a/Apps/GeoContinentApp/Address.cs b/Apps/GeoContinentApp/Address.cs index 93c27f4f..f9de7b22 100644 --- a/Apps/GeoContinentApp/Address.cs +++ b/Apps/GeoContinentApp/Address.cs @@ -30,7 +30,7 @@ using TechnitiumLibrary.Net.Dns.ResourceRecords; namespace GeoContinent { - public sealed class Address : IDnsApplicationRequestHandler + public sealed class Address : IDnsAppRecordRequestHandler { #region variables @@ -72,7 +72,7 @@ namespace GeoContinent return Task.CompletedTask; } - public Task ProcessRequestAsync(DnsDatagram request, IPEndPoint remoteEP, string zoneName, uint appRecordTtl, string appRecordData, bool isRecursionAllowed, IDnsServer dnsServer) + public Task ProcessRequestAsync(DnsDatagram request, IPEndPoint remoteEP, DnsTransportProtocol protocol, bool isRecursionAllowed, string zoneName, uint appRecordTtl, string appRecordData) { DnsQuestionRecord question = request.Question[0]; switch (question.Type) diff --git a/Apps/GeoContinentApp/CNAME.cs b/Apps/GeoContinentApp/CNAME.cs index c4342467..163b3744 100644 --- a/Apps/GeoContinentApp/CNAME.cs +++ b/Apps/GeoContinentApp/CNAME.cs @@ -29,7 +29,7 @@ using TechnitiumLibrary.Net.Dns.ResourceRecords; namespace GeoContinent { - public sealed class CNAME : IDnsApplicationRequestHandler + public sealed class CNAME : IDnsAppRecordRequestHandler { #region variables @@ -71,7 +71,7 @@ namespace GeoContinent return Task.CompletedTask; } - public Task ProcessRequestAsync(DnsDatagram request, IPEndPoint remoteEP, string zoneName, uint appRecordTtl, string appRecordData, bool isRecursionAllowed, IDnsServer dnsServer) + public Task ProcessRequestAsync(DnsDatagram request, IPEndPoint remoteEP, DnsTransportProtocol protocol, bool isRecursionAllowed, string zoneName, uint appRecordTtl, string appRecordData) { dynamic jsonAppRecordData = JsonConvert.DeserializeObject(appRecordData); dynamic jsonContinent; diff --git a/Apps/GeoContinentApp/dnsApp.config b/Apps/GeoContinentApp/dnsApp.config new file mode 100644 index 00000000..7a2450c3 --- /dev/null +++ b/Apps/GeoContinentApp/dnsApp.config @@ -0,0 +1 @@ +#This app requires no config. \ No newline at end of file