Don't forget to give user filter to dns forwarding server
This commit is contained in:
parent
31f77af534
commit
e0286ee85d
|
@ -17,6 +17,11 @@ func isRunning() bool {
|
||||||
|
|
||||||
func generateServerConfig() dnsforward.ServerConfig {
|
func generateServerConfig() dnsforward.ServerConfig {
|
||||||
filters := []dnsforward.Filter{}
|
filters := []dnsforward.Filter{}
|
||||||
|
userFilter := userFilter()
|
||||||
|
filters = append(filters, dnsforward.Filter{
|
||||||
|
ID: userFilter.ID,
|
||||||
|
Rules: userFilter.Rules,
|
||||||
|
})
|
||||||
for _, filter := range config.Filters {
|
for _, filter := range config.Filters {
|
||||||
filters = append(filters, dnsforward.Filter{
|
filters = append(filters, dnsforward.Filter{
|
||||||
ID: filter.ID,
|
ID: filter.ID,
|
||||||
|
|
Loading…
Reference in New Issue