Open zamadatix opened 8 months ago
It seems that the latest
release v0.4.0 doesn't include the commit https://github.com/oz123/coredns-netbox-plugin/commit/192f77a46bf930570c609a50d4bd22b4c05411da which adds the fallthrough when no results are found in Netbox (fallthrough on unsupported query type should still work in v0.4.0).
Have you tried explicitly downloading the master branch instead of the release tag before compiling CoreDNS? I tried forking the repo and creating a release from the latest commit in master
, and it has working fallthrough as expected.
Maybe @oz123 could do a new release that includes the changes since v0.4.0? :)
Hey there, I'm having some trouble getting the fallthrough to actually fallthrough. With "test1.example.com" in the local zonefile and "test2.example.com" in netbox I'm getting the following behavior:
Giventhe Corefile:
Queries to test1.example.com resolve and test2.example.com fail. Given the Corefile:
Queries to test1.example.com fail and test2.example.com resolve. Given the Corefile:
Queriest to test1.example.com still fail and test2.example.com resolve. I'm not quite sure why fallthrough isn't letting the file's answer resolve. One thing I thought is maybe I have the plugin position wrong but it's before "file:file":
And even trying it at the very end of the list or very beginning of the list isn't changing the behavior.