We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
github.com/ameshkov/dnscrypt/v2@v2.1.3/client.go:216 r, _, err := client.Exchange(query, stamp.ServerAddrStr)
It request certificate using plaintext not encrypted DNS request, so I want 2 functions to set certificate information.
new--->func (c *Client) SetCertInfo(stamp dnsstamps.ServerStamp, certinfo dns.Msg) (*ResolverInfo, error) from--->func (c *Client) Dial(stampStr string) (*ResolverInfo, error) new-->func (c *Client) SetCertInfoByStamp(stampStr string, certinfo dns.Msg) (*ResolverInfo, error) from--->func (c *Client) DialStamp(stampStr string) (*ResolverInfo, error)
The text was updated successfully, but these errors were encountered:
That's how it's supposed to work according to DNSCrypt spec: https://dnscrypt.info/protocol/
If you want to avoid this, you can compose ResolverInfo manually without using these two functions.
ResolverInfo
Sorry, something went wrong.
If It has 2 new functions, I think I can add a switch to control it. #11
No branches or pull requests
github.com/ameshkov/dnscrypt/v2@v2.1.3/client.go:216
r, _, err := client.Exchange(query, stamp.ServerAddrStr)
It request certificate using plaintext not encrypted DNS request, so I want 2 functions to set certificate information.
new--->func (c *Client) SetCertInfo(stamp dnsstamps.ServerStamp, certinfo dns.Msg) (*ResolverInfo, error)
from--->func (c *Client) Dial(stampStr string) (*ResolverInfo, error)
new-->func (c *Client) SetCertInfoByStamp(stampStr string, certinfo dns.Msg) (*ResolverInfo, error)
from--->func (c *Client) DialStamp(stampStr string) (*ResolverInfo, error)
The text was updated successfully, but these errors were encountered: