-
-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
Steps to reproduce:
- Clone the node-dns repo and do npm install
- run node example/index.js
Actual result:
Prints [] and then hangs.
Expected result:
An actual result.
If I run tcpdump while running example/index.js, I see a SERVFAIL response from google's DNS server:
$ sudo tcpdump -X host 8.8.8.8
tcpdump: data link type PKTAP
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on pktap, link-type PKTAP (Apple DLT_PKTAP), capture size 262144 bytes
18:38:18.452157 IP 172.20.10.7.51217 > dns.google.domain: 7873 Type0? google.com. (28)
0x0000: c698 80e9 e264 80e6 5014 bf1c 0800 4500 .....d..P.....E.
0x0010: 0038 5435 0000 4011 6055 ac14 0a07 0808 .8T5..@.`U......
0x0020: 0808 c811 0035 0024 3fbb 1ec1 0000 0001 .....5.$?.......
0x0030: 0000 0000 0000 0667 6f6f 676c 6503 636f .......google.co
0x0040: 6d00 0000 0001 m.....
18:38:18.525937 IP dns.google.domain > 172.20.10.7.51217: 7873 ServFail 0/0/0 (28)
0x0000: 80e6 5014 bf1c c698 80e9 e264 0800 4580 ..P........d..E.
0x0010: 0038 efdc 0000 7811 8c2d 0808 0808 ac14 .8....x..-......
0x0020: 0a07 0035 c811 0024 bf38 1ec1 8082 0001 ...5...$.8......
0x0030: 0000 0000 0000 0667 6f6f 676c 6503 636f .......google.co
0x0040: 6d00 0000 0001 m.....
^C
2 packets captured
7 packets received by filter
0 packets dropped by kernel
The other script in example/ work as expected.
Metadata
Metadata
Assignees
Labels
No labels