On Mon, Jul 8, 2013 at 9:16 AM, Jens Thiele <ka...@karme.de> wrote:

> > Output:
> >
> >     y.c:44: error: r=-2 Name or service not known
> >
> > Output after replacing "karme.de." with "www.google.com": none; the
> program
> > completed successfully.
> >
> > Output after doing "iptables -I OUTPUT -p udp -m udp --dport 53 -j DROP":
> >
> >     y.c:29: error: r=-5 No address associated with hostname
> >
> > Comments?
>
> you have to use a name with A but no AAAA record for the test:
>

After "iptables -I OUTPUT -p udp -m udp --dport 53 -j DROP" the output of
the program is the same whether hosts="www.google.com." or "karme.de.".
 It's

         y.c:29: error: r=-5 No address associated with hostname

-- 
Thomas

Reply via email to