[Dnsmasq-discuss] Local upstream server
Hi, I have dnsmasq running on a router and like to experiment with a different way to resolve host names using distributed hash tables (DHTs). For that reason I like dnsmasq to resolve everything belonging to a specific domain (let's say *.p2p) using a different program on the same box. The easiest solution seems to be to have the DHT to also act as an upstream DNS server. Can I add a domain specific upstream server using a different port than 53? Dnsmasq already uses that port. regards, mwarning ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Local upstream server
On Mon, Apr 15, 2013 at 04:30:52AM +0200, Moritz Warning wrote: Can I add a domain specific upstream server using a different port than 53? Dnsmasq already uses that port. This is what I do with BIND named on port 1053. server=127.0.0.1#1053 See --server in the man page. What you might want is something similar to this: server=/example.dht/127.0.0.1#1053 This uses 127.0.0.1:1053 for names under and including only example.dht. -- http://rob0.nodns4.us/ -- system administration and consulting Offlist GMX mail is seen only if /dev/rob0 is in the Subject: ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Local upstream server
On 04/15/2013 04:55 AM, /dev/rob0 wrote: On Mon, Apr 15, 2013 at 04:30:52AM +0200, Moritz Warning wrote: Can I add a domain specific upstream server using a different port than 53? Dnsmasq already uses that port. This is what I do with BIND named on port 1053. server=127.0.0.1#1053 See --server in the man page. What you might want is something similar to this: server=/example.dht/127.0.0.1#1053 This uses 127.0.0.1:1053 for names under and including only example.dht. Heh, how could I have missed that. Thanks! :) ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss