mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 20:40:25 +08:00
智能DNS访问日志增加只记录失败查询选项
This commit is contained in:
@@ -3,9 +3,10 @@
|
|||||||
package dnsconfigs
|
package dnsconfigs
|
||||||
|
|
||||||
type NSAccessLogRef struct {
|
type NSAccessLogRef struct {
|
||||||
IsPrior bool `yaml:"isPrior" json:"isPrior"` // 是否覆盖
|
IsPrior bool `yaml:"isPrior" json:"isPrior"` // 是否覆盖
|
||||||
IsOn bool `yaml:"isOn" json:"isOn"` // 是否启用
|
IsOn bool `yaml:"isOn" json:"isOn"` // 是否启用
|
||||||
LogMissingDomains bool `yaml:"logMissingDomains" json:"logMissingDomains"` // 是否记录找不到的域名
|
LogMissingDomains bool `yaml:"logMissingDomains" json:"logMissingDomains"` // 是否记录找不到的域名
|
||||||
|
MissingRecordsOnly bool `yaml:"missingRecordsOnly" json:"missingRecordsOnly"` // 只记录找不到解析记录的访问
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *NSAccessLogRef) Init() error {
|
func (this *NSAccessLogRef) Init() error {
|
||||||
|
|||||||
Reference in New Issue
Block a user