[dnsdist] Ipv4 and Ipv6 forwarding.
Michael Van Der Beek
michael.van at antlabs.com
Fri Jan 10 03:07:08 UTC 2020
Hi All,
Quick question.. I don't have ipv6 in my office.. but where I'll be deploying has IPv6.
So a configuration like
setLocal('<ipv4>:53')
addLocal('<ipv6>:53')
setACL({'0.0.0.0/0','::/0'})
newServer({address='<internal v4 IP>:200',name='authv4'})
newServer({address='<internal v6 IP:200',name='authv6'})
The question is. Incoming ipv6 dns queries.. will it forward via the authv4 server or the authv6 server IP?
This is for the purpose of statistics. I want to be able to know how much v4 and v6 queries are arriving.
As far as I know.. as of 1.4 of dnsdist it does not have v6 statistics. So I have to rely on the auth server for statistics.
One other thing I discovered.. under load testing.
You can only have 4 threads specified, any more then that it will have almost 0 request to threads >4.
Where the 4 main threads can be maxed out.
An example of such is
# Name Address State Qps Qlim Ord Wt Queries Drops Drate Lat Outstanding Pools
0 1.1.1.1:200 up 0.0 0 1 1 1504653 0 0.0 0.6 0 auth
1 1.1.1.1:200 up 5.0 0 1 1 2990662 0 0.0 0.0 1 auth
2 1.1.1.1:200 up 0.0 0 1 1 2250348 0 0.0 0.1 0 auth
3 1.1.1.1:200 up 26180.7 0 1 1 2188805 0 0.0 0.0 0 auth
4 1.1.1.1:200 up 31209.6 0 1 1 956645 0 0.0 0.0 1 auth
5 1.1.1.1:200 up 16109.2 0 1 1 2119905 0 0.0 0.1 0 auth
6 1.1.1.1:200 up 0.0 0 1 1 1381596 0 0.0 0.3 0 auth
7 1.1.1.1:200 up 36056.9 0 1 1 862772 0 0.0 0.0 1 auth
All 109558.0 14255388 0
I have 8 (newServer) threads to the auth server. The auth server directly can handle 270K qps.
If I run 2 instances of 4 threads each.. total goes to 200K.. and so on.
Thanks a lot for your attention.
Regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20200110/72365937/attachment.htm>
More information about the dnsdist
mailing list