[SR-Users] dns queries on ipv6 addresses

Juha Heinanen jh at tutpro.com
Wed Oct 24 13:14:54 CEST 2012


from the mailing list archives i have learned that

dns_try_ipv6=yes

in config file is supposed to prevent dns query on ipv6 address.

if i have it "no", i get to syslog:

Oct 24 14:07:35 siika /usr/sbin/sip-proxy[17958]: INFO: Request URI is <sip:+35832345679@[2002:c062:670a::10]:4050;transport=udp>
Oct 24 14:07:35 siika pdns[4269]: Received a malformed qdomain from 127.0.0.1, '[2002:c062:670a::10]': sending servfail
Oct 24 14:07:35 siika pdns[4269]: Received a malformed qdomain from 127.0.0.1, '[2002:c062:670a::10]': sending servfail
Oct 24 14:07:35 siika pdns[4269]: Received a malformed qdomain from 127.0.0.1, '[2002:c062:670a::10]': sending servfail
Oct 24 14:07:35 siika /usr/sbin/sip-proxy[17958]: ERROR: tm [ut.h:314]: ERROR: uri2dst: failed to resolve "[2002:c062:670a::10]" :unresolvable A or AAAA request (-7)
Oct 24 14:07:35 siika /usr/sbin/sip-proxy[17958]: ERROR: tm [t_fwd.c:1530]: ERROR: t_forward_nonack: failure to add branches

and sip proxy naturally does not send anything out.

if i have it "yes", request is sent out properly, but still sip proxy
makes dns queries on the ipv6 address:

Oct 24 14:08:35 siika /usr/sbin/sip-proxy[18196]: INFO: Request URI is <sip:+35832345679@[2002:c062:670a::10]:4050;transport=udp>
Oct 24 14:08:35 siika pdns[4269]: Received a malformed qdomain from 127.0.0.1, '[2002:c062:670a::10]': sending servfail
Oct 24 14:08:35 siika pdns[4269]: Received a malformed qdomain from 127.0.0.1, '[2002:c062:670a::10]': sending servfail
Oct 24 14:08:35 siika pdns[4269]: Received a malformed qdomain from 127.0.0.1, '[2002:c062:670a::10]': sending servfail

why is that?  how to completely prevent dns queries on ipv6 addresses?

-- juha



More information about the sr-users mailing list