A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: udp/dns/dns.txt
- Revision:
- 32:679654f2d023
- Parent:
- 13:9cd54f7db57a
- Child:
- 37:793b39683406
--- a/udp/dns/dns.txt Fri Aug 11 17:41:52 2017 +0000 +++ b/udp/dns/dns.txt Thu Aug 17 14:21:02 2017 +0000 @@ -1,21 +1,22 @@ -DNS +DNS -- host name and domain name if network is IPv4 client query O unicast 53053 -> 53 QR=0 client reply I unicast 53053 <- 53 QR=1 -LLMNR +LLMNR -- just the host name client query O multicast 53053 -> 5355 QR=0 client reply I unicast 53053 <- 5355 QR=1 server query I multicast 5355 <- xxxxx QR=0 server reply O unicast 5355 -> xxxxx QR=1 -MDNS +MDNS -- host name + '.local' client query O multicast 5353 -> 5353 QR=0 client reply I multicast 5353 <- 5353 QR=1 server query I multicast 5353 <- 5353 QR=0 server reply O multicast 5353 -> 5353 QR=1 -ReceivedPacket(dnsProtocol, ...) +Dns directs packets to DnsReply(receive) and DnsServer(receive and send) and polls for DnsQuery(send) packets -ip6 -mdns -dnsserverhandlequery \ No newline at end of file +DnsCache holds names against addresses and synchronises requests and replies. + +DnsHdr and DnsName are helper modules. +