diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 89a0db6f38..2101b552f6 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Tue Jun 23 14:43:15 CDT 2009 +Tue Jun 23 14:44:02 CDT 2009 diff --git a/libs/sofia-sip/libsofia-sip-ua/sresolv/check_sres_sip.c b/libs/sofia-sip/libsofia-sip-ua/sresolv/check_sres_sip.c index fc88d39add..0867d7f7bf 100644 --- a/libs/sofia-sip/libsofia-sip-ua/sresolv/check_sres_sip.c +++ b/libs/sofia-sip/libsofia-sip-ua/sresolv/check_sres_sip.c @@ -421,25 +421,28 @@ START_TEST(found_cname) su_addrinfo_t const *ai; url_string_t *uri; - s2_dns_record("cname1.example.com", sres_type_a, + s2_dns_default("example.com."); + + s2_dns_record("cname1.example.com.", sres_type_a, + "", sres_type_cname, "a.example.com.", + "a", sres_type_a, "11.12.13.14", + NULL); + + s2_dns_record("cname1.example.com.", sres_type_naptr, "", sres_type_cname, "a.example.com.", NULL); - s2_dns_record("cname1.example.com", sres_type_naptr, + s2_dns_record("cname1.example.com.", sres_type_aaaa, "", sres_type_cname, "a.example.com.", NULL); - s2_dns_record("cname1.example.com", sres_type_aaaa, - "", sres_type_cname, "a.example.com.", - NULL); - - s2_dns_record("a.example.com", sres_type_a, + s2_dns_record("a.example.com.", sres_type_a, "", sres_type_a, "11.12.13.14", NULL); - s2_dns_record("cname2.example.com", sres_type_a, + s2_dns_record("cname2.example.com.", sres_type_a, "", sres_type_cname, "a.example.com.", - "test.example.com", sres_type_a, "11.12.13.14", + "test.example.com.", sres_type_a, "11.12.13.14", NULL); uri = (void *)"sip:cname1.example.com";