46 Commits

Author SHA1 Message Date
Jordan Whited
6f78170fbe serve self peer info 2021-01-01 17:47:15 -08:00
Jordan Whited
7d03ee7041 standardize handler funcs 2021-01-01 17:47:15 -08:00
Jordan Whited
a928f85a58 serve allowed ips and public key via TXT RR 2020-12-31 14:18:33 -08:00
Jordan Whited
016a366d0f
Update README for consistent name/target format 2020-12-29 13:22:25 -08:00
Benoît Ganne
401ad4ea47 always use full Service Instance Name
Service instance name is defined in RFC6763 section 4.1 as
  Service Instance Name = <Instance> . <Service> . <Domain>
Use it instead of <Instance> . <Domain> for consistency.
2020-12-29 13:15:48 -08:00
Julien Balestra
fd4b7d8879 setup: on shutdown, close the client connection 2020-12-23 11:13:14 -08:00
Jordan Whited
ce787925be add build workflow 2020-11-25 16:38:45 -08:00
Jordan Whited
dfd8346f69 update import paths to support coredns v1.8.0 v0.2.0 2020-11-24 15:05:19 -08:00
Jordan Whited
3876977f81
Merge pull request #9 from jwhited/goreleaser
setup release workflow
v0.1.0
2020-11-24 14:36:42 -08:00
Jordan Whited
de6b9fdf06 setup release workflow 2020-11-24 14:31:08 -08:00
Jordan Whited
1c048e4fd7
Merge pull request #8 from jwhited/jwhited-workflows
GitHub workflows
2020-11-23 14:26:27 -08:00
Jordan Whited
6c78ee4e64 setup github actions 2020-11-23 14:20:53 -08:00
Jordan Whited
49e376d95c add tests for nxdomain and servfail 2020-05-28 19:46:24 -07:00
Jordan Whited
ec2c1f34ad update README 2020-05-28 19:36:20 -07:00
Jordan Whited
3c0326342e update README 2020-05-27 16:53:15 -07:00
Jordan Whited
89263dec22 add ServeDNS() tests 2020-05-27 16:29:09 -07:00
Jordan Whited
1c759627ec add setup() tests 2020-05-27 13:03:24 -07:00
Jordan Whited
eacaffd0e3 fix error returned in setup() 2020-05-26 16:24:45 -07:00
Jordan Whited
e9812b0947 add timeout to wgsd-client 2020-05-26 15:37:38 -07:00
Jordan Whited
6bb19aedf6 add wgsd-client README 2020-05-26 14:45:31 -07:00
Jordan Whited
7d513c4d71 README - querying wgsd 2020-05-26 14:29:42 -07:00
Jordan Whited
f20bdc08cb update README 2020-05-26 12:46:16 -07:00
Jordan Whited
3e3263cbf3
Merge pull request #2 from jwhited/cmd_coredns
add cmd/coredns
2020-05-26 12:16:29 -07:00
Jordan Whited
4f2477b43c add cmd/coredns 2020-05-26 12:14:32 -07:00
Jordan Whited
f4092834a6 Merge branch 'master' of github.com:jwhited/wgsd 2020-05-21 09:38:34 -07:00
Jordan Whited
09a4a0973c update blog link 2020-05-21 09:38:25 -07:00
Jordan Whited
5b1729547d
create LICENSE 2020-05-20 21:50:48 -07:00
Jordan Whited
24a9e67e0d add README 2020-05-20 20:08:46 -07:00
Jordan Whited
4880884e1b client -> wgsd-client 2020-05-20 12:33:32 -07:00
Jordan Whited
4873385214 fix extra parsing 2020-05-15 16:30:33 -07:00
Jordan Whited
a3627a0f27 someone might use recursion 2020-05-15 14:20:39 -07:00
Jordan Whited
27efcca09f use miekg/dns instead of net.Resolver 2020-05-15 14:18:45 -07:00
Jordan Whited
dbe0623624 don't return SRV answer if endpoint is nil 2020-05-15 13:15:42 -07:00
Jordan Whited
5c7c582a2a trivial fixes 2020-05-15 13:01:58 -07:00
Jordan Whited
53c1794798 add client 2020-05-15 12:50:16 -07:00
Jordan Whited
166a81ace1 ToUpper() pubkey in targets 2020-05-13 20:59:42 -07:00
Jordan Whited
4e16d5b9fc represent pub keys in Base32 2020-05-13 16:15:48 -07:00
Jordan Whited
385d7b0582 fix PTR answer target 2020-05-13 14:06:49 -07:00
Jordan Whited
9963322fb6 implement config parsing 2020-05-13 11:48:30 -07:00
Jordan Whited
48c4ad579d name -> zone 2020-05-12 17:44:52 -07:00
Jordan Whited
8ea2232963 construct wgctrl client in setup() 2020-05-12 17:40:19 -07:00
Jordan Whited
c103287912 add TODO for SOA 2020-05-12 17:37:20 -07:00
Jordan Whited
8f7de25397 handle A/AAAA queries 2020-05-12 17:35:05 -07:00
Jordan Whited
8109291569 handle SRV queries 2020-05-12 17:13:40 -07:00
Jordan Whited
e6531c81ed start on ServeDNS() for PTR queries 2020-05-12 15:39:48 -07:00
Jordan Whited
9cf6a70617 initial commit 2020-05-09 16:47:41 -07:00