<div dir="ltr">Problem: I am doing a DNS query 
and i see that queries are first sent for AAAA address and then sent for
 A on failure of AAAA option.<br><br>Restriction from my side:<br>1) I can not disable IPV6, as it is required by some other module.<br>2) I tried options like "single-request" but it didn't work, I still see queries sent for AAAA<br>3) I even tried compiling "dnsmasq" with option -DNO_IPV6. still i see it sends IPV6 query.<br><br>I am using RHEL5 and I dont see an easy option of disabling IPV6 only for "dnsmasq"<br><br>1) Can any one help with either how to modify code to disable IPV6 query or <br>2) provide some option so that no IPV6 queries being sent. or<br>3) I see that AAAA query takes 5 sec to timeout, is there any way to restrict it to 1 sec?<br><br>Any help here is really appreciated.<br><br>Regards,<br>Sharan</div>