Skip to content

Commit 7e4a380

Browse files
authored
Merge pull request #3015 from lifenjoiner/dhcperr
Show $DHCP resolving errors
2 parents 624abfb + 62230b3 commit 7e4a380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dnscrypt-proxy/plugin_forward.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ func (plugin *PluginForward) Eval(pluginsState *PluginsState, msg *dns.Msg) erro
282282
for _, dhcpdns := range plugin.dhcpdns {
283283
inconsistency, ip, dhcpDNS, err := dhcpdns.Status()
284284
if err != nil && ip != "" && inconsistency > maxInconsistency {
285-
dlog.Infof("No response from the DHCP server while resolving [%s]", qName)
285+
dlog.Infof("No response from the DHCP server while resolving [%s]: %v", qName, err)
286286
continue
287287
}
288288
if len(dhcpDNS) > 0 {

0 commit comments

Comments
 (0)