Re: Doubt with towiresorted

2011-07-06 Thread Kevin Darcy
On 7/6/2011 4:36 AM, Vignesh Gadiyar wrote: Got your point. I meant answer sections in the Response from the DNS server itself. It contains 4 sections namely Question, Answer, Authoritative and Additional sections right. I used the rrset-order in named.conf to set order to random which was norm

Re: Doubt with towiresorted

2011-07-06 Thread Vignesh Gadiyar
Got your point. I meant answer sections in the Response from the DNS server itself. It contains 4 sections namely Question, Answer, Authoritative and Additional sections right. I used the rrset-order in named.conf to set order to random which was normally Cyclic. The result was that only the answer

Re: Doubt with towiresorted

2011-07-04 Thread Kevin Darcy
On 7/1/2011 2:40 AM, Vignesh Gadiyar wrote: I have created a static zone file for "www.abcd.com " with the Answer section entries Hold it right there. A zone file doesn't contain "answer sections", it contains zone data. That's an important, fundamental distinction. "Ans

Doubt with towiresorted

2011-07-01 Thread Vignesh Gadiyar
I have created a static zone file for "www.abcd.com" with the Answer section entries containing 2 IP addresses like 1.1.1.1 and 2.2.2.2. I tried to print these addresses in the towiresorted function for the random order like -> for(i=0;idata); inet_ntop(AF_INET,&(ip_host),adstr,ads