Skip to content

Commit

Permalink
feat(generator/client): filter svcb/https queries in gfwlist mode
Browse files Browse the repository at this point in the history
  • Loading branch information
1715173329 authored Jul 23, 2024
1 parent 30c4293 commit d404541
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions root/etc/homeproxy/scripts/generate_client.uc
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,12 @@ if (!isEmpty(main_node)) {
server: 'default-dns'
});

if (routing_mode === 'gfwlist')
push(config.dns.rules, {
query_type: [64, 65],
server: 'block-dns'
});

if (isEmpty(config.dns.rules))
config.dns.rules = null;

Expand Down

0 comments on commit d404541

Please sign in to comment.