[GH-ISSUE #52] Allow use of SSLKEYLOGFILE to examine DoH network captures #36

Open
opened 2026-03-14 01:06:58 +03:00 by kerem · 4 comments
Owner

Originally created by @jasper- on GitHub (Apr 24, 2023).
Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/52

I would like to show the inner workings of DoH to students.
For this I use wireshark and use the SSLKEYLOGFILE environment variable to store shared secrets of TLS sessions.
When using dnslookup after having set SSLKEYLOGFILE variable using export, the file does not get created.
I am running dnslookup v. 1.8.1-8619 - installed from the snap-store - on Ubuntu 22.04.2 LTS.

Would it be an option to make this work?

Originally created by @jasper- on GitHub (Apr 24, 2023). Original GitHub issue: https://github.com/ameshkov/dnslookup/issues/52 I would like to show the inner workings of DoH to students. For this I use wireshark and use the SSLKEYLOGFILE environment variable to store shared secrets of TLS sessions. When using dnslookup after having set SSLKEYLOGFILE variable using export, the file does not get created. I am running dnslookup v. 1.8.1-8619 - installed from the snap-store - on Ubuntu 22.04.2 LTS. Would it be an option to make this work?
Author
Owner

@ameshkov commented on GitHub (Apr 25, 2023):

First, this functionality should be added to dnsproxy as dnslookup uses it under the hood.

<!-- gh-comment-id:1521425294 --> @ameshkov commented on GitHub (Apr 25, 2023): First, this functionality should be added to [dnsproxy](https://github.com/AdguardTeam/dnsproxy) as dnslookup uses it under the hood.
Author
Owner

@grasstractor commented on GitHub (Sep 14, 2023):

First, this functionality should be added to dnsproxy as dnslookup uses it under the hood.

I have the same question regarding DoQ. Do dnsproxy and quic-go already have this functionality, or should they add it?"

<!-- gh-comment-id:1718845932 --> @grasstractor commented on GitHub (Sep 14, 2023): > First, this functionality should be added to [dnsproxy](https://github.com/AdguardTeam/dnsproxy) as dnslookup uses it under the hood. I have the same question regarding DoQ. Do [dnsproxy](https://github.com/AdguardTeam/dnsproxy) and [quic-go](https://github.com/quic-go/quic-go) already have this functionality, or should they add it?"
Author
Owner

@ameshkov commented on GitHub (Sep 14, 2023):

quic-go seems to support it, dnsproxy not yet.

<!-- gh-comment-id:1718871359 --> @ameshkov commented on GitHub (Sep 14, 2023): quic-go seems to support it, dnsproxy not yet.
Author
Owner

@grasstractor commented on GitHub (Sep 14, 2023):

quic-go seems to support it, dnsproxy not yet.

Yes, I found that quic-go has the functionality to support it. However, dnsproxy still needs to support it, or it will be too difficult for users to use it with dnslookup.

<!-- gh-comment-id:1718929960 --> @grasstractor commented on GitHub (Sep 14, 2023): > quic-go seems to support it, dnsproxy not yet. Yes, I found that quic-go has the functionality to support it. However, dnsproxy still needs to support it, or it will be too difficult for users to use it with dnslookup.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dnslookup#36
No description provided.