/// <summary>
        /// 设置解析
        /// </summary>
        public static void SetDns(string domainName, string ip)
        {
            string newHost = ip + " " + domainName;

            string[] hosts = FileUtil.GetLines(DnsPath);
            foreach (string host in hosts)
            {
                if (host == newHost)
                {
                    return;
                }
            }
            FileUtil.AppendLine(DnsPath, newHost);
        }