Beispiel #1
0
        public static MaxMind Create(IDnsServer dnsServer)
        {
            if (_maxMind is null)
            {
                _maxMind = new MaxMind(dnsServer);
            }

            return(_maxMind);
        }
Beispiel #2
0
        public Task InitializeAsync(IDnsServer dnsServer, string config)
        {
            _maxMind = MaxMind.Create(dnsServer);

            return(Task.CompletedTask);
        }