Advtools.AdvInterceptor.DnsProcessQuery.CatchAllProcessQuery C# (CSharp) Method

CatchAllProcessQuery() private method

private CatchAllProcessQuery ( ARSoft.Tools.Net.Dns.DnsQuestion question ) : IPAddress
question ARSoft.Tools.Net.Dns.DnsQuestion
return System.Net.IPAddress
        private IPAddress CatchAllProcessQuery(DnsQuestion question)
        {
            // If there is an interception configured, take it
            Interception interception = state_.Config.GetInterception(question.Name);
            if(interception != null)
                return GetIp(interception);

            return state_.AllocateIP(question.Name);
        }