Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Gasii_ #3

Open
wants to merge 725 commits into
base: master
Choose a base branch
from
Open

Gasii_ #3

wants to merge 725 commits into from

Conversation

gasii
Copy link

@gasii gasii commented Jun 3, 2014

No description provided.

@miekg
Copy link
Owner

miekg commented Jun 3, 2014

What are you trying to do here?

miekg and others added 29 commits April 9, 2015 17:52
This reverts commit 1992f5f.

Wrong branch...
Allow SkyDNS to forward queries to other authorities, thereby
create a mesh of SkyDNS server all working together.

Works in theory, lots of hardcoded stuff, but looks quite workable.
Multiple idential RR records should be dedupped so that only one is
left.
I.e.

multiport.th1.kubernetes.local. 3600 IN A   1.1.1.1
multiport.th1.kubernetes.local. 3600 IN A   1.1.1.1

Should return:

multiport.th1.kubernetes.local. 3600 IN A   1.1.1.1

Note: I believe the clients don't really care about this and stuff just
works, but a good server should not be sending out invalid messages.

Also added test case that checks for this. We also dedup the additional
section, but for now there is no test for this.

Fixes #149
Add an Etcd watch and create the function that parses the result and put
them in the stubzone's map so that skydns knows what to do.
When forwarding queries to another stub add a custom EDNS0 option
that tell SkyDNS that this is a stub forward. Such queries will be
handled as normal, except that they won't be forward *again* to
another stub. This should prevent all kind of nasty cycles.
The lookup happens with a lowercased path. Add two more tests
to make sure we work like this and add a line of documentation.
Disable recursion no matter what other config there is.
Does not work (yet). It groups to aggresively and should drop some
services that are not dropped.
miekg and others added 30 commits March 4, 2016 17:11
* Fix travis build

Just curl a compiled etcd instead of compiling by ourselves.

* drop -race
Fixes #276.

It's better to panic and pass the control to the process manager (systemd, docker, ...) than to continue with an unexpected configuration.
Old DNS lib would paper over a zero hashlength, newer versions require
that the hashlength is set. Use crypto/sha1.Size as the value for this
as specified in RFC 5155.
* add support for etcd authentication

* add support for etcd basic auth

* update README environement variable
* initial set of commit for etcd version 3 support. TTL value is still in default for etcdv3 mode

* refactored implementation, tested functionality.

* cleanup and refactored
* Revert "Another typo fix (#329)"

This reverts commit a7d5b14.

* Revert "Fix typos (#328)"

This reverts commit de21b3f.

* Revert "Add HasSynced() to Backend interface (#327)"

This reverts commit c665d21.
* Revert "Revert (#330)"

This reverts commit fc00e57.

* Use go1.8 and attempt to fix travis

* Use dep for Go dependency management

* Fix typo

* try go1.9 and etcd 3.2.15

* go fmt
currently, EvictRandom will clean up all cached entries when cache is full. fix it, only clean additional ones
This was removed from miekg/dns in commit -
miekg/dns@1ff265a#diff-8353741544373e78bb7c8c3f6a0ea2cc.
The commit message recommendatation is to check for the unpack error
which the current code is doing. Conn.ReadMsg returns err is unpack
fails.
Remove checking for ErrTruncated, which is now removed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.