Advtools.AdvInterceptor.DnsProcessQuery.CatchAllProcessQuery C# (CSharp) 메소드

CatchAllProcessQuery() 개인적인 메소드

private CatchAllProcessQuery ( ARSoft.Tools.Net.Dns.DnsQuestion question ) : IPAddress
question ARSoft.Tools.Net.Dns.DnsQuestion
리턴 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);
        }