mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-15 07:50:05 +05:00
* Simplify DNS Settings * fix * ExpectedIPs * Optimize ExpectedIPs Logic * Fixes geoip overrides rule_set when geosite is also set * rename DNSItem to SimpleDNSItem * Compatible * Fixes Combobox for desktop * Regional Preset * Fix * Refactor DNS tags handling * Uses correct DNS strategy for direct connections * auto-disable DNS items with empty NormalDNS on startup
20 lines
503 B
C#
20 lines
503 B
C#
using SQLite;
|
|
|
|
namespace ServiceLib.Models;
|
|
|
|
[Serializable]
|
|
public class DNSItem
|
|
{
|
|
[PrimaryKey]
|
|
public string Id { get; set; }
|
|
|
|
public string Remarks { get; set; }
|
|
public bool Enabled { get; set; } = false;
|
|
public ECoreType CoreType { get; set; }
|
|
public bool UseSystemHosts { get; set; }
|
|
public string? NormalDNS { get; set; }
|
|
public string? TunDNS { get; set; }
|
|
public string? DomainStrategy4Freedom { get; set; }
|
|
public string? DomainDNSAddress { get; set; }
|
|
}
|