Giter VIP home page Giter VIP logo

Comments (4)

miekg avatar miekg commented on June 23, 2024

See https://ednscomp.isc.org/compliance/summary.html

from coredns.

miekg avatar miekg commented on June 23, 2024

First test:

% dig +norec +edns=0 soa miek.nl @linode.atoom.net                            ~
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 59413
;; Flags: qr aa ra; QUERY: 1; ANSWER: 1; AUTHORITY: 0; ADDITIONAL: 0

;; QUESTION SECTION:
;; miek.nl.                 IN  SOA

;; ANSWER SECTION:
miek.nl.                1800    IN  SOA linode.atoom.net. miek.miek.nl. 1460088781 14400 3600 604800 14400

;; Received 82 B
;; Time 2016-04-08 07:40:23 BST
;; From 2a01:7e00::f03c:91ff:feae:e74c@53(UDP) in 9.7 ms

Missing

;; EDNS PSEUDOSECTION:
;; Version: 0; flags: ; UDP size: 4096 B; ext-rcode: Unused

For instance...

Should just put the above page in an edns0_test.go file, load a fake zone. Also take care that that "dropped" zone (i.e. did not enter the middleware) takes care of this. Also check the etcd middleware, prolly need a function in the middleware directory that does most of this, or on state and cache a few bits...

from coredns.

miekg avatar miekg commented on June 23, 2024

I could add a middleware to add or fixes the EDNS0 in the packet, this would work similar to the rewrite middleware, but is on by default. The only downside is TSIG signed packets - also [IA]XFR... might just go ahead and fix this for the file middleware, see what can be applied to etcd middleware, abstract that and put in the middleware directory.

from coredns.

miekg avatar miekg commented on June 23, 2024

Fixed in all middleware, respond correctly to EDNS0 options in the middleware.

from coredns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.