<p dir="ltr">Actually I have database which i need to link it with which will decide what users will be getting the fake reply rather than what they have queried for.</p>
<p dir="ltr">This will be decided upon the domains they are querying for.<br>
i want a user to get fake reply for a particular domain he is trying to visit.</p>
<p dir="ltr">Thanks</p>
<div class="gmail_quote">On 14-Jun-2016 6:41 PM,  <<a href="mailto:wkitty42@gmail.com">wkitty42@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 06/14/2016 08:30 AM, ravin goyal wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Sir<br>
<br>
I actually need to do it in code rather than in the conf file itself.<br>
Can you tell me that i am making changes at right function and in the right file<br>
or should i do something else?<br>
<br>
I hope you get the idea behind what i am trying to do here<br>
</blockquote>
<br>
can you be more explicit as to why you need/want to do this and why the address lines won't work in your use case?<br>
<br>
-- <br>
 NOTE: No off-list assistance is given without prior approval.<br>
       *Please keep mailing list traffic on the list* unless<br>
       private contact is specifically requested and granted.<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</blockquote></div>