Closed purerosefallen closed 4 years ago
I'm happy to merge this PR, but maybe the env var CUSTOM
is a bit generic?
If you think so, you may change it to something else.
Perhaps CUSTOM_SCRIPT
.
Changed.
Thanks for this.
I changed it to CUSTOM_LOOKUP_CMD for the final release.
Added the following mode.
-e CUSTOM_SCRIPT="echo '1.1.1.1'"
- Set to any shell command to run them and have the IP pulled from the standard output. This is sometimes useful in some specific usage.