Closed NightMachinery closed 3 years ago
No, that would be an unwanted feature. If it was enabled by default.
If you want to have this, you could write a python script or use the dynamic library module. The resip.py example echoes the IP in a TXT record, you could modify it to suit your need, perhaps. https://github.com/NLnetLabs/unbound/blob/master/pythonmod/examples/resip.py
@wcawijngaards Thanks, I think that would work. Does the docker image support python modules?
https://github.com/NLnetLabs/pythonunbound is not up-to-date, but it should work. Thanks!
@NightMachinary: I just manually built and pushed nlnetlabs/pythonunbound:1.13.1
to Docker Hub based on Unbound 1.13.1 (still running in Ubuntu 18.04 with Python 3.6.9). I have also updated the Docker :latest
tag to point to the new image version.
Some DNS servers have a feature where they echo back the requester's IP:
I think this is currently not possible in Unbound?