SlideShare uma empresa Scribd logo
1 de 103
Baixar para ler offline
© Men & Mice http://menandmice.com
DNS High-Availability Tools
Open-Source Load Balancing
Solutions
1
1Wednesday 7 December 16
© Men & Mice http://menandmice,com
Resolver HA
• The DNS protocol has built-in high availability for authoritative DNS
servers, but client machines can see a degraded DNS service if a DNS
resolver (caching DNS server) is failing
• In this webinar, we will look into
• how the DNS clients in popular operating systems (Windows, Linux,
macOS/iOS) choose the DNS resolver among a list of available servers
• and how a DNS resolver service can be made failure-tolerant with
open-source solutions such as “dnsdist” from PowerDNS and “relayd”
from OpenBSD.
2Wednesday 7 December 16
© Men & Mice http://menandmice,com
Authoritative DNS
3Wednesday 7 December 16
© Men & Mice http://menandmice,com
“”
is.
menandmice.is.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c 2
Roundtrip Time
4Wednesday 7 December 16
© Men & Mice http://menandmice,com
ftp://ftp.menandmice.is.
“”
is.
menandmice.is.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c 2
Roundtrip Time
4Wednesday 7 December 16
© Men & Mice http://menandmice,com
ftp://ftp.menandmice.is.
“”
is.
menandmice.is.
local caching
DNS Server
What is the address
of
ftp.menandmice.is.
a
b
c
Name
Server
RTT
a 3
b 5
c 2
Roundtrip Time
4Wednesday 7 December 16
© Men & Mice http://menandmice,com
ftp://ftp.menandmice.is.
“”
is.
menandmice.is.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c 2
Roundtrip Time
5Wednesday 7 December 16
© Men & Mice http://menandmice,com
ftp://ftp.menandmice.is.
“”
is.
menandmice.is.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c 2
What is the address
of
ftp.menandmice.is.
Roundtrip Time
5Wednesday 7 December 16
© Men & Mice http://menandmice,com
2
ftp://ftp.menandmice.is.
“”
is.
menandmice.is.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c
Roundtrip Time
6Wednesday 7 December 16
© Men & Mice http://menandmice,com
2
ftp://ftp.menandmice.is.
“”
is.
menandmice.is.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c
Here is a list of
“is.” Name
Servers
Roundtrip Time
6Wednesday 7 December 16
© Men & Mice http://menandmice,com
338
ftp://ftp.menandmice.is.
“”
is.
menandmice.is.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c
Here is a list of
“is.” Name
Servers
Roundtrip Time
6Wednesday 7 December 16
© Men & Mice http://menandmice,com
“”
fr.
yahoo.fr.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c 338
Roundtrip Time
7Wednesday 7 December 16
© Men & Mice http://menandmice,com
http://www.yahoo.fr.
“”
fr.
yahoo.fr.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c 338
Roundtrip Time
7Wednesday 7 December 16
© Men & Mice http://menandmice,com
http://www.yahoo.fr.
“”
fr.
yahoo.fr.
local caching
DNS Server
What is the address
of
www.yahoo.fr.
a
b
c
Name
Server
RTT
a 3
b 5
c 338
Roundtrip Time
7Wednesday 7 December 16
© Men & Mice http://menandmice,com
http://www.yahoo.fr.
“”
fr.
yahoo.fr.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c 338
Roundtrip Time
8Wednesday 7 December 16
© Men & Mice http://menandmice,com
http://www.yahoo.fr.
“”
fr.
yahoo.fr.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c 338
What is the address
of
www.yahoo.fr.
Roundtrip Time
8Wednesday 7 December 16
© Men & Mice http://menandmice,com
331
“”
fr.
yahoo.fr.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c
http://www.yahoo.fr.
Roundtrip Time
9Wednesday 7 December 16
© Men & Mice http://menandmice,com
331
“”
fr.
yahoo.fr.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 3
b 5
c
Here is a list of
“fr.” Name
Servers
http://www.yahoo.fr.
Roundtrip Time
9Wednesday 7 December 16
© Men & Mice http://menandmice,com
331
85
“”
fr.
yahoo.fr.
local caching
DNS Server
a
b
c
Name
Server
RTT
a
b 5
c
Here is a list of
“fr.” Name
Servers
http://www.yahoo.fr.
Roundtrip Time
9Wednesday 7 December 16
© Men & Mice http://menandmice,com
“”
edu.
berkeley.edu.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 85
b 5
c 331
Roundtrip Time
10Wednesday 7 December 16
© Men & Mice http://menandmice,com
dig @ns.berkeley.edu
“”
edu.
berkeley.edu.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 85
b 5
c 331
Roundtrip Time
10Wednesday 7 December 16
© Men & Mice http://menandmice,com
dig @ns.berkeley.edu
“”
edu.
berkeley.edu.
local caching
DNS Server
What is the address
of
ns.berkeley.edu.
a
b
c
Name
Server
RTT
a 85
b 5
c 331
Roundtrip Time
10Wednesday 7 December 16
© Men & Mice http://menandmice,com
dig @ns.berkeley.edu.
“”
edu.
berkeley.edu.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 85
b 5
c 331
Roundtrip Time
11Wednesday 7 December 16
© Men & Mice http://menandmice,com
dig @ns.berkeley.edu.
“”
edu.
berkeley.edu.
local caching
DNS Server
a
b
c
Name
Server
RTT
a 85
b 5
c 331
What is the address
of
ns.berkeley.edu.
Roundtrip Time
11Wednesday 7 December 16
© Men & Mice http://menandmice,com
5
83
324
“”
edu.
berkeley.edu.
local caching
DNS Server
a
b
c
Name
Server
RTT
a
b
c
dig @ns.berkeley.edu.
Roundtrip Time
12Wednesday 7 December 16
© Men & Mice http://menandmice,com
5
83
324
“”
edu.
berkeley.edu.
local caching
DNS Server
a
b
c
Name
Server
RTT
a
b
c
Here is a list of
“edu.” Name
Servers
dig @ns.berkeley.edu.
Roundtrip Time
12Wednesday 7 December 16
© Men & Mice http://menandmice,com
315
83
324
“”
edu.
berkeley.edu.
local caching
DNS Server
a
b
c
Name
Server
RTT
a
b
c
Here is a list of
“edu.” Name
Servers
dig @ns.berkeley.edu.
Roundtrip Time
12Wednesday 7 December 16
© Men & Mice http://menandmice,com
UNIX / Linux Stub Resolver
13Wednesday 7 December 16
© Men & Mice http://menandmice,com
UNIX / Linux Stub Resolver
•UNIX/Linux stub resolvers use a configuration file called
resolv.conf
•This file is usually found in the /etc directory
14Wednesday 7 December 16
© Men & Mice http://menandmice,com
Name Server List
• Syntax:
• nameserver <IP address>
• Example:
• nameserver 192.168.0.1
• Notes:
• Most UNIX/Linux servers allow up to 3 nameserver entries
• If multiple are listed, they are queried in the order given
15Wednesday 7 December 16
© Men & Mice http://menandmice,com
Unix DNS-Client Resolver
timeout
Attempt
1 DNS-
Resolver
2 DNS-
Resolver
3 DNS-
Resolver
1 5s 2x 5s 3x 5s
2 10s 2x 5s 3x 3s
Total 15s 20s 24s
16Wednesday 7 December 16
© Men & Mice http://menandmice,com
Unix DNS-Client Resolver
timeout
• the Unix-DNS Resolver timeout can be changed in the file
/etc/resolv.conf
option timeout:1 attempts:4
nameserver 100.64.1.100
nameserver 100.64.2.120
• attempts: how many queries send to each DNS resolver (max 5)
• timeout: initial timeout for a query to a name server in resolv.conf (max
30s). For the second and successive rounds of queries, the resolver still
doubles the initial timeout and divides by the number of name servers in
resolv.conf
17Wednesday 7 December 16
© Men & Mice http://menandmice,com
Unix DNS-Client Resolver
“Round-Robin”
•the order in which the DNS-Resolvers are queried can be
tweaked in
/etc/resolv.conf
option rotate
nameserver 100.64.1.100
nameserver 100.64.2.120
•rotate: use all DNS-Resolvers in each resolver-session. Only
take effect if the client program sends multiple queries after
opening the DNS-Client resolver. Not many programs do this.
18Wednesday 7 December 16
© Men & Mice http://menandmice,com
Send Client-Resolver options
via DHCP (1/2)
•there are not standard DHCP options to transport the
attempt, timeout and rotate resolver options
•in the ISC-DHCP Server, add a new option definition
(file /etc/dhcp/dhcpd.conf)
option resolv-options code 232 = text;
option resolv-options "timeout:2 attempts:4 rotate";
19Wednesday 7 December 16
© Men & Mice http://menandmice,com
Send Client-Resolver options
via DHCP (2/2)
•on each ISC-DHCP Client, add a new option definition
(file /etc/dhcp/dhclient.conf)
option resolv-options code 232 = text;
request resolv-options;
•and also add a new DHCP-Script hook
(File /etc/dhcp/dhclient-enter-hooks.d/resolvoptions)
if [ "$new_resolv_options" ]; then
echo "options $new_resolv_options" >> /etc/resolv.conf
fi
20Wednesday 7 December 16
© Men & Mice http://menandmice,com
Windows Stub Resolver
21Wednesday 7 December 16
© Men & Mice http://menandmice,com
22Wednesday 7 December 16
© Men & Mice http://menandmice,com
Obtain DNS servers via DHCP
22Wednesday 7 December 16
© Men & Mice http://menandmice,com
Obtain DNS servers via DHCP
Configure listed DNS servers
manually
22Wednesday 7 December 16
© Men & Mice http://menandmice,com
23Wednesday 7 December 16
© Men & Mice http://menandmice,com
23Wednesday 7 December 16
© Men & Mice http://menandmice,com
24Wednesday 7 December 16
© Men & Mice http://menandmice,com
List of additional DNS-Resolver
to query
24Wednesday 7 December 16
© Men & Mice http://menandmice,com
Windows DNS-Client Resolver
Timeouts, 1 DNS-Server
Time DNS Query
0s initial query, wait 1s
1s 2nd query, wait 1s
2s 3rd query, wait 2s
4s 4th query, wait 4s
8s 5th query, wait 4s
12s Client-Resolver gives up
https://support.microsoft.com/de-de/kb/2834226
25Wednesday 7 December 16
© Men & Mice http://menandmice,com
Windows DNS-Client Resolver
Timeouts, 2 DNS-Server
Time DNS Query
0s
initial query to 1st DNS server in the
list, wait 1s
1s
initial query to the 2nd DNS server in the
list, wait 1s
2s
2nd query to the 2nd DNS server in the
list, wait 2s
4s
query to all DNS server in the list,
wait 4s
8s
query to all DNS server in the list,
wait 4s
12s Client-Resolver gives up
https://support.microsoft.com/de-de/kb/2834226
26Wednesday 7 December 16
© Men & Mice http://menandmice,com
Windows DNS-Client Resolver
Timeouts, 3+ DNS-Server
Time DNS Query
0s
initial query to 1st DNS server in the
list, wait 1s
1s
initial query to the 2nd DNS server in the
list, wait 1s
2s
initial query to the 3rd DNS server in the
list, wait 2s
4s
query to all DNS server in the list,
wait 4s
8s
query to all DNS server in the list,
wait 4s
12s Client-Resolver gives up
https://support.microsoft.com/de-de/kb/2834226
27Wednesday 7 December 16
© Men & Mice http://menandmice,com
Adjusting the Windows DNS-
CLient timeouts
•The DNS-Client timeouts can be customized using the
registry value
HKLMSystemCurrentControlSetServicesdnscacheParametersDNSQueryTimeouts
•This value does not exist by default and then the pre-
defined default values are used
• https://blogs.technet.microsoft.com/stdqry/2011/12/02/dns-clients-and-timeouts-part-1/
• https://blogs.technet.microsoft.com/stdqry/2011/12/14/dns-clients-and-timeouts-part-2/
28Wednesday 7 December 16
© Men & Mice http://menandmice,com
Demo Setup
29Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver without HA
30
Internet
30Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver without HA
31
Internet
172.22.1.210 172.22.1.217
31Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver without HA
31
Internet
/etc/resolv.conf
nameserver 172.22.1.210
nameserver 172.22.1.217
172.22.1.210 172.22.1.217
31Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver without HA
31
Internet
/etc/resolv.conf
nameserver 172.22.1.210
nameserver 172.22.1.217
172.22.1.210 172.22.1.217
31Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver without HA
31
Internet
/etc/resolv.conf
nameserver 172.22.1.210
nameserver 172.22.1.217
172.22.1.210 172.22.1.217
31Wednesday 7 December 16
© Men & Mice http://menandmice,com
Unix resolver demo
32Wednesday 7 December 16
© Men & Mice http://menandmice,com
OpenBSD relayd
33Wednesday 7 December 16
© Men & Mice http://menandmice,com
relayd
•relayd is a daemon to relay and dynamically redirect
incoming connections to a target host
•available on OpenBSD (and older versions on
FreeBSD)
•relayd can dynamically reconfigure the OpenBSD
firewall “pf” to redirect traffic
•relayd can also work as an application layer proxy
34Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver with relayd
35
Internet
172.22.1.210
172.22.1.206
172.22.1.217
172.22.1.206
CARP-Protocol
35Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver with relayd
35
Internet
/etc/resolv.conf
nameserver 172.22.1.206
nameserver 172.22.1.210
nameserver 172.22.1.217
172.22.1.210
172.22.1.206
172.22.1.217
172.22.1.206
CARP-Protocol
35Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver with relayd
35
Internet
/etc/resolv.conf
nameserver 172.22.1.206
nameserver 172.22.1.210
nameserver 172.22.1.217
172.22.1.210
172.22.1.206
172.22.1.217
172.22.1.206
CARP-Protocol
35Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver with relayd
35
Internet
/etc/resolv.conf
nameserver 172.22.1.206
nameserver 172.22.1.210
nameserver 172.22.1.217
172.22.1.210
172.22.1.206
172.22.1.217
172.22.1.206
CARP-Protocol
35Wednesday 7 December 16
© Men & Mice http://menandmice.com
relayd redirect configuration
36
# Layer 3 forwarding
table <dnsserver> {
172.22.1.210,
172.22.1.217 }
redirect dnsbalance {
listen on 172.22.1.206 tcp port 53
listen on 172.22.1.206 udp port 53
forward to <dnsserver> check tcp
}
file /etc/relayd.conf
36Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
37
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
relayd
PF-Firewall
Layer 3 redirect
37Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
38
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
relayd
PF-Firewall
probes
Layer 3 redirect
38Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
39
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
relayd
PF-Firewall
probes
OK
configures
PF rules
Layer 3 redirect
39Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
40
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
relayd
PF-Firewall
probes
OK
configures
PF rules
DNS-Query
Layer 3 redirect
40Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
41
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
relayd
PF-Firewall
probes
OK
configures
PF rules
DNS-Query
DNS-Query
Layer 3 redirect
41Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
42
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
DOWN
relayd
PF-Firewall
probes
Layer 3 redirect
42Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
43
OpenBSD Kernel
Userspace
relayd
PF-Firewall
probes
Not-OK
configures
PF rules
DNS-Server
(BIND 9)
DOWN
Layer 3 redirect
43Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
44
OpenBSD Kernel
Userspace
relayd
PF-Firewall
probes
Not-OK
configures
PF rules
DNS-Query
DNS-Server
(BIND 9)
DOWN
Layer 3 redirect
44Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
45
OpenBSD Kernel
Userspace
relayd
PF-Firewall
probes
Not-OK
configures
PF rules
DNS-Query
DNS-Query
DNS-Server
(BIND 9)
DOWN
Layer 3 redirect
45Wednesday 7 December 16
© Men & Mice http://menandmice.com
relayd relay configuration
46
# Layer 7 Application Layer Proxy
table <dnsserver> { 172.22.1.210, 172.22.1.217 }
dns protocol "dnsproto"
relay dnsbalance {
protocol dnsproto
listen on 172.22.1.206 port 53
forward to <dnsserver> check tcp
}
file /etc/relayd.conf
46Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
47
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
relayd
PF-Firewall
Layer 7 proxy
47Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
48
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
relayd
PF-Firewall
probes
Layer 7 proxy
48Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
49
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
relayd
PF-Firewall
probes
OK
Layer 7 proxy
49Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
50
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
relayd
PF-Firewall
probes
OK
DNS-Query
DNS-Query
Layer 7 proxy
50Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
51
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
relayd
PF-Firewall
probes
OK
DNS-Query
DNS-Query
Layer 7 proxy
DNS-Query
51Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
52
OpenBSD Kernel
Userspace
DNS-Server
(BIND 9)
DOWN
relayd
PF-Firewall
probes
Layer 7 proxy
52Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
53
OpenBSD Kernel
Userspace
relayd
PF-Firewall
probes
Not-OK
DNS-Server
(BIND 9)
DOWN
Layer 7 proxy
53Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
54
OpenBSD Kernel
Userspace
relayd
PF-Firewall
probes
Not-OK
DNS-Query
DNS-Server
(BIND 9)
DOWN
Layer 7 proxy
DNS-Query
54Wednesday 7 December 16
© Men & Mice http://menandmice.com
OpenBSD relayd
55
OpenBSD Kernel
Userspace
relayd
PF-Firewall
probes
Not-OK
DNS-Query
DNS-Query
DNS-Server
(BIND 9)
DOWN
Layer 7 proxy
DNS-Query
55Wednesday 7 December 16
© Men & Mice http://menandmice,com
relayd demo
56Wednesday 7 December 16
© Men & Mice http://menandmice,com
PowerDNS dnsdist
57Wednesday 7 December 16
© Men & Mice http://menandmice.com
dnsdist
“dnsdist” is an DNS aware application level gateway
• part of PowerDNS, but DNS server agnostic (can
be used with any DNS resolver or authoritative
server)
• supports various load-balancing schemes (least
outstanding, firstAvailable, weighted hash,
weighted random, round-robin ...)
• can do more than load balancing (filter, block,
rewrite DNS traffic ...)
58
58Wednesday 7 December 16
© Men & Mice http://menandmice.com
dnsdist
“dnsdist” is an DNS aware application level gateway
• Lua-configuration and Lua-scriptable
• available for Linux (Debian, Raspbian, Suse,
Ubuntu, CentOS), FreeBSD
• should work on other Unix-ish systems
• Free Software (GPLv2 License)
59
http://dnsdist.org
59Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver with dnsdist
60
Internet
172.22.1.210 172.22.1.217
Heartbeat
172.22.1.200
(dnsdist)
172.22.1.200
(dnsdist)
60Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver with dnsdist
60
Internet
/etc/resolv.conf
nameserver 172.22.1.200
172.22.1.210 172.22.1.217
Heartbeat
172.22.1.200
(dnsdist)
172.22.1.200
(dnsdist)
60Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver with dnsdist
60
Internet
/etc/resolv.conf
nameserver 172.22.1.200
172.22.1.210 172.22.1.217
Heartbeat
172.22.1.200
(dnsdist)
172.22.1.200
(dnsdist)
60Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver with dnsdist
60
Internet
/etc/resolv.conf
nameserver 172.22.1.200
172.22.1.210 172.22.1.217
Heartbeat
172.22.1.200
(dnsdist)
172.22.1.200
(dnsdist)
60Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver with dnsdist
60
Internet
/etc/resolv.conf
nameserver 172.22.1.200
172.22.1.210 172.22.1.217
Heartbeat
172.22.1.200
(dnsdist)
172.22.1.200
(dnsdist)
60Wednesday 7 December 16
© Men & Mice http://menandmice.com
DNS-Resolver with dnsdist
60
Internet
/etc/resolv.conf
nameserver 172.22.1.200
172.22.1.210 172.22.1.217
Heartbeat
172.22.1.200
(dnsdist)
172.22.1.200
(dnsdist)
60Wednesday 7 December 16
© Men & Mice http://menandmice.com
starting dnsdist
simple dnsdist startup without configuration file
# dnsdist -l 172.22.1.200 172.22.1.210 172.22.1.217
61
local IP to
listen for
DNS
queries
DNS server
to forward
queries
61Wednesday 7 December 16
© Men & Mice http://menandmice,com
dnsdist demo
62Wednesday 7 December 16
© Men & Mice http://menandmice,com
dnsdist statistics demo
63Wednesday 7 December 16
© Men & Mice http://menandmice,com
comparing relayd and dnsdist
64Wednesday 7 December 16
© Men & Mice http://menandmice,com
relayd vs. dnsdist
•relayd -- only available on OpenBSD (FreeBSD)
•dnsdist -- available on many Linux/Unix systems
65Wednesday 7 December 16
© Men & Mice http://menandmice,com
relayd vs. dnsdist
•relayd -- fast layer 3 forwarding in kernel space and
userspace proxying
•dnsdist -- only userspace proxying (but still pretty fast)
66Wednesday 7 December 16
© Men & Mice http://menandmice,com
relayd vs. dnsdist
•relayd -- simple health monitoring and reporting
•dnsdist -- online DNS statistics and Web-UI statistics
67Wednesday 7 December 16
© Men & Mice http://menandmice,com
relayd vs. dnsdist
•relayd -- filtering with “pf” firewall
•dnsdist -- DNS aware filtering with Lua-Scripting
option
68Wednesday 7 December 16
© Men & Mice http://menandmice,com
relayd vs. dnsdist
•relayd -- BSD license
•dnsdist -- GPLv3 License
69Wednesday 7 December 16
© Men & Mice http://menandmice,com
Men & Mice Training
• February 13 – 17 -- Redwood City, California, US
Introduction to DNS & BIND Hands-On class and
Introduction & Advanced DNS and BIND Topics Hands-on
•March 6 – 10, -- Amsterdam (NL) or Osnabrueck (DE)
Introduction to DNS & BIND Hands-On class and
Introduction & Advanced DNS and BIND Topics Hands-on
https://www.menandmice.com/support-training/training/
70Wednesday 7 December 16
© Men & Mice http://menandmice.com
Webinar schedule 2017
This is our schedule for the webinars in the beginning
of 2017
• 2nd Feb 2017
BIND 9 logging best practices
• 23rd March 2017
DNSSEC zone signing tutorial
• 13th April 2017
SMTP STS (Strict Transport Security) vs. SMTP with DANE
71
71Wednesday 7 December 16
© Men & Mice http://menandmice.com
Webinar schedule 2017
Additional webinar topics coming in 2017
• DNSSEC key management with BIND 9 "keymgr"
• BIND 9 (and Men & Mice) on Docker (Linux)
• Men & Mice Suite on Docker with Windows 2016 Server
• How to manage DMARC-, SPF-, DKIM-, multi-part TXT-,
CAA-, DANE-records in DNS zones
• DNS over TCP: new developments from the IETF
• DNS Server with SQL-Databases: PowerDNS and BIND 9
72
72Wednesday 7 December 16
© Men & Mice http://menandmice,com
Thank you!
Questions? Comments?
73
73Wednesday 7 December 16

Mais conteúdo relacionado

Mais procurados

Ansible presentation
Ansible presentationAnsible presentation
Ansible presentationSuresh Kumar
 
OpenStack Ironic - Bare Metal-as-a-Service
OpenStack Ironic - Bare Metal-as-a-ServiceOpenStack Ironic - Bare Metal-as-a-Service
OpenStack Ironic - Bare Metal-as-a-ServiceRamon Acedo Rodriguez
 
Build a High Available NFS Cluster Based on CephFS - Shangzhong Zhu
Build a High Available NFS Cluster Based on CephFS - Shangzhong ZhuBuild a High Available NFS Cluster Based on CephFS - Shangzhong Zhu
Build a High Available NFS Cluster Based on CephFS - Shangzhong ZhuCeph Community
 
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...Henning Jacobs
 
もうひとつのコンテナ実行環境 runq のご紹介
もうひとつのコンテナ実行環境 runq のご紹介もうひとつのコンテナ実行環境 runq のご紹介
もうひとつのコンテナ実行環境 runq のご紹介Takehiko Amano
 
Zabbix Performance Tuning
Zabbix Performance TuningZabbix Performance Tuning
Zabbix Performance TuningRicardo Santos
 
Container Performance Analysis
Container Performance AnalysisContainer Performance Analysis
Container Performance AnalysisBrendan Gregg
 
IT Automation with Ansible
IT Automation with AnsibleIT Automation with Ansible
IT Automation with AnsibleRayed Alrashed
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking ExplainedThomas Graf
 
Kvm and libvirt
Kvm and libvirtKvm and libvirt
Kvm and libvirtplarsen67
 
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요Jo Hoon
 
Red Hat Certified Engineer (RHCE) EX294 Exam Questions
Red Hat Certified Engineer (RHCE) EX294 Exam QuestionsRed Hat Certified Engineer (RHCE) EX294 Exam Questions
Red Hat Certified Engineer (RHCE) EX294 Exam QuestionsStudy Material
 
오픈스택 기반 클라우드 서비스 구축 방안 및 사례
오픈스택 기반 클라우드 서비스 구축 방안 및 사례오픈스택 기반 클라우드 서비스 구축 방안 및 사례
오픈스택 기반 클라우드 서비스 구축 방안 및 사례SONG INSEOB
 
The overview of lazypull with containerd Remote Snapshotter & Stargz Snapshotter
The overview of lazypull with containerd Remote Snapshotter & Stargz SnapshotterThe overview of lazypull with containerd Remote Snapshotter & Stargz Snapshotter
The overview of lazypull with containerd Remote Snapshotter & Stargz SnapshotterKohei Tokunaga
 
rtpengine and kamailio - or how to simulate calls at scale
rtpengine and kamailio - or how to simulate calls at scalertpengine and kamailio - or how to simulate calls at scale
rtpengine and kamailio - or how to simulate calls at scaleAndreas Granig
 
Spectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSpectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSandeep Patil
 
Service Function Chaining in Openstack Neutron
Service Function Chaining in Openstack NeutronService Function Chaining in Openstack Neutron
Service Function Chaining in Openstack NeutronMichelle Holley
 
DNS & DNSSEC
DNS & DNSSECDNS & DNSSEC
DNS & DNSSECAPNIC
 

Mais procurados (20)

Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
Workshop on CIFS / SMB Protocol Performance Analysis
Workshop on CIFS / SMB Protocol Performance AnalysisWorkshop on CIFS / SMB Protocol Performance Analysis
Workshop on CIFS / SMB Protocol Performance Analysis
 
OpenStack Ironic - Bare Metal-as-a-Service
OpenStack Ironic - Bare Metal-as-a-ServiceOpenStack Ironic - Bare Metal-as-a-Service
OpenStack Ironic - Bare Metal-as-a-Service
 
Build a High Available NFS Cluster Based on CephFS - Shangzhong Zhu
Build a High Available NFS Cluster Based on CephFS - Shangzhong ZhuBuild a High Available NFS Cluster Based on CephFS - Shangzhong Zhu
Build a High Available NFS Cluster Based on CephFS - Shangzhong Zhu
 
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...
Optimizing Kubernetes Resource Requests/Limits for Cost-Efficiency and Latenc...
 
もうひとつのコンテナ実行環境 runq のご紹介
もうひとつのコンテナ実行環境 runq のご紹介もうひとつのコンテナ実行環境 runq のご紹介
もうひとつのコンテナ実行環境 runq のご紹介
 
Zabbix Performance Tuning
Zabbix Performance TuningZabbix Performance Tuning
Zabbix Performance Tuning
 
Container Performance Analysis
Container Performance AnalysisContainer Performance Analysis
Container Performance Analysis
 
IT Automation with Ansible
IT Automation with AnsibleIT Automation with Ansible
IT Automation with Ansible
 
Kamailio on Docker
Kamailio on DockerKamailio on Docker
Kamailio on Docker
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking Explained
 
Kvm and libvirt
Kvm and libvirtKvm and libvirt
Kvm and libvirt
 
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
 
Red Hat Certified Engineer (RHCE) EX294 Exam Questions
Red Hat Certified Engineer (RHCE) EX294 Exam QuestionsRed Hat Certified Engineer (RHCE) EX294 Exam Questions
Red Hat Certified Engineer (RHCE) EX294 Exam Questions
 
오픈스택 기반 클라우드 서비스 구축 방안 및 사례
오픈스택 기반 클라우드 서비스 구축 방안 및 사례오픈스택 기반 클라우드 서비스 구축 방안 및 사례
오픈스택 기반 클라우드 서비스 구축 방안 및 사례
 
The overview of lazypull with containerd Remote Snapshotter & Stargz Snapshotter
The overview of lazypull with containerd Remote Snapshotter & Stargz SnapshotterThe overview of lazypull with containerd Remote Snapshotter & Stargz Snapshotter
The overview of lazypull with containerd Remote Snapshotter & Stargz Snapshotter
 
rtpengine and kamailio - or how to simulate calls at scale
rtpengine and kamailio - or how to simulate calls at scalertpengine and kamailio - or how to simulate calls at scale
rtpengine and kamailio - or how to simulate calls at scale
 
Spectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSpectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf Weiser
 
Service Function Chaining in Openstack Neutron
Service Function Chaining in Openstack NeutronService Function Chaining in Openstack Neutron
Service Function Chaining in Openstack Neutron
 
DNS & DNSSEC
DNS & DNSSECDNS & DNSSEC
DNS & DNSSEC
 

Destaque

How to send DNS over anything encrypted
How to send DNS over anything encryptedHow to send DNS over anything encrypted
How to send DNS over anything encryptedMen and Mice
 
Symantec (ISTR) Internet Security Threat Report Volume 22
Symantec (ISTR) Internet Security Threat Report Volume 22Symantec (ISTR) Internet Security Threat Report Volume 22
Symantec (ISTR) Internet Security Threat Report Volume 22CheapSSLsecurity
 
(ISC)2 Cincinnati Tri-State Chapter: Phishing Forensics - Is it just suspicio...
(ISC)2 Cincinnati Tri-State Chapter: Phishing Forensics - Is it just suspicio...(ISC)2 Cincinnati Tri-State Chapter: Phishing Forensics - Is it just suspicio...
(ISC)2 Cincinnati Tri-State Chapter: Phishing Forensics - Is it just suspicio...CiNPA Security SIG
 
Scripting and automation with the Men & Mice Suite
Scripting and automation with the Men & Mice SuiteScripting and automation with the Men & Mice Suite
Scripting and automation with the Men & Mice SuiteMen and Mice
 
Cisco Connect Toronto 2017 - Accelerating Incident Response in Organizations...
Cisco Connect Toronto  2017 - Accelerating Incident Response in Organizations...Cisco Connect Toronto  2017 - Accelerating Incident Response in Organizations...
Cisco Connect Toronto 2017 - Accelerating Incident Response in Organizations...Cisco Canada
 
Role of DNS in Botnet Command and Control
Role of DNS in Botnet Command and ControlRole of DNS in Botnet Command and Control
Role of DNS in Botnet Command and ControlOpenDNS
 
OISF: Regular Expressions (Regex) Overview
OISF: Regular Expressions (Regex) OverviewOISF: Regular Expressions (Regex) Overview
OISF: Regular Expressions (Regex) OverviewCiNPA Security SIG
 
Social Networks And Phishing
Social Networks And PhishingSocial Networks And Phishing
Social Networks And Phishingecarrow
 
Cyber crime &amp; security
Cyber crime &amp; securityCyber crime &amp; security
Cyber crime &amp; securityAvani Patel
 
Cisco Connect Toronto 2017 - Anatomy-of-attack
Cisco Connect Toronto 2017 - Anatomy-of-attackCisco Connect Toronto 2017 - Anatomy-of-attack
Cisco Connect Toronto 2017 - Anatomy-of-attackCisco Canada
 
DerbyCon 7.0 Legacy: Regular Expressions (Regex) Overview
DerbyCon 7.0 Legacy: Regular Expressions (Regex) OverviewDerbyCon 7.0 Legacy: Regular Expressions (Regex) Overview
DerbyCon 7.0 Legacy: Regular Expressions (Regex) OverviewCiNPA Security SIG
 
Comodo Multi Domain SSL Certificate: Key Features by CheapSSLsecurity
Comodo Multi Domain SSL Certificate: Key Features by CheapSSLsecurityComodo Multi Domain SSL Certificate: Key Features by CheapSSLsecurity
Comodo Multi Domain SSL Certificate: Key Features by CheapSSLsecurityCheapSSLsecurity
 
Microsoft Cyber Security IT-Camp
Microsoft Cyber Security IT-CampMicrosoft Cyber Security IT-Camp
Microsoft Cyber Security IT-CampAlexander Benoit
 
Umbrella Webcast: Redefining Security for the Nomadic Worker
Umbrella Webcast: Redefining Security for the Nomadic WorkerUmbrella Webcast: Redefining Security for the Nomadic Worker
Umbrella Webcast: Redefining Security for the Nomadic WorkerOpenDNS
 
Windows Server 2016 Webinar
Windows Server 2016 WebinarWindows Server 2016 Webinar
Windows Server 2016 WebinarMen and Mice
 
Phishing Scams: 8 Helpful Tips to Keep You Safe
Phishing Scams: 8 Helpful Tips to Keep You SafePhishing Scams: 8 Helpful Tips to Keep You Safe
Phishing Scams: 8 Helpful Tips to Keep You SafeCheapSSLsecurity
 
Dns Hardening Linux Os
Dns Hardening   Linux OsDns Hardening   Linux Os
Dns Hardening Linux Osecarrow
 
Cisco umbrella overview
Cisco umbrella overviewCisco umbrella overview
Cisco umbrella overviewCisco Canada
 

Destaque (20)

How to send DNS over anything encrypted
How to send DNS over anything encryptedHow to send DNS over anything encrypted
How to send DNS over anything encrypted
 
Symantec (ISTR) Internet Security Threat Report Volume 22
Symantec (ISTR) Internet Security Threat Report Volume 22Symantec (ISTR) Internet Security Threat Report Volume 22
Symantec (ISTR) Internet Security Threat Report Volume 22
 
(ISC)2 Cincinnati Tri-State Chapter: Phishing Forensics - Is it just suspicio...
(ISC)2 Cincinnati Tri-State Chapter: Phishing Forensics - Is it just suspicio...(ISC)2 Cincinnati Tri-State Chapter: Phishing Forensics - Is it just suspicio...
(ISC)2 Cincinnati Tri-State Chapter: Phishing Forensics - Is it just suspicio...
 
Scripting and automation with the Men & Mice Suite
Scripting and automation with the Men & Mice SuiteScripting and automation with the Men & Mice Suite
Scripting and automation with the Men & Mice Suite
 
Cisco Connect Toronto 2017 - Accelerating Incident Response in Organizations...
Cisco Connect Toronto  2017 - Accelerating Incident Response in Organizations...Cisco Connect Toronto  2017 - Accelerating Incident Response in Organizations...
Cisco Connect Toronto 2017 - Accelerating Incident Response in Organizations...
 
Role of DNS in Botnet Command and Control
Role of DNS in Botnet Command and ControlRole of DNS in Botnet Command and Control
Role of DNS in Botnet Command and Control
 
OISF: Regular Expressions (Regex) Overview
OISF: Regular Expressions (Regex) OverviewOISF: Regular Expressions (Regex) Overview
OISF: Regular Expressions (Regex) Overview
 
Social Networks And Phishing
Social Networks And PhishingSocial Networks And Phishing
Social Networks And Phishing
 
Cyber Security # Lec 2
Cyber Security # Lec 2Cyber Security # Lec 2
Cyber Security # Lec 2
 
Tcp udp
Tcp udpTcp udp
Tcp udp
 
Cyber crime &amp; security
Cyber crime &amp; securityCyber crime &amp; security
Cyber crime &amp; security
 
Cisco Connect Toronto 2017 - Anatomy-of-attack
Cisco Connect Toronto 2017 - Anatomy-of-attackCisco Connect Toronto 2017 - Anatomy-of-attack
Cisco Connect Toronto 2017 - Anatomy-of-attack
 
DerbyCon 7.0 Legacy: Regular Expressions (Regex) Overview
DerbyCon 7.0 Legacy: Regular Expressions (Regex) OverviewDerbyCon 7.0 Legacy: Regular Expressions (Regex) Overview
DerbyCon 7.0 Legacy: Regular Expressions (Regex) Overview
 
Comodo Multi Domain SSL Certificate: Key Features by CheapSSLsecurity
Comodo Multi Domain SSL Certificate: Key Features by CheapSSLsecurityComodo Multi Domain SSL Certificate: Key Features by CheapSSLsecurity
Comodo Multi Domain SSL Certificate: Key Features by CheapSSLsecurity
 
Microsoft Cyber Security IT-Camp
Microsoft Cyber Security IT-CampMicrosoft Cyber Security IT-Camp
Microsoft Cyber Security IT-Camp
 
Umbrella Webcast: Redefining Security for the Nomadic Worker
Umbrella Webcast: Redefining Security for the Nomadic WorkerUmbrella Webcast: Redefining Security for the Nomadic Worker
Umbrella Webcast: Redefining Security for the Nomadic Worker
 
Windows Server 2016 Webinar
Windows Server 2016 WebinarWindows Server 2016 Webinar
Windows Server 2016 Webinar
 
Phishing Scams: 8 Helpful Tips to Keep You Safe
Phishing Scams: 8 Helpful Tips to Keep You SafePhishing Scams: 8 Helpful Tips to Keep You Safe
Phishing Scams: 8 Helpful Tips to Keep You Safe
 
Dns Hardening Linux Os
Dns Hardening   Linux OsDns Hardening   Linux Os
Dns Hardening Linux Os
 
Cisco umbrella overview
Cisco umbrella overviewCisco umbrella overview
Cisco umbrella overview
 

Semelhante a DNS High-Availability Tools - Open-Source Load Balancing Solutions

Windows 2012 and DNSSEC
Windows 2012 and DNSSECWindows 2012 and DNSSEC
Windows 2012 and DNSSECMen and Mice
 
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]APNIC
 
DNSSEC signing Tutorial
DNSSEC signing Tutorial DNSSEC signing Tutorial
DNSSEC signing Tutorial Men and Mice
 
The DNSSEC KSK of the root rolls
The DNSSEC KSK of the root rollsThe DNSSEC KSK of the root rolls
The DNSSEC KSK of the root rollsMen and Mice
 
Resolution for a Faster Site
Resolution for a Faster SiteResolution for a Faster Site
Resolution for a Faster SiteIdo Safruti
 
dnsppt-130413003933-phpapp02.pdf
dnsppt-130413003933-phpapp02.pdfdnsppt-130413003933-phpapp02.pdf
dnsppt-130413003933-phpapp02.pdfsamarth97
 
Dns presentation
Dns presentationDns presentation
Dns presentationgaurav_c
 
DNSPresentation.pptx
DNSPresentation.pptxDNSPresentation.pptx
DNSPresentation.pptxKailashTayde
 
dns-sec-4-slides
dns-sec-4-slidesdns-sec-4-slides
dns-sec-4-slideskj teoh
 
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer NETWAYS
 
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Edureka!
 
BSides Rochester 2018: Chris Partridge: Turning Domain Data Into Domain Intel...
BSides Rochester 2018: Chris Partridge: Turning Domain Data Into Domain Intel...BSides Rochester 2018: Chris Partridge: Turning Domain Data Into Domain Intel...
BSides Rochester 2018: Chris Partridge: Turning Domain Data Into Domain Intel...JosephTesta9
 

Semelhante a DNS High-Availability Tools - Open-Source Load Balancing Solutions (20)

Windows 2012 and DNSSEC
Windows 2012 and DNSSECWindows 2012 and DNSSEC
Windows 2012 and DNSSEC
 
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
 
DNSSEC signing Tutorial
DNSSEC signing Tutorial DNSSEC signing Tutorial
DNSSEC signing Tutorial
 
The DNSSEC KSK of the root rolls
The DNSSEC KSK of the root rollsThe DNSSEC KSK of the root rolls
The DNSSEC KSK of the root rolls
 
Resolution for a Faster Site
Resolution for a Faster SiteResolution for a Faster Site
Resolution for a Faster Site
 
dnsppt-130413003933-phpapp02.pdf
dnsppt-130413003933-phpapp02.pdfdnsppt-130413003933-phpapp02.pdf
dnsppt-130413003933-phpapp02.pdf
 
Dns presentation
Dns presentationDns presentation
Dns presentation
 
Dns
DnsDns
Dns
 
Big Data on DC/OS
Big Data on DC/OSBig Data on DC/OS
Big Data on DC/OS
 
DNS.pptx
DNS.pptxDNS.pptx
DNS.pptx
 
DNSPresentation.pptx
DNSPresentation.pptxDNSPresentation.pptx
DNSPresentation.pptx
 
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAILDNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
 
ION Islamabad - Deploying DNSSEC
ION Islamabad - Deploying DNSSECION Islamabad - Deploying DNSSEC
ION Islamabad - Deploying DNSSEC
 
Domain Name System (DNS)
Domain Name System (DNS)Domain Name System (DNS)
Domain Name System (DNS)
 
dns-sec-4-slides
dns-sec-4-slidesdns-sec-4-slides
dns-sec-4-slides
 
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer
 
RP11_XaviertTorrentGorjon
RP11_XaviertTorrentGorjonRP11_XaviertTorrentGorjon
RP11_XaviertTorrentGorjon
 
ION Bucharest - Deploying DNSSEC
ION Bucharest - Deploying DNSSECION Bucharest - Deploying DNSSEC
ION Bucharest - Deploying DNSSEC
 
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
 
BSides Rochester 2018: Chris Partridge: Turning Domain Data Into Domain Intel...
BSides Rochester 2018: Chris Partridge: Turning Domain Data Into Domain Intel...BSides Rochester 2018: Chris Partridge: Turning Domain Data Into Domain Intel...
BSides Rochester 2018: Chris Partridge: Turning Domain Data Into Domain Intel...
 

Mais de Men and Mice

Cisco Live 2019: New Best Practices for Hybrid and Multicloud Network Strategies
Cisco Live 2019: New Best Practices for Hybrid and Multicloud Network StrategiesCisco Live 2019: New Best Practices for Hybrid and Multicloud Network Strategies
Cisco Live 2019: New Best Practices for Hybrid and Multicloud Network StrategiesMen and Mice
 
Part 3 - Local Name Resolution in Linux, FreeBSD and macOS/iOS
Part 3 - Local Name Resolution in Linux, FreeBSD and macOS/iOSPart 3 - Local Name Resolution in Linux, FreeBSD and macOS/iOS
Part 3 - Local Name Resolution in Linux, FreeBSD and macOS/iOSMen and Mice
 
Part 2 - Local Name Resolution in Windows Networks
Part 2 - Local Name Resolution in Windows NetworksPart 2 - Local Name Resolution in Windows Networks
Part 2 - Local Name Resolution in Windows NetworksMen and Mice
 
Namespaces for Local Networks
Namespaces for Local NetworksNamespaces for Local Networks
Namespaces for Local NetworksMen and Mice
 
The CAA-Record for increased encryption security
The CAA-Record for increased encryption securityThe CAA-Record for increased encryption security
The CAA-Record for increased encryption securityMen and Mice
 
SMTP STS (Strict Transport Security) vs. SMTP with DANE
SMTP STS (Strict Transport Security) vs. SMTP with DANESMTP STS (Strict Transport Security) vs. SMTP with DANE
SMTP STS (Strict Transport Security) vs. SMTP with DANEMen and Mice
 
Fighting Abuse with DNS
Fighting Abuse with DNSFighting Abuse with DNS
Fighting Abuse with DNSMen and Mice
 
What is new in BIND 9.11?
What is new in BIND 9.11?What is new in BIND 9.11?
What is new in BIND 9.11?Men and Mice
 
Yeti DNS - Experimenting at the root
Yeti DNS - Experimenting at the rootYeti DNS - Experimenting at the root
Yeti DNS - Experimenting at the rootMen and Mice
 
Kea DHCP – the new open source DHCP server from ISC
Kea DHCP – the new open source DHCP server from ISCKea DHCP – the new open source DHCP server from ISC
Kea DHCP – the new open source DHCP server from ISCMen and Mice
 
RIPE 71 and IETF 94 reports webinar
RIPE 71 and IETF 94 reports webinarRIPE 71 and IETF 94 reports webinar
RIPE 71 and IETF 94 reports webinarMen and Mice
 
Keeping DNS server up-and-running with “runit
Keeping DNS server up-and-running with “runitKeeping DNS server up-and-running with “runit
Keeping DNS server up-and-running with “runitMen and Mice
 
PowerDNS Webinar - Part 2
PowerDNS Webinar - Part 2PowerDNS Webinar - Part 2
PowerDNS Webinar - Part 2Men and Mice
 
IETF 93 Review Webinar
IETF 93 Review WebinarIETF 93 Review Webinar
IETF 93 Review WebinarMen and Mice
 
RIPE 70 Report Webinar
RIPE 70 Report WebinarRIPE 70 Report Webinar
RIPE 70 Report WebinarMen and Mice
 
DNSSEC best practices Webinar
DNSSEC best practices WebinarDNSSEC best practices Webinar
DNSSEC best practices WebinarMen and Mice
 
The KNOT DNS Server
The KNOT DNS ServerThe KNOT DNS Server
The KNOT DNS ServerMen and Mice
 
RIPE 69 & IETF 91 Webinar - DNS-Privacy, IPv6, DANE and DHCP(v6)
RIPE 69 & IETF 91 Webinar - DNS-Privacy, IPv6, DANE and DHCP(v6)RIPE 69 & IETF 91 Webinar - DNS-Privacy, IPv6, DANE and DHCP(v6)
RIPE 69 & IETF 91 Webinar - DNS-Privacy, IPv6, DANE and DHCP(v6)Men and Mice
 

Mais de Men and Mice (20)

Cisco Live 2019: New Best Practices for Hybrid and Multicloud Network Strategies
Cisco Live 2019: New Best Practices for Hybrid and Multicloud Network StrategiesCisco Live 2019: New Best Practices for Hybrid and Multicloud Network Strategies
Cisco Live 2019: New Best Practices for Hybrid and Multicloud Network Strategies
 
Part 3 - Local Name Resolution in Linux, FreeBSD and macOS/iOS
Part 3 - Local Name Resolution in Linux, FreeBSD and macOS/iOSPart 3 - Local Name Resolution in Linux, FreeBSD and macOS/iOS
Part 3 - Local Name Resolution in Linux, FreeBSD and macOS/iOS
 
Part 2 - Local Name Resolution in Windows Networks
Part 2 - Local Name Resolution in Windows NetworksPart 2 - Local Name Resolution in Windows Networks
Part 2 - Local Name Resolution in Windows Networks
 
Namespaces for Local Networks
Namespaces for Local NetworksNamespaces for Local Networks
Namespaces for Local Networks
 
The CAA-Record for increased encryption security
The CAA-Record for increased encryption securityThe CAA-Record for increased encryption security
The CAA-Record for increased encryption security
 
SMTP STS (Strict Transport Security) vs. SMTP with DANE
SMTP STS (Strict Transport Security) vs. SMTP with DANESMTP STS (Strict Transport Security) vs. SMTP with DANE
SMTP STS (Strict Transport Security) vs. SMTP with DANE
 
Fighting Abuse with DNS
Fighting Abuse with DNSFighting Abuse with DNS
Fighting Abuse with DNS
 
What is new in BIND 9.11?
What is new in BIND 9.11?What is new in BIND 9.11?
What is new in BIND 9.11?
 
Yeti DNS - Experimenting at the root
Yeti DNS - Experimenting at the rootYeti DNS - Experimenting at the root
Yeti DNS - Experimenting at the root
 
Kea DHCP – the new open source DHCP server from ISC
Kea DHCP – the new open source DHCP server from ISCKea DHCP – the new open source DHCP server from ISC
Kea DHCP – the new open source DHCP server from ISC
 
RIPE 71 and IETF 94 reports webinar
RIPE 71 and IETF 94 reports webinarRIPE 71 and IETF 94 reports webinar
RIPE 71 and IETF 94 reports webinar
 
Keeping DNS server up-and-running with “runit
Keeping DNS server up-and-running with “runitKeeping DNS server up-and-running with “runit
Keeping DNS server up-and-running with “runit
 
PowerDNS Webinar - Part 2
PowerDNS Webinar - Part 2PowerDNS Webinar - Part 2
PowerDNS Webinar - Part 2
 
PowerDNS Webinar
PowerDNS Webinar PowerDNS Webinar
PowerDNS Webinar
 
IETF 93 Review Webinar
IETF 93 Review WebinarIETF 93 Review Webinar
IETF 93 Review Webinar
 
RIPE 70 Report Webinar
RIPE 70 Report WebinarRIPE 70 Report Webinar
RIPE 70 Report Webinar
 
DNSSEC best practices Webinar
DNSSEC best practices WebinarDNSSEC best practices Webinar
DNSSEC best practices Webinar
 
IETF 92 Webinar
IETF 92 WebinarIETF 92 Webinar
IETF 92 Webinar
 
The KNOT DNS Server
The KNOT DNS ServerThe KNOT DNS Server
The KNOT DNS Server
 
RIPE 69 & IETF 91 Webinar - DNS-Privacy, IPv6, DANE and DHCP(v6)
RIPE 69 & IETF 91 Webinar - DNS-Privacy, IPv6, DANE and DHCP(v6)RIPE 69 & IETF 91 Webinar - DNS-Privacy, IPv6, DANE and DHCP(v6)
RIPE 69 & IETF 91 Webinar - DNS-Privacy, IPv6, DANE and DHCP(v6)
 

Último

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 

Último (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

DNS High-Availability Tools - Open-Source Load Balancing Solutions

  • 1. © Men & Mice http://menandmice.com DNS High-Availability Tools Open-Source Load Balancing Solutions 1 1Wednesday 7 December 16
  • 2. © Men & Mice http://menandmice,com Resolver HA • The DNS protocol has built-in high availability for authoritative DNS servers, but client machines can see a degraded DNS service if a DNS resolver (caching DNS server) is failing • In this webinar, we will look into • how the DNS clients in popular operating systems (Windows, Linux, macOS/iOS) choose the DNS resolver among a list of available servers • and how a DNS resolver service can be made failure-tolerant with open-source solutions such as “dnsdist” from PowerDNS and “relayd” from OpenBSD. 2Wednesday 7 December 16
  • 3. © Men & Mice http://menandmice,com Authoritative DNS 3Wednesday 7 December 16
  • 4. © Men & Mice http://menandmice,com “” is. menandmice.is. local caching DNS Server a b c Name Server RTT a 3 b 5 c 2 Roundtrip Time 4Wednesday 7 December 16
  • 5. © Men & Mice http://menandmice,com ftp://ftp.menandmice.is. “” is. menandmice.is. local caching DNS Server a b c Name Server RTT a 3 b 5 c 2 Roundtrip Time 4Wednesday 7 December 16
  • 6. © Men & Mice http://menandmice,com ftp://ftp.menandmice.is. “” is. menandmice.is. local caching DNS Server What is the address of ftp.menandmice.is. a b c Name Server RTT a 3 b 5 c 2 Roundtrip Time 4Wednesday 7 December 16
  • 7. © Men & Mice http://menandmice,com ftp://ftp.menandmice.is. “” is. menandmice.is. local caching DNS Server a b c Name Server RTT a 3 b 5 c 2 Roundtrip Time 5Wednesday 7 December 16
  • 8. © Men & Mice http://menandmice,com ftp://ftp.menandmice.is. “” is. menandmice.is. local caching DNS Server a b c Name Server RTT a 3 b 5 c 2 What is the address of ftp.menandmice.is. Roundtrip Time 5Wednesday 7 December 16
  • 9. © Men & Mice http://menandmice,com 2 ftp://ftp.menandmice.is. “” is. menandmice.is. local caching DNS Server a b c Name Server RTT a 3 b 5 c Roundtrip Time 6Wednesday 7 December 16
  • 10. © Men & Mice http://menandmice,com 2 ftp://ftp.menandmice.is. “” is. menandmice.is. local caching DNS Server a b c Name Server RTT a 3 b 5 c Here is a list of “is.” Name Servers Roundtrip Time 6Wednesday 7 December 16
  • 11. © Men & Mice http://menandmice,com 338 ftp://ftp.menandmice.is. “” is. menandmice.is. local caching DNS Server a b c Name Server RTT a 3 b 5 c Here is a list of “is.” Name Servers Roundtrip Time 6Wednesday 7 December 16
  • 12. © Men & Mice http://menandmice,com “” fr. yahoo.fr. local caching DNS Server a b c Name Server RTT a 3 b 5 c 338 Roundtrip Time 7Wednesday 7 December 16
  • 13. © Men & Mice http://menandmice,com http://www.yahoo.fr. “” fr. yahoo.fr. local caching DNS Server a b c Name Server RTT a 3 b 5 c 338 Roundtrip Time 7Wednesday 7 December 16
  • 14. © Men & Mice http://menandmice,com http://www.yahoo.fr. “” fr. yahoo.fr. local caching DNS Server What is the address of www.yahoo.fr. a b c Name Server RTT a 3 b 5 c 338 Roundtrip Time 7Wednesday 7 December 16
  • 15. © Men & Mice http://menandmice,com http://www.yahoo.fr. “” fr. yahoo.fr. local caching DNS Server a b c Name Server RTT a 3 b 5 c 338 Roundtrip Time 8Wednesday 7 December 16
  • 16. © Men & Mice http://menandmice,com http://www.yahoo.fr. “” fr. yahoo.fr. local caching DNS Server a b c Name Server RTT a 3 b 5 c 338 What is the address of www.yahoo.fr. Roundtrip Time 8Wednesday 7 December 16
  • 17. © Men & Mice http://menandmice,com 331 “” fr. yahoo.fr. local caching DNS Server a b c Name Server RTT a 3 b 5 c http://www.yahoo.fr. Roundtrip Time 9Wednesday 7 December 16
  • 18. © Men & Mice http://menandmice,com 331 “” fr. yahoo.fr. local caching DNS Server a b c Name Server RTT a 3 b 5 c Here is a list of “fr.” Name Servers http://www.yahoo.fr. Roundtrip Time 9Wednesday 7 December 16
  • 19. © Men & Mice http://menandmice,com 331 85 “” fr. yahoo.fr. local caching DNS Server a b c Name Server RTT a b 5 c Here is a list of “fr.” Name Servers http://www.yahoo.fr. Roundtrip Time 9Wednesday 7 December 16
  • 20. © Men & Mice http://menandmice,com “” edu. berkeley.edu. local caching DNS Server a b c Name Server RTT a 85 b 5 c 331 Roundtrip Time 10Wednesday 7 December 16
  • 21. © Men & Mice http://menandmice,com dig @ns.berkeley.edu “” edu. berkeley.edu. local caching DNS Server a b c Name Server RTT a 85 b 5 c 331 Roundtrip Time 10Wednesday 7 December 16
  • 22. © Men & Mice http://menandmice,com dig @ns.berkeley.edu “” edu. berkeley.edu. local caching DNS Server What is the address of ns.berkeley.edu. a b c Name Server RTT a 85 b 5 c 331 Roundtrip Time 10Wednesday 7 December 16
  • 23. © Men & Mice http://menandmice,com dig @ns.berkeley.edu. “” edu. berkeley.edu. local caching DNS Server a b c Name Server RTT a 85 b 5 c 331 Roundtrip Time 11Wednesday 7 December 16
  • 24. © Men & Mice http://menandmice,com dig @ns.berkeley.edu. “” edu. berkeley.edu. local caching DNS Server a b c Name Server RTT a 85 b 5 c 331 What is the address of ns.berkeley.edu. Roundtrip Time 11Wednesday 7 December 16
  • 25. © Men & Mice http://menandmice,com 5 83 324 “” edu. berkeley.edu. local caching DNS Server a b c Name Server RTT a b c dig @ns.berkeley.edu. Roundtrip Time 12Wednesday 7 December 16
  • 26. © Men & Mice http://menandmice,com 5 83 324 “” edu. berkeley.edu. local caching DNS Server a b c Name Server RTT a b c Here is a list of “edu.” Name Servers dig @ns.berkeley.edu. Roundtrip Time 12Wednesday 7 December 16
  • 27. © Men & Mice http://menandmice,com 315 83 324 “” edu. berkeley.edu. local caching DNS Server a b c Name Server RTT a b c Here is a list of “edu.” Name Servers dig @ns.berkeley.edu. Roundtrip Time 12Wednesday 7 December 16
  • 28. © Men & Mice http://menandmice,com UNIX / Linux Stub Resolver 13Wednesday 7 December 16
  • 29. © Men & Mice http://menandmice,com UNIX / Linux Stub Resolver •UNIX/Linux stub resolvers use a configuration file called resolv.conf •This file is usually found in the /etc directory 14Wednesday 7 December 16
  • 30. © Men & Mice http://menandmice,com Name Server List • Syntax: • nameserver <IP address> • Example: • nameserver 192.168.0.1 • Notes: • Most UNIX/Linux servers allow up to 3 nameserver entries • If multiple are listed, they are queried in the order given 15Wednesday 7 December 16
  • 31. © Men & Mice http://menandmice,com Unix DNS-Client Resolver timeout Attempt 1 DNS- Resolver 2 DNS- Resolver 3 DNS- Resolver 1 5s 2x 5s 3x 5s 2 10s 2x 5s 3x 3s Total 15s 20s 24s 16Wednesday 7 December 16
  • 32. © Men & Mice http://menandmice,com Unix DNS-Client Resolver timeout • the Unix-DNS Resolver timeout can be changed in the file /etc/resolv.conf option timeout:1 attempts:4 nameserver 100.64.1.100 nameserver 100.64.2.120 • attempts: how many queries send to each DNS resolver (max 5) • timeout: initial timeout for a query to a name server in resolv.conf (max 30s). For the second and successive rounds of queries, the resolver still doubles the initial timeout and divides by the number of name servers in resolv.conf 17Wednesday 7 December 16
  • 33. © Men & Mice http://menandmice,com Unix DNS-Client Resolver “Round-Robin” •the order in which the DNS-Resolvers are queried can be tweaked in /etc/resolv.conf option rotate nameserver 100.64.1.100 nameserver 100.64.2.120 •rotate: use all DNS-Resolvers in each resolver-session. Only take effect if the client program sends multiple queries after opening the DNS-Client resolver. Not many programs do this. 18Wednesday 7 December 16
  • 34. © Men & Mice http://menandmice,com Send Client-Resolver options via DHCP (1/2) •there are not standard DHCP options to transport the attempt, timeout and rotate resolver options •in the ISC-DHCP Server, add a new option definition (file /etc/dhcp/dhcpd.conf) option resolv-options code 232 = text; option resolv-options "timeout:2 attempts:4 rotate"; 19Wednesday 7 December 16
  • 35. © Men & Mice http://menandmice,com Send Client-Resolver options via DHCP (2/2) •on each ISC-DHCP Client, add a new option definition (file /etc/dhcp/dhclient.conf) option resolv-options code 232 = text; request resolv-options; •and also add a new DHCP-Script hook (File /etc/dhcp/dhclient-enter-hooks.d/resolvoptions) if [ "$new_resolv_options" ]; then echo "options $new_resolv_options" >> /etc/resolv.conf fi 20Wednesday 7 December 16
  • 36. © Men & Mice http://menandmice,com Windows Stub Resolver 21Wednesday 7 December 16
  • 37. © Men & Mice http://menandmice,com 22Wednesday 7 December 16
  • 38. © Men & Mice http://menandmice,com Obtain DNS servers via DHCP 22Wednesday 7 December 16
  • 39. © Men & Mice http://menandmice,com Obtain DNS servers via DHCP Configure listed DNS servers manually 22Wednesday 7 December 16
  • 40. © Men & Mice http://menandmice,com 23Wednesday 7 December 16
  • 41. © Men & Mice http://menandmice,com 23Wednesday 7 December 16
  • 42. © Men & Mice http://menandmice,com 24Wednesday 7 December 16
  • 43. © Men & Mice http://menandmice,com List of additional DNS-Resolver to query 24Wednesday 7 December 16
  • 44. © Men & Mice http://menandmice,com Windows DNS-Client Resolver Timeouts, 1 DNS-Server Time DNS Query 0s initial query, wait 1s 1s 2nd query, wait 1s 2s 3rd query, wait 2s 4s 4th query, wait 4s 8s 5th query, wait 4s 12s Client-Resolver gives up https://support.microsoft.com/de-de/kb/2834226 25Wednesday 7 December 16
  • 45. © Men & Mice http://menandmice,com Windows DNS-Client Resolver Timeouts, 2 DNS-Server Time DNS Query 0s initial query to 1st DNS server in the list, wait 1s 1s initial query to the 2nd DNS server in the list, wait 1s 2s 2nd query to the 2nd DNS server in the list, wait 2s 4s query to all DNS server in the list, wait 4s 8s query to all DNS server in the list, wait 4s 12s Client-Resolver gives up https://support.microsoft.com/de-de/kb/2834226 26Wednesday 7 December 16
  • 46. © Men & Mice http://menandmice,com Windows DNS-Client Resolver Timeouts, 3+ DNS-Server Time DNS Query 0s initial query to 1st DNS server in the list, wait 1s 1s initial query to the 2nd DNS server in the list, wait 1s 2s initial query to the 3rd DNS server in the list, wait 2s 4s query to all DNS server in the list, wait 4s 8s query to all DNS server in the list, wait 4s 12s Client-Resolver gives up https://support.microsoft.com/de-de/kb/2834226 27Wednesday 7 December 16
  • 47. © Men & Mice http://menandmice,com Adjusting the Windows DNS- CLient timeouts •The DNS-Client timeouts can be customized using the registry value HKLMSystemCurrentControlSetServicesdnscacheParametersDNSQueryTimeouts •This value does not exist by default and then the pre- defined default values are used • https://blogs.technet.microsoft.com/stdqry/2011/12/02/dns-clients-and-timeouts-part-1/ • https://blogs.technet.microsoft.com/stdqry/2011/12/14/dns-clients-and-timeouts-part-2/ 28Wednesday 7 December 16
  • 48. © Men & Mice http://menandmice,com Demo Setup 29Wednesday 7 December 16
  • 49. © Men & Mice http://menandmice.com DNS-Resolver without HA 30 Internet 30Wednesday 7 December 16
  • 50. © Men & Mice http://menandmice.com DNS-Resolver without HA 31 Internet 172.22.1.210 172.22.1.217 31Wednesday 7 December 16
  • 51. © Men & Mice http://menandmice.com DNS-Resolver without HA 31 Internet /etc/resolv.conf nameserver 172.22.1.210 nameserver 172.22.1.217 172.22.1.210 172.22.1.217 31Wednesday 7 December 16
  • 52. © Men & Mice http://menandmice.com DNS-Resolver without HA 31 Internet /etc/resolv.conf nameserver 172.22.1.210 nameserver 172.22.1.217 172.22.1.210 172.22.1.217 31Wednesday 7 December 16
  • 53. © Men & Mice http://menandmice.com DNS-Resolver without HA 31 Internet /etc/resolv.conf nameserver 172.22.1.210 nameserver 172.22.1.217 172.22.1.210 172.22.1.217 31Wednesday 7 December 16
  • 54. © Men & Mice http://menandmice,com Unix resolver demo 32Wednesday 7 December 16
  • 55. © Men & Mice http://menandmice,com OpenBSD relayd 33Wednesday 7 December 16
  • 56. © Men & Mice http://menandmice,com relayd •relayd is a daemon to relay and dynamically redirect incoming connections to a target host •available on OpenBSD (and older versions on FreeBSD) •relayd can dynamically reconfigure the OpenBSD firewall “pf” to redirect traffic •relayd can also work as an application layer proxy 34Wednesday 7 December 16
  • 57. © Men & Mice http://menandmice.com DNS-Resolver with relayd 35 Internet 172.22.1.210 172.22.1.206 172.22.1.217 172.22.1.206 CARP-Protocol 35Wednesday 7 December 16
  • 58. © Men & Mice http://menandmice.com DNS-Resolver with relayd 35 Internet /etc/resolv.conf nameserver 172.22.1.206 nameserver 172.22.1.210 nameserver 172.22.1.217 172.22.1.210 172.22.1.206 172.22.1.217 172.22.1.206 CARP-Protocol 35Wednesday 7 December 16
  • 59. © Men & Mice http://menandmice.com DNS-Resolver with relayd 35 Internet /etc/resolv.conf nameserver 172.22.1.206 nameserver 172.22.1.210 nameserver 172.22.1.217 172.22.1.210 172.22.1.206 172.22.1.217 172.22.1.206 CARP-Protocol 35Wednesday 7 December 16
  • 60. © Men & Mice http://menandmice.com DNS-Resolver with relayd 35 Internet /etc/resolv.conf nameserver 172.22.1.206 nameserver 172.22.1.210 nameserver 172.22.1.217 172.22.1.210 172.22.1.206 172.22.1.217 172.22.1.206 CARP-Protocol 35Wednesday 7 December 16
  • 61. © Men & Mice http://menandmice.com relayd redirect configuration 36 # Layer 3 forwarding table <dnsserver> { 172.22.1.210, 172.22.1.217 } redirect dnsbalance { listen on 172.22.1.206 tcp port 53 listen on 172.22.1.206 udp port 53 forward to <dnsserver> check tcp } file /etc/relayd.conf 36Wednesday 7 December 16
  • 62. © Men & Mice http://menandmice.com OpenBSD relayd 37 OpenBSD Kernel Userspace DNS-Server (BIND 9) relayd PF-Firewall Layer 3 redirect 37Wednesday 7 December 16
  • 63. © Men & Mice http://menandmice.com OpenBSD relayd 38 OpenBSD Kernel Userspace DNS-Server (BIND 9) relayd PF-Firewall probes Layer 3 redirect 38Wednesday 7 December 16
  • 64. © Men & Mice http://menandmice.com OpenBSD relayd 39 OpenBSD Kernel Userspace DNS-Server (BIND 9) relayd PF-Firewall probes OK configures PF rules Layer 3 redirect 39Wednesday 7 December 16
  • 65. © Men & Mice http://menandmice.com OpenBSD relayd 40 OpenBSD Kernel Userspace DNS-Server (BIND 9) relayd PF-Firewall probes OK configures PF rules DNS-Query Layer 3 redirect 40Wednesday 7 December 16
  • 66. © Men & Mice http://menandmice.com OpenBSD relayd 41 OpenBSD Kernel Userspace DNS-Server (BIND 9) relayd PF-Firewall probes OK configures PF rules DNS-Query DNS-Query Layer 3 redirect 41Wednesday 7 December 16
  • 67. © Men & Mice http://menandmice.com OpenBSD relayd 42 OpenBSD Kernel Userspace DNS-Server (BIND 9) DOWN relayd PF-Firewall probes Layer 3 redirect 42Wednesday 7 December 16
  • 68. © Men & Mice http://menandmice.com OpenBSD relayd 43 OpenBSD Kernel Userspace relayd PF-Firewall probes Not-OK configures PF rules DNS-Server (BIND 9) DOWN Layer 3 redirect 43Wednesday 7 December 16
  • 69. © Men & Mice http://menandmice.com OpenBSD relayd 44 OpenBSD Kernel Userspace relayd PF-Firewall probes Not-OK configures PF rules DNS-Query DNS-Server (BIND 9) DOWN Layer 3 redirect 44Wednesday 7 December 16
  • 70. © Men & Mice http://menandmice.com OpenBSD relayd 45 OpenBSD Kernel Userspace relayd PF-Firewall probes Not-OK configures PF rules DNS-Query DNS-Query DNS-Server (BIND 9) DOWN Layer 3 redirect 45Wednesday 7 December 16
  • 71. © Men & Mice http://menandmice.com relayd relay configuration 46 # Layer 7 Application Layer Proxy table <dnsserver> { 172.22.1.210, 172.22.1.217 } dns protocol "dnsproto" relay dnsbalance { protocol dnsproto listen on 172.22.1.206 port 53 forward to <dnsserver> check tcp } file /etc/relayd.conf 46Wednesday 7 December 16
  • 72. © Men & Mice http://menandmice.com OpenBSD relayd 47 OpenBSD Kernel Userspace DNS-Server (BIND 9) relayd PF-Firewall Layer 7 proxy 47Wednesday 7 December 16
  • 73. © Men & Mice http://menandmice.com OpenBSD relayd 48 OpenBSD Kernel Userspace DNS-Server (BIND 9) relayd PF-Firewall probes Layer 7 proxy 48Wednesday 7 December 16
  • 74. © Men & Mice http://menandmice.com OpenBSD relayd 49 OpenBSD Kernel Userspace DNS-Server (BIND 9) relayd PF-Firewall probes OK Layer 7 proxy 49Wednesday 7 December 16
  • 75. © Men & Mice http://menandmice.com OpenBSD relayd 50 OpenBSD Kernel Userspace DNS-Server (BIND 9) relayd PF-Firewall probes OK DNS-Query DNS-Query Layer 7 proxy 50Wednesday 7 December 16
  • 76. © Men & Mice http://menandmice.com OpenBSD relayd 51 OpenBSD Kernel Userspace DNS-Server (BIND 9) relayd PF-Firewall probes OK DNS-Query DNS-Query Layer 7 proxy DNS-Query 51Wednesday 7 December 16
  • 77. © Men & Mice http://menandmice.com OpenBSD relayd 52 OpenBSD Kernel Userspace DNS-Server (BIND 9) DOWN relayd PF-Firewall probes Layer 7 proxy 52Wednesday 7 December 16
  • 78. © Men & Mice http://menandmice.com OpenBSD relayd 53 OpenBSD Kernel Userspace relayd PF-Firewall probes Not-OK DNS-Server (BIND 9) DOWN Layer 7 proxy 53Wednesday 7 December 16
  • 79. © Men & Mice http://menandmice.com OpenBSD relayd 54 OpenBSD Kernel Userspace relayd PF-Firewall probes Not-OK DNS-Query DNS-Server (BIND 9) DOWN Layer 7 proxy DNS-Query 54Wednesday 7 December 16
  • 80. © Men & Mice http://menandmice.com OpenBSD relayd 55 OpenBSD Kernel Userspace relayd PF-Firewall probes Not-OK DNS-Query DNS-Query DNS-Server (BIND 9) DOWN Layer 7 proxy DNS-Query 55Wednesday 7 December 16
  • 81. © Men & Mice http://menandmice,com relayd demo 56Wednesday 7 December 16
  • 82. © Men & Mice http://menandmice,com PowerDNS dnsdist 57Wednesday 7 December 16
  • 83. © Men & Mice http://menandmice.com dnsdist “dnsdist” is an DNS aware application level gateway • part of PowerDNS, but DNS server agnostic (can be used with any DNS resolver or authoritative server) • supports various load-balancing schemes (least outstanding, firstAvailable, weighted hash, weighted random, round-robin ...) • can do more than load balancing (filter, block, rewrite DNS traffic ...) 58 58Wednesday 7 December 16
  • 84. © Men & Mice http://menandmice.com dnsdist “dnsdist” is an DNS aware application level gateway • Lua-configuration and Lua-scriptable • available for Linux (Debian, Raspbian, Suse, Ubuntu, CentOS), FreeBSD • should work on other Unix-ish systems • Free Software (GPLv2 License) 59 http://dnsdist.org 59Wednesday 7 December 16
  • 85. © Men & Mice http://menandmice.com DNS-Resolver with dnsdist 60 Internet 172.22.1.210 172.22.1.217 Heartbeat 172.22.1.200 (dnsdist) 172.22.1.200 (dnsdist) 60Wednesday 7 December 16
  • 86. © Men & Mice http://menandmice.com DNS-Resolver with dnsdist 60 Internet /etc/resolv.conf nameserver 172.22.1.200 172.22.1.210 172.22.1.217 Heartbeat 172.22.1.200 (dnsdist) 172.22.1.200 (dnsdist) 60Wednesday 7 December 16
  • 87. © Men & Mice http://menandmice.com DNS-Resolver with dnsdist 60 Internet /etc/resolv.conf nameserver 172.22.1.200 172.22.1.210 172.22.1.217 Heartbeat 172.22.1.200 (dnsdist) 172.22.1.200 (dnsdist) 60Wednesday 7 December 16
  • 88. © Men & Mice http://menandmice.com DNS-Resolver with dnsdist 60 Internet /etc/resolv.conf nameserver 172.22.1.200 172.22.1.210 172.22.1.217 Heartbeat 172.22.1.200 (dnsdist) 172.22.1.200 (dnsdist) 60Wednesday 7 December 16
  • 89. © Men & Mice http://menandmice.com DNS-Resolver with dnsdist 60 Internet /etc/resolv.conf nameserver 172.22.1.200 172.22.1.210 172.22.1.217 Heartbeat 172.22.1.200 (dnsdist) 172.22.1.200 (dnsdist) 60Wednesday 7 December 16
  • 90. © Men & Mice http://menandmice.com DNS-Resolver with dnsdist 60 Internet /etc/resolv.conf nameserver 172.22.1.200 172.22.1.210 172.22.1.217 Heartbeat 172.22.1.200 (dnsdist) 172.22.1.200 (dnsdist) 60Wednesday 7 December 16
  • 91. © Men & Mice http://menandmice.com starting dnsdist simple dnsdist startup without configuration file # dnsdist -l 172.22.1.200 172.22.1.210 172.22.1.217 61 local IP to listen for DNS queries DNS server to forward queries 61Wednesday 7 December 16
  • 92. © Men & Mice http://menandmice,com dnsdist demo 62Wednesday 7 December 16
  • 93. © Men & Mice http://menandmice,com dnsdist statistics demo 63Wednesday 7 December 16
  • 94. © Men & Mice http://menandmice,com comparing relayd and dnsdist 64Wednesday 7 December 16
  • 95. © Men & Mice http://menandmice,com relayd vs. dnsdist •relayd -- only available on OpenBSD (FreeBSD) •dnsdist -- available on many Linux/Unix systems 65Wednesday 7 December 16
  • 96. © Men & Mice http://menandmice,com relayd vs. dnsdist •relayd -- fast layer 3 forwarding in kernel space and userspace proxying •dnsdist -- only userspace proxying (but still pretty fast) 66Wednesday 7 December 16
  • 97. © Men & Mice http://menandmice,com relayd vs. dnsdist •relayd -- simple health monitoring and reporting •dnsdist -- online DNS statistics and Web-UI statistics 67Wednesday 7 December 16
  • 98. © Men & Mice http://menandmice,com relayd vs. dnsdist •relayd -- filtering with “pf” firewall •dnsdist -- DNS aware filtering with Lua-Scripting option 68Wednesday 7 December 16
  • 99. © Men & Mice http://menandmice,com relayd vs. dnsdist •relayd -- BSD license •dnsdist -- GPLv3 License 69Wednesday 7 December 16
  • 100. © Men & Mice http://menandmice,com Men & Mice Training • February 13 – 17 -- Redwood City, California, US Introduction to DNS & BIND Hands-On class and Introduction & Advanced DNS and BIND Topics Hands-on •March 6 – 10, -- Amsterdam (NL) or Osnabrueck (DE) Introduction to DNS & BIND Hands-On class and Introduction & Advanced DNS and BIND Topics Hands-on https://www.menandmice.com/support-training/training/ 70Wednesday 7 December 16
  • 101. © Men & Mice http://menandmice.com Webinar schedule 2017 This is our schedule for the webinars in the beginning of 2017 • 2nd Feb 2017 BIND 9 logging best practices • 23rd March 2017 DNSSEC zone signing tutorial • 13th April 2017 SMTP STS (Strict Transport Security) vs. SMTP with DANE 71 71Wednesday 7 December 16
  • 102. © Men & Mice http://menandmice.com Webinar schedule 2017 Additional webinar topics coming in 2017 • DNSSEC key management with BIND 9 "keymgr" • BIND 9 (and Men & Mice) on Docker (Linux) • Men & Mice Suite on Docker with Windows 2016 Server • How to manage DMARC-, SPF-, DKIM-, multi-part TXT-, CAA-, DANE-records in DNS zones • DNS over TCP: new developments from the IETF • DNS Server with SQL-Databases: PowerDNS and BIND 9 72 72Wednesday 7 December 16
  • 103. © Men & Mice http://menandmice,com Thank you! Questions? Comments? 73 73Wednesday 7 December 16