[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #15104] DNS: Support look-up of other RR types

From: Craig McQueen
Subject: [lwip-devel] [task #15104] DNS: Support look-up of other RR types
Date: Tue, 4 Dec 2018 22:41:25 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

Follow-up Comment #2, task #15104 (project lwip):

I'm adding a patch for my experimental development work on this task. It's
reasonably functional, with the following caveats:

* For mDNS look-ups, only the first response is processed. This is a
limitation that limits its usefulness for DNS-SD queries (e.g. doing a PTR
lookup of _http._tcp.local.). It should be expanded to process multiple
responses, with a timeout and/or a "cancel" function as needed.
* In future, it would be good to add a function specifically for doing reverse
DNS look-ups. E.g. looking up the hostname for, it would do a PTR
look-up for A flag would be needed to select between
DNS or mDNS.
* I haven't thoroughly reviewed it to consider packet handling for various
faulty/malicious packets.
* This change is functional, but I'm not happy with the readability and
maintainability of the code. I would like to refactor it if possible, to split
it into more succinct, comprehensible and maintainable functions.

(file #45583)

Additional Item Attachment:

File name: 0001-DNS-Initial-support-for-other-RR-lookups.patch Size:31 KB


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]