<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - The rr-load-balance part doesn't actually work on 0.7"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1248">1248</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>The rr-load-balance part doesn't actually work on 0.7
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>nft
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pablo@netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ian.kumlien@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>This might be known, 0.7 is old - but if it isn't then... ;)
I added two rules like this in table nat, chain prerouting (with a hook):
iifname $ext_if ip saddr $external_dns_servers tcp dport $external_dns_ports
dnat to numgen inc mod 3 map { 0: 10.0.0.2, 1: 10.0.0.3, 2: 10.0.0.4 }
iifname $ext_if ip saddr $external_dns_servers udp dport $external_dns_ports
dnat to numgen inc mod 3 map { 0: 10.0.0.2, 1: 10.0.0.3, 2: 10.0.0.4 }
And they do work, kinda.
The idea is to have external slave DNS servers that are seeded from internal
DNS servers - the seed is pushed out and AXFR requests would be handled by
these rules.
With UDP, when running 4 requests in parallel (tmux, 4 slave servers, do a
lookup) some get the response quickly, but usual delays is 5 -15 seconds - and
1-2 machines gets a connection timeout.
Switching to TCP doesn't help - well, you get connection denied instead of
timeout.
Never tried with the jhash, I wanted some kind of easy reliability setup.. I've
since switched to using nginx as a dns loadbalancer =)
(Fedora is still on 0.7 - i filed a ticket so they say that they will push 8.3
but..)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>