udns returns DNS_E_NXDOMAIN when domain exists but SRV records does not exist
Iñaki Baz Castillo
ibc at aliax.net
Tue Jun 21 14:30:36 MSD 2011
2011/6/21 Iñaki Baz Castillo <ibc at aliax.net>:
> 2011/6/20 <mjt at corpit.ru>:
>> This is exactly backwards. From DNS viewpoint, whole
>> _sip._udp.kamailio.org is a regular domain name, it is not
>> the same as kamailio.org. Returning something other than NXDOMAIN
>> in this case is wrong.
>
> Hi, I don't understand it. As I said, the symbol "_" is *not* a valid
> symbol in a domain name, so for sure "_sip._udp.kamailio.org" should
> not be considered as a whole domain (if so, it should be discarded as
> invalid domain).
>
> I will do some network traces and inspect what the DNS server replies.
It's not an error in udns. I've captured DNS traces and indeed, even
Google DNS replies "0011 = Reply code: No such name (3)". So, is it a
bug in DNS protocol? :)
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the udns
mailing list