Comments (3)
Here is the citation:
Z Reserved for future use. Must be zero in all queries
and responses.
As I understand the text if a bit is set the request may be a different thing at all. Like a domain name is in a different encoding or something. All of that may have security implications.
Anyway, what is "AD" bit (any link)? If it's something that is widely used let's just implement it.
from dns-parser.
Here's it: https://www.ietf.org/rfc/rfc3655.txt.
Wireshark also shows "Non-authenticated data: Unacceptable" for the next bit (set as 0 by dig), but I didn't find any link explaining what it is.
from dns-parser.
Hm, it looks like we need to expose that bit as a boolean flag, but can otherwise ignore it. Do you want to make a pull request?
from dns-parser.
Related Issues (16)
- Couple of comments on parsing HOT 3
- Make new release with two most recent commits? HOT 3
- Unsupported query types are being parsed as A records HOT 2
- Valid TXT records may contain binary data HOT 3
- TXT: there can't be multiple chunks in a single RDATA field HOT 1
- multiple TXT records should not always be concatenated. HOT 3
- Nameservers and storing offsetted values HOT 5
- This is great! HOT 3
- Using ResourceRecord as a HashMap key HOT 1
- can't figure out how to access rdata as [u8] HOT 1
- Can't figure out how to get RRType from Resource Record HOT 1
- How do I turn dns_parser::Packet back into bytes? HOT 4
- query type 65 is invalid - unparsed HTTPS query_type HOT 2
- label is not ascii errors with hostnames containing utf8 characters HOT 1
- Make new version with additional record parsing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dns-parser.