I am using Sofia resolver libsofia-sip-ua to resolve FQDNs, currently I configured /etc/resolv.conf as
nameserver 2.2.2.2 (Unreachable)
nameserver 10.74.137.221 (Reachable)
I am using sofia synchrnous query with sres_blocking_query API. I see request is going to primary DNS and then secondary DNS, and seeing a response from secondary DNS but sofia lib is unable to handle the response
Its showing POLLERR.
TCPDUMP OUTPUTs :
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
11:54:10.200277 IP 10.174.75.65.59263 > 2.2.2.2.domain: 62235+ A? radius1.example.com. (37)
11:54:10.200288 IP 10.174.75.65.59263 > 2.2.2.2.domain: 62235+ A? radius1.example.com. (37)
11:54:10.200291 IP 10.174.75.65.59263 > 2.2.2.2.domain: 62235+ A? radius1.example.com. (37)
11:54:10.201063 IP 10.174.75.65.21250 > 2.2.2.2.domain: 5568+ PTR? 2.2.2.2.in-addr.arpa. (38)
11:54:10.201067 IP 10.174.75.65.21250 > 2.2.2.2.domain: 5568+ PTR? 2.2.2.2.in-addr.arpa. (38)
11:54:10.201070 IP 10.174.75.65.21250 > 2.2.2.2.domain: 5568+ PTR? 2.2.2.2.in-addr.arpa. (38)
11:54:11.201309 IP 10.174.75.65.19237 > 10.74.137.221.domain: 62235+ A? radius1.example.com. (37)
11:54:11.201318 IP 10.174.75.65.19237 > 10.74.137.221.domain: 62235+ A? radius1.example.com. (37)
11:54:11.201322 IP 10.174.75.65.19237 > 10.74.137.221.domain: 62235+ A? radius1.example.com. (37)
11:54:11.201766 IP 10.74.137.221.domain > 10.174.75.65.19237: 62235- 1/1/1 A 10.174.75.160 (88)
11:54:11.201766 IP 10.74.137.221.domain > 10.174.75.65.19237: 62235- 1/1/1 A 10.174.75.160 (88)
11:54:11.201766 IP 10.74.137.221.domain > 10.174.75.65.19237: 62235*- 1/1/1 A 10.174.75.160 (88)
Is this bug in sofia resolver code ? Can anyone help on this ?
Thanks.
Saurabha Badhai
Sofia-sip migrated to GitHub. Use https://github.com/freeswitch/sofia-sip/issues/new
Do I need to raise a ticket there in github ?
Thanks,
Saurabha
On Wed, Dec 15, 2021 at 2:50 PM Andrey Volk andywolk@users.sourceforge.net
wrote:
Related
Bugs: #127