Comments (2)
c-ares is parsing correctly the no answer case so this is actually an issue from pycares:
$ ./adig -s 192.5.6.30 -t NS google.com
DNS server returned answer with no data
id: XXXXX
flags: qr rd
opcode: QUERY
rcode: NOERROR
Questions:
google.com . NS
Answers:
NS records:
google.com . 172800 NS ns2.google.com.
google.com . 172800 NS ns1.google.com.
google.com . 172800 NS ns3.google.com.
google.com . 172800 NS ns4.google.com.
Additional records:
ns2.google.com . 172800 AAAA 2001:4860:4802:34::a
ns2.google.com . 172800 A 216.239.34.10
ns1.google.com . 172800 AAAA 2001:4860:4802:32::a
ns1.google.com . 172800 A 216.239.32.10
ns3.google.com . 172800 AAAA 2001:4860:4802:36::a
ns3.google.com . 172800 A 216.239.36.10
ns4.google.com . 172800 AAAA 2001:4860:4802:38::a
ns4.google.com . 172800 A 216.239.38.10
from pycares.
Hi there!
It's not an issue in pycares. c-are's parsing functions do not parse the additional section, AFAIK. adig is doing some manual parsing: https://github.com/c-ares/c-ares/blob/master/adig.c So that would have to be implemented in pycares too, which I'm not thrilled about TBH. I would however, take a PR if you're up for writing one.
from pycares.
Related Issues (20)
- CNAME answers to A request HOT 6
- pytest failed in [email protected] on centos8_aarch64 HOT 1
- Error FileNotFound when installing pycares==4.1.1 HOT 8
- 4.1.2: pytest is failing HOT 5
- `pycares.reverse_address` Import Error HOT 2
- Security vulnerability HOT 2
- 4.2.0: sphinx warnings `reference target not found` HOT 2
- 3.11 wheels HOT 2
- Can't build from sources on EL8 HOT 3
- 4.2.2: pytest is failing in two units HOT 8
- Fail to install on centos docker HOT 4
- 4.3.0: pytest is failing in `tests/test_all.py::DNSTest::test_custom_resolvconf` unit HOT 5
- test_query_class_chaos started failing
- TLSA record HOT 2
- pycares fails to install in arm8 android device HOT 16
- Update c-ares to 1.24 HOT 1
- [NOT_CRITICAL] Missing Flags: ARES_FLAG_EDNS, ARES_FLAG_NO_DFLT_SVR HOT 1
- Intermittent freeze: Channel.query() call never returning HOT 1
- Cannot build in termux amr8v
- Test regression with c-ares 1.32 HOT 5
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 pycares.