using System;
namespace FastGithub.Scanner.LookupProviders
{
    /// 
    /// 公共dns的域名与ip关系提供者选项
    /// 
    [Options("Lookup:PublicDnsProvider")]
    sealed class PublicDnsProviderOptions
    {
        /// 
        /// 是否启用
        /// 
        public bool Enable { get; set; } = true;
        /// 
        /// dns查询超时时长
        /// 
        public TimeSpan Timeout { get; set; } = TimeSpan.FromMilliseconds(100d);
        /// 
        /// dns列表
        /// 
        public string[] Dnss { get; set; } = Array.Empty();
    }
}