This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go Working Group R. Gieben | |
Internet-Draft August 25, 2018 | |
Intended status: Informational | |
Expires: February 26, 2019 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go Working Group R. Gieben | |
Internet-Draft August 25, 2018 | |
Intended status: Informational | |
Expires: February 26, 2019 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go Working Group R. Gieben | |
Internet-Draft 25 August 2018 | |
Intended status: Informational | |
Expires: 26 February 2019 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Network Working Group S. Bellovin | |
Internet-Draft AT&T Labs Research | |
Expires: 3 October 2018 1 April 2018 | |
The Security Flag in the IPv4 Header |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"github.com/miekg/dns" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile for building our Docker containers | |
# | |
# You can override ARCH and REGISTRY, the default to "amd64 arm arm64 ppc64le s390x" and "miek" | |
# If you need to get an asset before building use the asset rule. The asset needs to be copied | |
# to $(arch): | |
# | |
# asset: | |
# cp $(COREDNS)/coredns $(arch)/coredns | |
ifeq (, $(shell which manifest-tool)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: coredns | |
spec: | |
ports: | |
- name: coredns | |
port: 53 | |
protocol: UDP | |
targetPort: 53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile for building our Docker containers | |
# You can override ARCH and REGISTRY, the default to "amd64 arm arm64 ppc64le s390x" and "miek" | |
# If you need to get an asset before building use the asset rule. The asset needs to be copied | |
# to $(arch): | |
# | |
# asset: | |
# cp $(COREDNS)/coredns $(arch)/coredns | |
ifeq (, $(shell which manifest-tool)) | |
$(error No manifest-tool in $$PATH, install with: "go get github.com/estesp/manifest-tool") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/plugin/autopath/autopath.go b/plugin/autopath/autopath.go | |
index aa3d44e6..f52ee516 100644 | |
--- a/plugin/autopath/autopath.go | |
+++ b/plugin/autopath/autopath.go | |
@@ -104,6 +104,8 @@ func (a *AutoPath) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Ms | |
ar.Question[0].Name = newQName | |
nw := nonwriter.New(w) | |
+ log.Printf("[INFO] Querying %s", newQName) | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* udpserver.c - A simple UDP echo server | |
* usage: udpserver <port> | |
*/ | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <netdb.h> |