Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
Ambrose Chua | bf1b867dd4 | |
Ambrose Chua | 4439e925cd | |
Ambrose Chua | 47ebb3f376 |
38
.drone.yml
38
.drone.yml
|
@ -1,38 +0,0 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: golang:1.14-alpine
|
||||
pull: true
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
commands:
|
||||
- cd coredns && go test
|
||||
- name: build
|
||||
image: golang:1.14-alpine
|
||||
pull: true
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
commands:
|
||||
- cd coredns && go build
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://git.makerforce.io
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
files: coredns/coredns
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
# vim: ts=2:sw=2
|
|
@ -1,2 +1,2 @@
|
|||
coredns/coredns_*
|
||||
coredns/gitea_token
|
||||
coredns/build/
|
||||
coredns/coredns
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
# alias [![Build Status](https://ci.makerforce.io/api/badges/ambrose/alias/status.svg)](https://ci.makerforce.io/ambrose/alias)
|
||||
# alias
|
||||
|
||||
The *alias* plugin eliminates CNAME records from zone apex by making the subsequent resolved records look like they belong to the zone apex. This behaves similarily to [CloudFlare's Zone Flattening](https://support.cloudflare.com/hc/en-us/articles/200169056-CNAME-Flattening-RFC-compliant-support-for-CNAME-at-the-root).
|
||||
|
||||
|
@ -7,7 +7,7 @@ This plugin works only with plugins that produce A or AAAA records alongside the
|
|||
|
||||
> Preferrably, this should not be used in favour of the RFC drafts for the new [ANAME](https://tools.ietf.org/html/draft-ietf-dnsop-aname-00) records, but the DNS library used by CoreDNS does not support ANAME records yet.
|
||||
|
||||
Release builds can be found [here](https://git.makerforce.io/ambrose/alias/releases)
|
||||
Release builds can be found [here](https://github.com/serverwentdown/alias/releases)
|
||||
|
||||
## Syntax
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
GO:=go
|
||||
NAME:=coredns
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
$(RM) -rf build && mkdir build
|
||||
GOOS=darwin GOARCH=amd64 $(GO) build -o build/coredns_darwin_amd64
|
||||
GOOS=windows GOARCH=amd64 $(GO) build -o build/coredns_windows_amd64.exe
|
||||
GOOS=linux GOARCH=amd64 $(GO) build -o build/coredns_linux_amd64
|
||||
GOOS=linux GOARCH=arm64 $(GO) build -o build/coredns_linux_arm64
|
|
@ -5,7 +5,7 @@ go 1.13
|
|||
replace github.com/serverwentdown/alias => ../
|
||||
|
||||
require (
|
||||
github.com/coredns/coredns v1.8.1
|
||||
github.com/miekg/dns v1.1.35
|
||||
github.com/coredns/coredns v1.11.1
|
||||
github.com/miekg/dns v1.1.55
|
||||
github.com/serverwentdown/alias v0.0.0-00010101000000-000000000000
|
||||
)
|
||||
|
|
3100
coredns/go.sum
3100
coredns/go.sum
File diff suppressed because it is too large
Load Diff
6
go.mod
6
go.mod
|
@ -3,7 +3,7 @@ module github.com/serverwentdown/alias
|
|||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/coredns/caddy v1.1.0
|
||||
github.com/coredns/coredns v1.8.1
|
||||
github.com/miekg/dns v1.1.35
|
||||
github.com/coredns/caddy v1.1.1
|
||||
github.com/coredns/coredns v1.11.1
|
||||
github.com/miekg/dns v1.1.55
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue