Maintained by: NLnet Labs

[Unbound-users] SOLVED: Re: sendto failed: Invalid argument

Paul Wouters
Sat Jun 30 23:57:48 CEST 2012


On Sat, 30 Jun 2012, Toni Mueller wrote:

>> Well, I'm actually balding and greying (from black), but I guess this
>> is what some people call a "blonde" moment:
>>
>>> outgoing-interface: 127.0.0.1
>
> I have a real IP in there, but still get these
>
> May 26 11:46:54 debian unbound: [18205:0] notice: sendto failed: Invalid argument
> May 26 11:46:54 debian unbound: [18205:0] notice: remote address is 80.236.108.223 port 0
>
> Jun 10 16:40:57 debian unbound: [18205:0] notice: sendto failed: Invalid argument
> Jun 10 16:40:57 debian unbound: [18205:0] notice: remote address is 67.215.13.106 port 0
>
> and these
>
> Jun 14 02:35:14 debian unbound: [18205:0] notice: sendto failed: Resource temporarily unavailable
> Jun 14 02:35:14 debian unbound: [18205:0] notice: remote address is 64.40.8.45 port 25345
>
> I'm on 1.4.16 atm.

Looks like your firewall might be blocking udp port 53?

Try:

iptables -I INPUT -p all --dport 53 -j ACCEPT
iptables -I OUTPUT -p all --sport 53 -j ACCEPT

Paul