DNS issues with Net::DNS 1.02
Closed this issue · 0 comments
marcbradshaw commented
Suspect this is to do with the internal dns cache, considering dropping the cache completely as this should be done in the local resolver anyway, this will require some tests to be rewritten as they rely on the cache.
ERROR: Connect callback error *** FATAL PROGRAM ERROR!! Unknown method 'defined'
*** which the program has attempted to call for the object:
***
;; EDNS version 0
;; flags: 0000
;; rcode: NOERROR
;; size: 1240
;; option:
***
*** The 1388 Net::DNS::RR::OPT object has no method 'defined'
*** THIS IS A BUG IN THE CALLING SOFTWARE, which incorrectly assumes
*** that the object would be of a particular type. The type of an
*** object should be checked before calling any of its methods.
at /usr/local/share/perl/5.20.2/Net/DNS/Packet.pm line 197.
Net::DNS::Packet::encode called at /usr/local/share/perl/5.20.2/Net/DNS/Packet.pm line 187
Net::DNS::Packet::data(Net::DNS::Packet=HASH(0x6d2e880)) called at /usr/local/share/perl/5.20.2/Net/DNS/Resolver/Base.pm line 495
Net::DNS::Resolver::Base::send(Net::DNS::Resolver=HASH(0x6d37970), "2607:f8b0:4001:0c05:0000:0000:0000:0232", "PTR") called at /usr/local/share/perl/5.20.2/Mail/Milter/Authentication/DNSCache.pm line 123
Net::DNS::Resolver::cache_lookup(Net::DNS::Resolver=HASH(0x6d37970), "send", "2607:f8b0:4001:0c05:0000:0000:0000:0232", "PTR") called at /usr/local/share/perl/5.20.2/Mail/Milter/Authentication/DNSCache.pm line 42
Net::DNS::Resolver::send(Net::DNS::Resolver=HASH(0x6d37970), "2607:f8b0:4001:0c05:0000:0000:0000:0232", "PTR") called at /usr/local/share/perl/5.20.2/Net/DNS/Resolver/Base.pm line 485
Net::DNS::Resolver::Base::query(Net::DNS::Resolver=HASH(0x6d37970), "2607:f8b0:4001:0c05:0000:0000:0000:0232", "PTR") called at /usr/local/share/perl/5.20.2/Mail/Milter/Authentication/DNSCache.pm line 126
Net::DNS::Resolver::cache_lookup(Net::DNS::Resolver=HASH(0x6d37970), "query", "2607:f8b0:4001:0c05:0000:0000:0000:0232", "PTR") called at /usr/local/share/perl/5.20.2/Mail/Milter/Authentication/DNSCache.pm line 48
Net::DNS::Resolver::query(Net::DNS::Resolver=HASH(0x6d37970), "2607:f8b0:4001:0c05:0000:0000:0000:0232", "PTR") called at /usr/local/share/perl/5.20.2/Mail/Milter/Authentication/Handler/IPRev.pm line 54
Mail::Milter::Authentication::Handler::IPRev::connect_callback(Mail::Milter::Authentication::Handler::IPRev=HASH(0x6d90078), "mail-ig0-x232.google.com", Net::IP=HASH(0x6d54660)) called at /usr/local/share/perl/5.20.2/Mail/Milter/Authentication/Handler.pm line 62
eval {...} called at /usr/local/share/perl/5.20.2/Mail/Milter/Authentication/Handler.pm line 50
Mail::Milter::Authentication::Handler::top_connect_callback(Mail::Milter::Authentication::Handler=HASH(0x6d48048), "mail-ig0-x232.google.com", Net::IP=HASH(0x6d54660)) called at /usr/local/share/perl/5.20.2/Mail/Milter/Authentication/Protocol/Milter.pm line 52
Mail::Milter::Authentication::Protocol::Milter::milter_process_command(Mail::Milter::Authentication=HASH(0x43ef7e8), "C", "mail-ig0-x232.google.com\x{0}6\x{86}\x{7f}2607:f8b0:4001:c05::232\x{0}") called at /usr/local/share/perl/5.20.2/Mail/Milter/Authentication/Protocol/Milter.pm line 35
Mail::Milter::Authentication::Protocol::Milter::protocol_process_request(Mail::Milter::Authentication=HASH(0x43ef7e8)) called at /usr/local/share/perl/5.20.2/Mail/Milter/Authentication.pm line 236
Mail::Milter::Authentication::process_request(Mail::Milter::Authentication=HASH(0x43ef7e8), Net::Server::Proto::TCP=GLOB(0x6d23c88)) called at /usr/local/share/perl/5.20.2/Net/Server.pm line 74
Net::Server::run_client_connection(Mail::Milter::Authentication=HASH(0x43ef7e8)) called at /usr/local/share/perl/5.20.2/Net/Server/PreFork.pm line 229
eval {...} called at /usr/local/share/perl/5.20.2/Net/Server/PreFork.pm line 229
Net::Server::PreFork::run_child(Mail::Milter::Authentication=HASH(0x43ef7e8)) called at /usr/local/share/perl/5.20.2/Net/Server/PreFork.pm line 187
Net::Server::PreFork::run_n_children(Mail::Milter::Authentication=HASH(0x43ef7e8), 1) called at /usr/local/share/perl/5.20.2/Net/Server/PreFork.pm line 375
Net::Server::PreFork::coordinate_children(Mail::Milter::Authentication=HASH(0x43ef7e8)) called at /usr/local/share/perl/5.20.2/Net/Server/PreFork.pm line 331
Net::Server::PreFork::run_parent(Mail::Milter::Authentication=HASH(0x43ef7e8)) called at /usr/local/share/perl/5.20.2/Net/Server/PreFork.pm line 113
Net::Server::PreFork::loop(Mail::Milter::Authentication=HASH(0x43ef7e8)) called at /usr/local/share/perl/5.20.2/Net/Server.pm line 60
Net::Server::run("Mail::Milter::Authentication", "user", "nobody", "group", "nogroup", "syslog_facility", 16, "port", ARRAY(0x2556408), ...) called at /usr/local/share/perl/5.20.2/Mail/Milter/Authentication.pm line 417
Mail::Milter::Authentication::start(HASH(0x2395e78)) called at /usr/local/bin/authentication_milter line 51
Oct 1 02:56:09 mithrim authentication_milter[22060]: --: ERROR: TempFail set