[GH-ISSUE #11] version.bind/authors.bind #297

Open
opened 2026-03-13 14:34:13 +03:00 by kerem · 2 comments
Owner

Originally created by @miekg on GitHub (Sep 3, 2012).
Original GitHub issue: https://github.com/abh/geodns/issues/11

Hello,

I've added default handlers for authors.{bind|server} and version.{bind|server} in Go DNS. If you want you can add them to geodns (don't feel obliged). See https://github.com/miekg/dns/blob/master/ex/reflect/reflect.go for an example. The dns.Authors list and dns.Version is public so you can override it.

Originally created by @miekg on GitHub (Sep 3, 2012). Original GitHub issue: https://github.com/abh/geodns/issues/11 Hello, I've added default handlers for authors.{bind|server} and version.{bind|server} in Go DNS. If you want you can add them to geodns (don't feel obliged). See https://github.com/miekg/dns/blob/master/ex/reflect/reflect.go for an example. The dns.Authors list and dns.Version is public so you can override it.
Author
Owner

@abh commented on GitHub (Sep 3, 2012):

I will add that. It already has something similar with (more) public information anyway:

$ dig +short -t txt _status.pgeodns @207.171.3.7 | perl -pe 's/\\"/"/g'
"{"h":"ntplax4.ntppool.net","id":"207.171.3.7","qs":"8820174","up":"31747","v":"2.0/51f859b4"}"
<!-- gh-comment-id:8242569 --> @abh commented on GitHub (Sep 3, 2012): I will add that. It already has something similar with (more) public information anyway: ``` $ dig +short -t txt _status.pgeodns @207.171.3.7 | perl -pe 's/\\"/"/g' "{"h":"ntplax4.ntppool.net","id":"207.171.3.7","qs":"8820174","up":"31747","v":"2.0/51f859b4"}" ```
Author
Owner

@miekg commented on GitHub (Sep 3, 2012):

[ Quoting notifications@github.com in "Re: [geodns] version.bind/authors.b..." ]

I will add that. It already has something similar with (more) public
information anyway:

$ dig +short -t txt _status.pgeodns @207.171.3.7 | perl -pe 's/"/"/g'
"{"h":"ntplax4.ntppool.net","id":"207.171.3.7","qs":"8820174","up":"31747","v":"2.0/51f859b4"}"

Cool. Yeah I'm using that 'dig' too to check if it's still running :)

Regards,

Miek Gieben                                                   http://miek.nl
<!-- gh-comment-id:8242629 --> @miekg commented on GitHub (Sep 3, 2012): [ Quoting notifications@github.com in "Re: [geodns] version.bind/authors.b..." ] > I will add that. It already has something similar with (more) public > information anyway: > > $ dig +short -t txt _status.pgeodns @207.171.3.7 | perl -pe 's/\"/"/g' > "{"h":"ntplax4.ntppool.net","id":"207.171.3.7","qs":"8820174","up":"31747","v":"2.0/51f859b4"}" Cool. Yeah I'm using that 'dig' too to check if it's still running :) Regards, ## ``` Miek Gieben http://miek.nl ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/geodns#297
No description provided.