Error Creating A Dns Resolver Socket Network Is Unreachable
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error Message from DnsResolver.pm after removing IPv6 up vote -1 down vote favorite After removing IPv6 (to get KVM working) from /etc/network/interfaces, I'm getting lately the following error: error creating a DNS resolver socket: Network is unreachable at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 235. Any idea on how to fix this problem? I'm using Debian Wheezy. domain-name-system debian debian-wheezy spamassassin share|improve this question edited Dec 22 '14 at 9:48 masegaloeh 14.1k72566 asked Dec 17 '14 at 14:35 Fadi Asbih 165 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Commenting out the ip6 from /etc/resolv.conf solved the issue. # nameserver config nameserver 213.133.100.100 nameserver 213.133.98.98 nameserver 213.133.99.99 #nameserver 2a01:4f8:0:a111::add:9898 #nameserver 2a01:4f8:0:a102::add:9999 #nameserver 2a01:4f8:0:a0a1::add:1010 share|improve this answer answered Dec 22 '14 at 9:44 Fadi Asbih 165 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privac
Post #1 of 6 (1406 views) Permalink Help needed with possible DNS problems I'm new to SpamAssassin so not sure whether my logs indicate a problem. I can't be sure, but it looks like all attempts at checking DNS blacklists are failing. Running Debian Wheezy SpamAssassin package (v 3.2.2) spamd is invoked http://serverfault.com/questions/653204/error-message-from-dnsresolver-pm-after-removing-ipv6 with the following options: --create-prefs --max-children 5 --username=vmail --nouser-config --virtual-config-dir=/var/spamassassin --helper-home-dir When I start spamd I get the following log: Oct 4 13:37:26 buildoneforme spamd[25172]: error creating a DNS resolver socket: Invalid argument at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 235. Oct 4 13:37:27 buildoneforme spamd[25172]: plugin: eval failed: error closing http://www.gossamer-threads.com/lists/spamassassin/users/188243 socket: Bad file descriptor at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 568. Here's what happens when spamd checks email (run from exim4) Oct 4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line 173,
Answers Home All Categories Arts & Humanities Beauty & Style Business & Finance Cars & Transportation Computers & Internet Consumer Electronics Dining Out Education & Reference Entertainment & Music Environment Family & Relationships Food & Drink https://answers.yahoo.com/question/?qid=20070811085712AARsap8 Games & Recreation Health Home & Garden Local Businesses News & Events Pets Politics & Government Pregnancy & Parenting Science & Mathematics Social Science Society & Culture Sports Travel Yahoo Products International Argentina Australia Brazil Canada France Germany India Indonesia Italy Malaysia Mexico New Zealand Philippines Quebec Singapore Taiwan Hong error creating Kong Spain Thailand UK & Ireland Vietnam Espanol About About Answers Community Guidelines Leaderboard Knowledge Partners Points & Levels Blog Safety Tips Computers & Internet Computer Networking Next Spamassassin configuration problem? What does this error mean? Aug 11 11:58:40 sp5044 spamd[25323]: dns: sendto() failed: Connection refused at /usr/share/perl5/Mail/SpamAssassin/DnsRe... line 339,