[Dnsmasq-discuss] Dynapic IP

Gopalkrishna Mudaliar gopal_mcd at yahoo.com
Fri Oct 28 23:58:25 BST 2016


Hello All            I am trying to return the IP address of domains (DNS response) depending on a specific pattern that computes (decide ) IP to be returned. 
Eg  
         http://my100.machine1.com        return 192.168.1.100         http://my101.machine1.com      return 192.168.1.101         http://myhost2.machine1.com     return 192.168.1.100  

          The logic to decide the IP is something internal. 
         Could any help me where can i make this change. I have been trying to understand the code but didn't get the point to add my logic.         I looked at files.   rfc1035.c, forward.c, cache.c.
        Would really appreciate  if any one could help me understand the flow or any pointers. 

ThanksKrishna.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20161028/63719038/attachment.html>


More information about the Dnsmasq-discuss mailing list