search for: rdclass

Displaying 4 results from an estimated 4 matches for "rdclass".

Did you mean: r_class
2007 May 21
1
[PATCH] Add support for ldns
...(rrset->rri_sigs[i].rdi_data); - } - free(rrset->rri_sigs); - } - - if (rrset->rri_name) - free(rrset->rri_name); - free(rrset); -} - /* * DNS response parsing routines */ @@ -606,5 +584,220 @@ return (n); } + +#else + +int +getrrsetbyname(const char *hostname, unsigned int rdclass, + unsigned int rdtype, unsigned int flags, + struct rrsetinfo **res) +{ + int result; unsigned int i; unsigned int j; + struct rrsetinfo *rrset = NULL; + + unsigned int index_ans; unsigned int index_sig; + struct rdatainfo *rdata; + + ldns_resolver * ldns_res;...
2009 Jun 29
2
openbsd-compat/getrrsetbyname.c: answer buffer size too large for EDNS0 and glibc
...ER_SIZE to 65535. Of course, the stub-resolver should probably catch this kind of problem, too. openbsd-compat/getrrsetbyname.c: [...] #define ANSWER_BUFFER_SIZE 1024*64 [...] getrrsetbyname() [...] u_char answer[ANSWER_BUFFER_SIZE]; [...] length = res_query(hostname, (signed int) rdclass, (signed int) rdtype, answer, sizeof(answer)); [...] In the glibc stub-resolver, "sizeof(answer)" is eventually passed on as "anslen" to __res_nopt() in resolv/res_mkquery.c: [...] NS_PUT16(anslen & 0xffff, cp); /* CLASS = UDP payload size */ and sent...
2010 Oct 22
2
Interix Port
Hi! I recently updated my now long-standing patches for openssh 5.5p1 on interix, and wondered if i ever reported those here, and whether there would be any interest in it anyway. So just to make sure, i'm sending it here, so you may do with it however you like. It would be cool to see the changes go upstream though ;) Regards, markus -------------- next part -------------- A non-text
2010 Aug 11
3
samba 4 dns-update issue
Hi all, I've setup samba4 according to the samba4 wiki on centOS 5.4 in KVM. This went without any problems. I only had to install a higher version of bind to 9.6.x because Centos bind in repo will install version 9.3.x. I've used the Fedora12 source rpms for this to build bind 9.6.x on Centos 5.4. Then I configured bind according to the samba wiki