[Dnsmasq-discuss] [PATCH] Support Cisco Umbrella/OpenDNS Device ID & Remote IP
brian.andrew at brianandjenny.com
Wed Apr 7 08:01:51 UTC 2021
> On Apr 6, 2021, at 23:53, Geert Stappers via Dnsmasq-discuss <dnsmasq-discuss at lists.thekelleys.org.uk> wrote:
> On Tue, Apr 06, 2021 at 08:45:17PM -0600, Brian Hartvigsen wrote:
>> Signed-off-by: Brian Hartvigsen <brian.andrew at brianandjenny.com>
>> src/dns-protocol.h | 1 +
>> src/dnsmasq.h | 6 +++++-
>> src/edns0.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++
>> src/option.c | 23 ++++++++++++++++++++
>> 4 files changed, 82 insertions(+), 1 deletion(-)
> Note that man/dnsmasq.8 is _not_ updated.
Would something like the following be acceptable? I've never updated manpages before so I'm uncertain of whether I am missing anything, I just attempted to copy what I saw for other options/command line flags.
diff --git a/man/dnsmasq.8 b/man/dnsmasq.8
index 6546110..fb1c394 100644
@@ -711,7 +711,13 @@ will add the /24 and /96 subnets of the requestor for IPv4 and IPv6 requestors,
will add 18.104.22.168/24 for IPv4 requestors and ::/0 for IPv6 requestors.
will add 22.214.171.124/24 for both IPv4 and IPv6 requestors.
+Embeds the requestor's IP address in DNS queries forwarded upstream.
+If device id or organization id are specified, the information is
+included in the forwarded queries and may be able to be used in
+filtering policies and reporting. The order of the deviceid and orgid
+attributes is irrelevant, but must be separated by a comma.
.B \-c, --cache-size=<cachesize>
Set the size of dnsmasq's cache. The default is 150 names. Setting the cache size to zero disables caching. Note: huge cache size impacts performance.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Message signed with OpenPGP
More information about the Dnsmasq-discuss