> >>>>> I trying to setup multi-isp configuration (using latest bering-uClibc > >>>>> 3.1-beta1), and began reading the corresponding doc: > >>>>> http://www.shorewall.net/3.0/MultiISP.html > >>>>> I am not clear on how the DNS resolution happens if a DNS request > >>>>> from one provider goes to the other provider's name server. ISPs > >>>>> these days serve their customers alone and reject all requests > >>>>> outside their network. > >>>>> > >>>>> 1. As part of multi-isp setup, is it possible to have the DNS requests > >>>>> routed thru' a provider go to provider's DNS IPs? > >>>>> > >>>>> 2. Does listing all ISP's DNS IPs into /etc/resolve.conf help? > >>>>> > >>>>> Appreciate any pointers or links. > >>>> DNS is not a special case -- it obeys the same rules as any other > >>>> connection. > >>>> > >>>> -Tom > >>> Thanks for a prompt response Tom. > >>> > >>> DNS not being special case does make sense. Do you have any suggestions > >>> on how to deal with the DNS look up failures when the requests are sent > >>> to wrong provider. > >> What does "request are sent to wrong provider" mean? > >> > >> -Tom > > > > Let me give you an example: > > isp1: DNS 1.2.3.4, 2.3.4.5 > > isp2: DNS 3.4.5.6, 4.5.6.7 > > > > Assume that we list all the above in /etc/resolv.conf file. When you > > start the very first time, if using multi-isp, the request for DNS > > resolution could go to either of the two ISPs. Assume that the request > > goes to isp2 but the DNS server picked for resolution is 1.2.3.4. > > This scenario is what I am referring to as 'wrong provider' (DNS > > resolution point of view). > > > > The exact procedure would depend on how your using the dns services of > the isp's. Does just the firewall do the dns lookups or can every client > contact the isp's name servers? You can direct the lookups to the > correct isp to begin with, use tcrules or route_rules files. Off the top > of my head something like this in route_rules should work. > > - <ip_of_dns_server> <providermark> 1000 > - <ip_of_dns_server2> <providermark2> 1000 > edit <> as required > > This will cause all traffic to <ip_of_dns_server> to travel out that > isp's interface. You could be more selective if you use the tcrules > file, by marking just the traffic of the ports involved. > > Jerry
Thanks Jerry for the example. I understand now how 'route_rules' can help for directing the traffic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
