crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
41e1e48a
ROOT
/
option
/
rule_dns.go
Search
History
108 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_DNSRule
Type
:
string
DefaultOptions
:
DefaultDNSRule
LogicalOptions
:
LogicalDNSRule
DNSRule
MarshalJSON
()
:
([]byte, error)
DefaultDNSRule
Inbound
Listable
:
[string] `json:"inbound,omitempty"` IPVersion
int
QueryType
Listable
:
[DNSQueryType] `json:"query_type,omitempty"` Network
Listable
:
[string] `json:"network,omitempty"` AuthUser
Listable
:
[string] `json:"auth_user,omitempty"` Protocol
Listable
:
[string] `json:"protocol,omitempty"` Domain
Listable
:
[string] `json:"domain,omitempty"` DomainSuffix
Listable
:
[string] `json:"domain_suffix,omitempty"` DomainKeyword
Listable
:
[string] `json:"domain_keyword,omitempty"` DomainRegex
Listable
:
[string] `json:"domain_regex,omitempty"` Geosite
Listable
:
[string] `json:"geosite,omitempty"` SourceGeoIP
Listable
:
[string] `json:"source_geoip,omitempty"` SourceIPCIDR
Listable
:
[string] `json:"source_ip_cidr,omitempty"` SourcePort
Listable
:
[uint16] `json:"source_port,omitempty"` SourcePortRange
Listable
:
[string] `json:"source_port_range,omitempty"` Port
Listable
:
[uint16] `json:"port,omitempty"` PortRange
Listable
:
[string] `json:"port_range,omitempty"` ProcessName
Listable
:
[string] `json:"process_name,omitempty"` ProcessPath
Listable
:
[string] `json:"process_path,omitempty"` PackageName
Listable
:
[string] `json:"package_name,omitempty"` User
Listable
:
[string] `json:"user,omitempty"` UserID
Listable
:
[int32] `json:"user_id,omitempty"` Outbound
Listable
:
[string] `json:"outbound,omitempty"` ClashMode
string
Invert
:
bool
Server
:
string
DisableCache
:
bool
RewriteTTL
:
*uint32
IsValid
()
:
bool
LogicalDNSRule
Mode
:
string
Rules
:
[]DefaultDNSRule
Invert
:
bool
Server
:
string
DisableCache
:
bool
RewriteTTL
:
*uint32
IsValid
()
:
bool
*DNSRule
UnmarshalJSON
(bytes []byte)
:
error
All occurrences
Please wait...
Page is in error, reload to recover