Replies: 1 comment 1 reply
-
You can’t change the source address of the forwarded request. The source address of the request packet has to be coredns’s address, else the responses from upstream would never reach coredns. But you can use the rewrite plugin to save the client ip into an edns0 option. There’s an example in the rewrite plugin readme. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to use CoreDNS with the gRPC plugin, and I’ve run into an issue where the original query’s source IP address gets overwritten when requests are forwarded. Is there any way to preserve the original source IP?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions