|
From: | Thompson, Jeff |
Subject: | Re: [lwip-devel] [bug #56280] lwIP DNS need to support CNAME Resource Record |
Date: | Wed, 15 Jul 2020 16:12:05 +0000 |
Chris, Sorry, but I haven’t tried your solution. I wanted something that would work from the highest level, so I created the function function netconn_gethostCname(). Whereas our solution only changed dns.c., my changes are spread across several
files, and are conditionalized with CNAME_HACK. If you call netconn_gethostCname( myHostname, myHostCname), Where myHostName is the URL for which you want the CNAME, and myHostCanem is where you want the result stored, it should work. For example: hostCNameTask Looking up CName for '16662.lb.invue-am.com' hostCNameTask CName 'dev-ir4-sso.invue-am.com' Jeff Thompson | Senior Electrical
Engineer-Firmware From: Christopher Nocker <nocker02@gmail.com> Hi Jeff, Our implementations are slightly different in what they are trying to achieve. I was trying to iterate over the response from the DNS server to see if an A record was present (i.e. when the DNS server would have done the recursion and
all of the CNAMEs for the query would be in the response). Your implementation is explicitly looking for the CNAME response to a query. I have tried your implementation and queried a name which I know has a couple of CNAMEs in the response but my application was never able to resolve it. Maybe I'm using it wrong? I'm guessing that it is working for you? Did you try my implementation? Does my implementation suit your needs? Regards, Chris On Tue, Jun 30, 2020 at 8:21 PM Thompson, Jeff <JeffThompson@invue.com> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |