AdvancedForwarding: implemented conditional forwarding client subnet. Updated app config template.

This commit is contained in:
Shreyas Zare
2023-04-23 16:07:49 +05:30
parent b8d42871f4
commit d3bd40c9e5
2 changed files with 3 additions and 1 deletions

View File

@@ -189,6 +189,8 @@ namespace AdvancedForwarding
if (!group.TryGetForwarderRecords(qname, out IReadOnlyList<DnsForwarderRecordData> forwarderRecords))
return Task.FromResult<DnsDatagram>(null);
request.SetShadowEDnsClientSubnetOption(network, true);
DnsResourceRecord[] authority = new DnsResourceRecord[forwarderRecords.Count];
for (int i = 0; i < forwarderRecords.Count; i++)

View File

@@ -62,7 +62,7 @@
"cloudflare-google"
],
"domains": [
"example.net"
"*"
]
}
],