lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #9721] DNS: Allow a DNS look-up with a trailing dot


From: Craig McQueen
Subject: [lwip-devel] [patch #9721] DNS: Allow a DNS look-up with a trailing dot in the name
Date: Wed, 14 Nov 2018 18:57:07 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

Follow-up Comment #3, patch #9721 (project lwip):

That makes sense.

So the check for trailing dot would be implemented in
dns_gethostbyname_addrtype()?

The one difficulty I see with passing a hostnamelen to dns_lookup() is, that
would affect the call to DNS_LOOKUP_LOCAL_EXTERN(). Either the hostnamelen
would have to be passed to DNS_LOOKUP_LOCAL_EXTERN(), which would change the
API, or else dns_lookup() would need to make a local temporary copy of the
name, with the trailing dot removed. What's the best thing to do?

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9721>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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