I'm trying to do a DNS request of "_gateway" but I got 202 error,
esp.emac: receive len= 69
lwip: dns_recv: "_gateway": error in flags
If I use another name, eg: google.com it works.
This is how the request looks like:
Domain Name System (query)
Transaction ID: 0x19f5
Flags: 0x0100 Standard query
0... .... .... .... = Response: Message is a query
.000 0... .... .... = Opcode: Standard query (0)
.... ..0. .... .... = Truncated: Message is not truncated
.... ...1 .... .... = Recursion desired: Do query recursively
.... .... .0.. .... = Z: reserved (0)
.... .... ...0 .... = Non-authenticated data: Unacceptable
Questions: 1
Answer RRs: 0
Authority RRs: 0
Additional RRs: 0
Queries
_gateway: type A, class IN
Name: _gateway
[Name Length: 8]
[Label Count: 1]
Type: A (1) (Host Address)
Class: IN (0x0001)
If I do a DNS query on Linux, it works,
I compared the two requests and the difference is this flag
Flags: 0x0120 Standard query
.... .... ..1. .... = AD bit: Set
and there is an entry "Additional records" with stuff..
I can't capture the router response...
Any ideia?
Mario
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users