Comments (9)
Ah, I see what you're saying. Well, it works now, so I must have pulled 0.2.0 and updated my config which got it to work.
Pulling from master shows that Im' using v0.2.0.
github.com/oz123/coredns-netbox-plugin v0.2.0
Line 28 of setup.go (on master and tagged 0.2.0) is still reporting as 0.1.1-dev:
coredns-netbox-plugin/setup.go
Line 28 in 5147544
Thanks!
from coredns-netbox-plugin.
Are you using the latest version from master or a tagged version?
from coredns-netbox-plugin.
I'm using whatever the coredns plugins page shows: netbox:github.com/oz123/coredns-netbox-plugin
So I'm assuming master?
from coredns-netbox-plugin.
The master branch has many changes, and it contains a working Core file example. Can you check it?
If that does not work, please pin for version 0.2 .
from coredns-netbox-plugin.
Hmm, I'm not sure what I did, but it started working after I let it sit for a few days (likely after a few Corefile revisions). Apparently version 0.1.1-dev was pulled when I compiled coredns. Seems like I should probably upgrade it to 0.2? Since these are pulled on compile of coredns, how do I force a version?
from coredns-netbox-plugin.
Hmm, I pulled 0.2.0 with:
go get github.com/oz123/[email protected]
Which seemed to have downloaded it, but when running coredns, it still says using 0.1.1-dev.
from coredns-netbox-plugin.
Ah. The 0.2.0 branch still reports version 0.1.1:
var VERSION = "0.1.1-dev"
in setup.go. I think I am using 0.2.0; its just reporting 0.1.1
from coredns-netbox-plugin.
What did you put in your configuration for building? plugin.cfg
?
from coredns-netbox-plugin.
Just to make it clear, you say you have this in the config:
netbox:github.com/oz123/coredns-netbox-plugin
That is, using the master branch, where the configuration format is new. If you want to use the older version, you should pin the version:
You can do it by either linking to a specify tag in you local code, or by modifying go.mod
:
This is inside the coredns sources
diff --git a/go.mod b/go.mod
index 03cf2f0f2..46435f734 100644
--- a/go.mod
+++ b/go.mod
@@ -23,6 +23,7 @@ require (
github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5
github.com/openzipkin/zipkin-go v0.3.0
github.com/oschwald/geoip2-golang v1.5.0
+ github.com/oz123/coredns-netbox-plugin v0.1.1
github.com/philhofer/fwd v1.1.1 // indirect
github.com/prometheus/client_golang v1.11.0
github.com/prometheus/client_model v0.2.0
diff --git a/go.sum b/go.sum
index 322163ae7..bd3bb6a0c 100644
If you don't pin it, take a look at the documentation for the configuration format.
from coredns-netbox-plugin.
Related Issues (20)
- IPv6 AAAA record support HOT 4
- tag release please! HOT 7
- add "fallthrough [ZONES…]" config option (enhancement)
- add "ttl DURATION" config option (enhancement) HOT 1
- support returning multiple DNS RR’s (enhancement) HOT 1
- support specifying plugin as "netbox [ZONES…]" like other plugins (enhancement) HOT 1
- Instructions on coredns yield error HOT 1
- plugin/netbox: no next plugin found with fallthrough HOT 2
- cache metrics not exported HOT 6
- Please, release a new version HOT 2
- Incorrect version in setup.go HOT 1
- Query fails if no AAAA record is available in netbox HOT 2
- PTR record if asked for an IP HOT 4
- Bug with NXDOMAIN PR HOT 3
- Support for netbox-dns plugin HOT 4
- Trouble with fallthrough
- module name incorrect -- plugin won't build HOT 3
- CoreDNS server crashes HOT 6
- If the http fails or the http server fails to obtain the ip, how to use the system's dns to resolve HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coredns-netbox-plugin.