signalwire / freeswitch

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
https://freeswitch.com/#getting-started
Other
3.5k stars 1.4k forks source link

Add EDNS support to DNS queries to handle larger responses #907

Open bwmarrin opened 3 years ago

bwmarrin commented 3 years ago

Is your feature request related to a problem? Please describe. Flowroute SRV records are large enough that AWS DNS will not respond with them unless the EDNS flag is set or TCP is used. When this happened, my FreeSWITCH installation suddenly quit working for outbound calls. When FreeSWITCH queries DNS for SRV records it is not setting the EDNS flag to allow for larger responses.

Describe the solution you'd like I would like FreeSWITCH to set the EDNS flag and support 4k DNS responses.

Describe alternatives you've considered Use a DNS server that sends the larger response regardless of the ENDS setting or tell FreeSWITCH to not use SRV records. I don't think either of these are good solutions as the first is subject to change and the second reduces the reliability of the FreeSWITCH install.

Package version or git hash

dragos-oancea commented 3 years ago

we had a discussion about this. Does adding "options edns0" in /etc/resolv.conf change anything ?