perl-net-dns-resolver-programmable used the undocumented and internal method Net::DNS::rcodesbyname [0], and that interface is no longer exposed. This patch, copied from [1], makes the program check for the existence of the method before trying to use it. [0] [1] diff --git a/lib/Net/DNS/Resolver/Programmable.pm b/lib/Net/DNS/Resolver/Programmable.pm index 1af72ce..e09a2f0 100644 --- a/lib/Net/DNS/Resolver/Programmable.pm +++ b/lib/Net/DNS/Resolver/Programmable.pm @@ -203,8 +203,10 @@ sub send { if (defined(my $resolver_code = $self->{resolver_code})) { ($result, $aa, @answer_rrs) = $resolver_code->($domain, $rr_type, $class); } - - if (not defined($result) or defined($Net::DNS::rcodesbyname{$result})) { + + if (not defined($result) + or defined($Net::DNS::Parameters::rcodebyname{$result}) + or defined($Net::DNS::rcodesbyname{$result})) { # Valid RCODE, return a packet: $aa = TRUE if not defined($aa); href='/guix/log/gnu/machine'>logtreecommitdiff
AgeCommit message (Expand)Author
2019-12-08machine: Remove unnecessary record self-referencing bindings....Ludovic Courtès
2019-12-07machine: ssh: Deprecate missing 'host-key' field....Ludovic Courtès
2019-12-04machine: ssh: <machine-ssh-configuration> can include the host key....Ludovic Courtès
2019-10-22machine: digital-ocean: Rename 'enable-ipv6' to 'enable-ipv6?'....Ludovic Courtès
2019-10-22machine: Implement 'digital-ocean-environment-type'....Jakob L. Kreuze
2019-08-17machine: ssh: Fix sanity checks....宋文武
2019-08-16machine: Use 'become-command'....Jakob L. Kreuze
2019-08-15machine: Automatically authorize the coordinator's signing key....Jakob L. Kreuze
2019-08-15machine: Implement 'roll-back-machine'....Jakob L. Kreuze
2019-08-15machine: Allow non-root users to deploy....Jakob L. Kreuze
2019-08-14remote: Build derivations appropriate for the remote's...Jakob L. Kreuze
2019-08-07machine: Add 'build-locally?' field for managed hosts....Jakob L. Kreuze
2019-08-06machine: Implement safety checks....Jakob L. Kreuze
2019-08-06machine: Rename 'system' field....Jakob L. Kreuze
2019-07-26guix system: Add 'reconfigure' module....Jakob L. Kreuze
2019-07-18machine: Fix typo....Tobias Geerinckx-Rice
2019-07-06gnu: Add machine type for deployment specifications....Jakob L. Kreuze