WebExtension API for DNS TXT resolution
Categories
(Thunderbird :: Add-Ons: Extensions API, enhancement)
Tracking
(Not tracked)
People
(Reporter: lieser2, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
I want to be able to do DNS TXT queries via the WebExtensions API
Actual results:
Currently browser.dns.resolve() (https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/dns/resolve) does not support TXT records.
Expected results:
DNS TXT resolution should be possible.
If a single TXT record contains multiple string, all must be returned.
If the resolving fails, the reason why should be reported. E.g. it should be possible to distinguish between a non-existent domain, and an unreachable server.
If DNS.jsm is used as a backend, this is blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=1583053
Note that there also exist a request to add it in Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=1449171).
Comment 1•4 years ago
|
||
Moving to WebExtensions/Untriaged.
Comment 2•4 years ago
|
||
This bug may be a duplicate of bug 1449171, but I don't know for sure. It is definitely an enhancement regarding Request Handling.
Note that I deliberately filed this as a separate bug for the Thunderbird Product. If bug 1449171 gets implemented this one can of course also be closed.
But if this does not get implemented in Firefox, I wanted the Thunderbird developers to consider adding it to the Thunderbird specific WebExtensions APIs. As mentioned in my original post, Thunderbird already has a code that could be reuses to implement this.
Comment 4•4 years ago
|
||
Moving back to TB per comment 3
Comment 5•4 years ago
•
|
||
The DNS API is not specific to Firefox. If they fix it, we get it. If not, I recommend doing this as a WebExtension experiment. We won't be making Thunderbird specific extensions to this API.
Description
•