SlideShare ist ein Scribd-Unternehmen logo
1 von 20
DNS64
OS X El Capitan(10.11.1)
and
unbound-1.5.1
2015/11/08
@otsuka752 (@twovs)
© 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.
#WWDC15
Your App and

Next Generation Networks
Prabhakar Lakhera Core OS Networking Engineer
Stuart Cheshire DEST
System Frameworks
Session 719
(抜粋)WWDC15 - Your App and Next Generation Network
IPv4 Server
Cellular Data Network
DNS64
NAT64
IPv6 Server
IPv6 Access

Connectivity
DNS64 synthesizes IPv6 address for IPv4 server
NAT64 performs IPv6 to IPv4 address translation
(抜粋)WWDC15 - Your App and Next Generation Network
NAT64 + DNS64 Internet Sharing
IPv4 WAN
IPv6 Access

Connectivity
DNS64
NAT64
(抜粋)WWDC15 - Your App and Next Generation Network
NAT64 + DNS64 Internet Sharing
IPv4 WAN
IPv6 Access

Connectivity
DNS64
NAT64
触ってみた
NAT64/DNS64 の準備
6
NAT64/DNS64 の準備
optionを
押しながら
クリック
7
上位回線を指定
IPv4だけでOK
下位回線は
IPv6だけが
構成される
NAT64/DNS64 の準備
8
bridge100
2001:2:0:aab1::0/64
【参考】https://www.nic.ad.jp/ja/mailmagazine/backnumber/2015/vol1335.html
unbound ?
dns64-synthall: yes
synthesize all AAAA records despite the
presence of actual AAAA records.
El Capitan 自身に設定された
DNS Cache サーバのアドレス
10
unbound-1.5.1 ?
11
• ipv4only.example.jp.
→ A だけある(AAAA は無い)
• ipv4v6.example.jp.
→ A も AAAA もある
• ipv6only.example.jp.
→ AAAA だけある(A は無い)
12
以下の AAAA を問い合わせてみる
NAT64 + DNS64 Internet Sharing
IPv4 WAN
IPv6 Access

Connectivity
DNS64
NAT64
(抜粋)WWDC15 - Your App and Next Generation Network
xxx.example.jp.
AAAA?
dns64-
synthall:
qname answer
yes
ipv4only 64:ff9b::xx:xx
ipv4andv6 64:ff9b::xx:xx
ipv6only (none)
B yes ::/0
ipv4only 64:ff9b::xx:xx
ipv4andv6 64:ff9b::xx:xx
ipv6only (none)
C no (none)
ipv4only 64:ff9b::xx:xx
ipv4andv6 (global unicast addr)
ipv6only (global unicast addr)
D no ::/0
ipv4only 64:ff9b::xx:xx
ipv4andv6 64:ff9b::xx:xx
ipv6only (none)
El Capitan の結果
AAAA があっても
A をマップした 64:ff9b::xx:xx を応答
つまり、A が 192.0.2.1 の場合は
64:ff9b::c000:201
14
NAT64 + DNS64 Internet Sharing
IPv4 WAN
IPv6 Access

Connectivity
DNS64
NAT64unbound-1.5.1
dns64-synthall: yes¦no
private-address: (none)¦::/0
xxx.example.jp.
AAAA?
dns64-
synthall:
private-
address:
qname answer
A yes (none)
ipv4only 64:ff9b::xx:xx
ipv4andv6 64:ff9b::xx:xx
ipv6only (none)
B yes ::/0
ipv4only 64:ff9b::xx:xx
ipv4andv6 64:ff9b::xx:xx
ipv6only (none)
C no (none)
ipv4only 64:ff9b::xx:xx
ipv4andv6 (global unicast addr)
ipv6only (global unicast addr)
D no ::/0
ipv4only 64:ff9b::xx:xx
ipv4andv6 64:ff9b::xx:xx
ipv6only (none)
unbound-1.5.1 の結果
El
Capitan
と同じ
• dns64-synthall: yes されているように見え
AAAA があっても A を 64:ff9b::xx:xx にマップ
• そもそも上位に AAAA を問い合わせていない
• unbound-1.5.1 が動いているように見える
17
まとめ/El Capitan の DNS64
• dns64-synthall: yes されていると AAAA を名前
解決しようとせず、いきなり A を問い合わせる
• private-address: ::/0 を指定していても DNS64
の 64:ff9b::xx:xx は返答する
18
まとめ/unbound-1.5.1 の DNS64
参考/上位への問い合わせ(unbound)
dns64-
synthall:
private-
address:
qname query to uplink
A yes (none)
ipv4only A only
ipv4andv6 A only
ipv6only A only
B yes ::/0
ipv4only A only
ipv4andv6 A only
ipv6only A only
C no (none)
ipv4only AAAA + A
ipv4andv6 AAAA only
ipv6only AAAA only
D no ::/0
ipv4only AAAA + A
ipv4andv6 AAAA + A
ipv6only AAAA + A
END

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Hydrogen → Helium での Linux kernel の違い
Hydrogen → Helium での Linux kernel の違いHydrogen → Helium での Linux kernel の違い
Hydrogen → Helium での Linux kernel の違い
 
I pv6 のはなし
I pv6 のはなしI pv6 のはなし
I pv6 のはなし
 
Lagopusで試すL3ルーティング + α (Lagopusの設定方法いろいろ)
Lagopusで試すL3ルーティング + α (Lagopusの設定方法いろいろ)Lagopusで試すL3ルーティング + α (Lagopusの設定方法いろいろ)
Lagopusで試すL3ルーティング + α (Lagopusの設定方法いろいろ)
 
ASAMAP Update
ASAMAP UpdateASAMAP Update
ASAMAP Update
 
IPv6の現状
IPv6の現状IPv6の現状
IPv6の現状
 
"SRv6の現状と展望" ENOG53@上越
"SRv6の現状と展望" ENOG53@上越"SRv6の現状と展望" ENOG53@上越
"SRv6の現状と展望" ENOG53@上越
 
ジョークRFC紹介
ジョークRFC紹介ジョークRFC紹介
ジョークRFC紹介
 
Bird in show_net
Bird in show_netBird in show_net
Bird in show_net
 
BGP Unnumbered で遊んでみた
BGP Unnumbered で遊んでみたBGP Unnumbered で遊んでみた
BGP Unnumbered で遊んでみた
 
IPv6 を始めてみた
IPv6 を始めてみたIPv6 を始めてみた
IPv6 を始めてみた
 
ONIC2017 プログラマブル・データプレーン時代に向けた ネットワーク・オペレーションスタック
ONIC2017 プログラマブル・データプレーン時代に向けた ネットワーク・オペレーションスタックONIC2017 プログラマブル・データプレーン時代に向けた ネットワーク・オペレーションスタック
ONIC2017 プログラマブル・データプレーン時代に向けた ネットワーク・オペレーションスタック
 
HTTP2 最速実装 〜入門編〜
HTTP2 最速実装 〜入門編〜HTTP2 最速実装 〜入門編〜
HTTP2 最速実装 〜入門編〜
 
Lagopusで試すFirewall
Lagopusで試すFirewallLagopusで試すFirewall
Lagopusで試すFirewall
 
最新ゲームを支える文言
最新ゲームを支える文言最新ゲームを支える文言
最新ゲームを支える文言
 
High Performance Networking with DPDK & Multi/Many Core
High Performance Networking with DPDK & Multi/Many CoreHigh Performance Networking with DPDK & Multi/Many Core
High Performance Networking with DPDK & Multi/Many Core
 
#pakeana 14
#pakeana 14#pakeana 14
#pakeana 14
 
NPStudy LT Lagopus Router v19.07
NPStudy LT Lagopus Router v19.07NPStudy LT Lagopus Router v19.07
NPStudy LT Lagopus Router v19.07
 
ネットワーク機器のAPIあれこれ入門 (NetOpsCoding#2)
ネットワーク機器のAPIあれこれ入門(NetOpsCoding#2)ネットワーク機器のAPIあれこれ入門(NetOpsCoding#2)
ネットワーク機器のAPIあれこれ入門 (NetOpsCoding#2)
 
LagopusとAzureとIPsecとDPDK
LagopusとAzureとIPsecとDPDKLagopusとAzureとIPsecとDPDK
LagopusとAzureとIPsecとDPDK
 
Lagopus & NFV with Vhost (Tremaday#9)
Lagopus & NFV with Vhost (Tremaday#9)Lagopus & NFV with Vhost (Tremaday#9)
Lagopus & NFV with Vhost (Tremaday#9)
 

Andere mochten auch

IPv6冗長で差をつけよう 2011年夏の思い出作り VRRP編
IPv6冗長で差をつけよう  2011年夏の思い出作り VRRP編IPv6冗長で差をつけよう  2011年夏の思い出作り VRRP編
IPv6冗長で差をつけよう 2011年夏の思い出作り VRRP編
@ otsuka752
 
Sara portfolio april 2011 cput 2nd yr
Sara portfolio april 2011 cput 2nd yrSara portfolio april 2011 cput 2nd yr
Sara portfolio april 2011 cput 2nd yr
Sara Savahl
 
Packet と向き合う夏 VRRP Advertisement編
Packet と向き合う夏 VRRP Advertisement編Packet と向き合う夏 VRRP Advertisement編
Packet と向き合う夏 VRRP Advertisement編
@ otsuka752
 
Data Integrity Techniques: Aviation Best Practices for CRC & Checksum Error D...
Data Integrity Techniques: Aviation Best Practices for CRC & Checksum Error D...Data Integrity Techniques: Aviation Best Practices for CRC & Checksum Error D...
Data Integrity Techniques: Aviation Best Practices for CRC & Checksum Error D...
Philip Koopman
 

Andere mochten auch (18)

a little more about CaptureFilter
a little more about CaptureFiltera little more about CaptureFilter
a little more about CaptureFilter
 
パケットが教えてくれた ルートサーバが 13個の理由
パケットが教えてくれた ルートサーバが 13個の理由パケットが教えてくれた ルートサーバが 13個の理由
パケットが教えてくれた ルートサーバが 13個の理由
 
iptables BPF module 効果測定
iptables BPF module 効果測定iptables BPF module 効果測定
iptables BPF module 効果測定
 
IPv6冗長で差をつけよう 2011年夏の思い出作り VRRP編
IPv6冗長で差をつけよう  2011年夏の思い出作り VRRP編IPv6冗長で差をつけよう  2011年夏の思い出作り VRRP編
IPv6冗長で差をつけよう 2011年夏の思い出作り VRRP編
 
Islam science and morals
Islam science and moralsIslam science and morals
Islam science and morals
 
Sara portfolio april 2011 cput 2nd yr
Sara portfolio april 2011 cput 2nd yrSara portfolio april 2011 cput 2nd yr
Sara portfolio april 2011 cput 2nd yr
 
Packet と向き合う夏 VRRP Advertisement編
Packet と向き合う夏 VRRP Advertisement編Packet と向き合う夏 VRRP Advertisement編
Packet と向き合う夏 VRRP Advertisement編
 
Maria X MIT presentation slides
Maria X MIT presentation slidesMaria X MIT presentation slides
Maria X MIT presentation slides
 
It fin analyse_slideshare_20110915
It fin analyse_slideshare_20110915It fin analyse_slideshare_20110915
It fin analyse_slideshare_20110915
 
超簡単!? Punycode 変換 ~国際化・日本語ドメイン~
超簡単!? Punycode 変換 ~国際化・日本語ドメイン~超簡単!? Punycode 変換 ~国際化・日本語ドメイン~
超簡単!? Punycode 変換 ~国際化・日本語ドメイン~
 
Ahadees
AhadeesAhadees
Ahadees
 
how to defend DNS authoritative server against DNS WaterTorture
how to defend DNS authoritative server against DNS WaterTorturehow to defend DNS authoritative server against DNS WaterTorture
how to defend DNS authoritative server against DNS WaterTorture
 
Ceit 338
Ceit 338Ceit 338
Ceit 338
 
about tcpreplay-edit
about tcpreplay-editabout tcpreplay-edit
about tcpreplay-edit
 
how to GET GET
how to GET GEThow to GET GET
how to GET GET
 
Data Integrity Techniques: Aviation Best Practices for CRC & Checksum Error D...
Data Integrity Techniques: Aviation Best Practices for CRC & Checksum Error D...Data Integrity Techniques: Aviation Best Practices for CRC & Checksum Error D...
Data Integrity Techniques: Aviation Best Practices for CRC & Checksum Error D...
 
Poor Rich (Poor Rich.Pps)
Poor Rich (Poor Rich.Pps)Poor Rich (Poor Rich.Pps)
Poor Rich (Poor Rich.Pps)
 
VIOPS10: DMM.comのインフラのこれから
VIOPS10: DMM.comのインフラのこれからVIOPS10: DMM.comのインフラのこれから
VIOPS10: DMM.comのインフラのこれから
 

Ähnlich wie DNS64 (El capitan and unbound-1.5.1)

Internet Week 2018 知っておくべきIPv6とセキュリティの話
Internet Week 2018 知っておくべきIPv6とセキュリティの話Internet Week 2018 知っておくべきIPv6とセキュリティの話
Internet Week 2018 知っておくべきIPv6とセキュリティの話
Akira Nakagawa
 
Redunduncy of NAT instance on AWS/VPC
Redunduncy of NAT instance on AWS/VPCRedunduncy of NAT instance on AWS/VPC
Redunduncy of NAT instance on AWS/VPC
Masaaki HIROSE
 
「さくらのクラウド」におけるVyattaの活用事例
「さくらのクラウド」におけるVyattaの活用事例「さくらのクラウド」におけるVyattaの活用事例
「さくらのクラウド」におけるVyattaの活用事例
SAKURA Internet Inc.
 
I Pv6 Service Deployment Guideline
I Pv6 Service Deployment GuidelineI Pv6 Service Deployment Guideline
I Pv6 Service Deployment Guideline
guestfcd0535
 
Openvswitch vps 20120429資料
Openvswitch vps 20120429資料Openvswitch vps 20120429資料
Openvswitch vps 20120429資料
Daisuke Nakajima
 

Ähnlich wie DNS64 (El capitan and unbound-1.5.1) (20)

IPv4/IPv6 移行・共存技術の動向
IPv4/IPv6 移行・共存技術の動向IPv4/IPv6 移行・共存技術の動向
IPv4/IPv6 移行・共存技術の動向
 
SRv6 study
SRv6 studySRv6 study
SRv6 study
 
Internet Week 2018 知っておくべきIPv6とセキュリティの話
Internet Week 2018 知っておくべきIPv6とセキュリティの話Internet Week 2018 知っておくべきIPv6とセキュリティの話
Internet Week 2018 知っておくべきIPv6とセキュリティの話
 
Faster SRv6 D-plane with XDP
Faster SRv6 D-plane with XDPFaster SRv6 D-plane with XDP
Faster SRv6 D-plane with XDP
 
AS45679 on FreeBSD
AS45679 on FreeBSDAS45679 on FreeBSD
AS45679 on FreeBSD
 
Container Networking Deep Dive
Container Networking Deep DiveContainer Networking Deep Dive
Container Networking Deep Dive
 
これからのアプリ開発はIPv6対応で行こう!(2014/09/20 OSC Hiroshima版)
これからのアプリ開発はIPv6対応で行こう!(2014/09/20 OSC Hiroshima版)これからのアプリ開発はIPv6対応で行こう!(2014/09/20 OSC Hiroshima版)
これからのアプリ開発はIPv6対応で行こう!(2014/09/20 OSC Hiroshima版)
 
IPv6 Update
IPv6 UpdateIPv6 Update
IPv6 Update
 
Redunduncy of NAT instance on AWS/VPC
Redunduncy of NAT instance on AWS/VPCRedunduncy of NAT instance on AWS/VPC
Redunduncy of NAT instance on AWS/VPC
 
OSC 2011 Hokkaido 自宅SAN友の会(後半)
OSC 2011 Hokkaido 自宅SAN友の会(後半)OSC 2011 Hokkaido 自宅SAN友の会(後半)
OSC 2011 Hokkaido 自宅SAN友の会(後半)
 
「さくらのクラウド」におけるVyattaの活用事例
「さくらのクラウド」におけるVyattaの活用事例「さくらのクラウド」におけるVyattaの活用事例
「さくらのクラウド」におけるVyattaの活用事例
 
ARPトラブルあるある JANOG38 LT
ARPトラブルあるある JANOG38 LTARPトラブルあるある JANOG38 LT
ARPトラブルあるある JANOG38 LT
 
I Pv6 Service Deployment Guideline
I Pv6 Service Deployment GuidelineI Pv6 Service Deployment Guideline
I Pv6 Service Deployment Guideline
 
Kernel vm-2014-05-25
Kernel vm-2014-05-25Kernel vm-2014-05-25
Kernel vm-2014-05-25
 
Openvswitch vps 20120429資料
Openvswitch vps 20120429資料Openvswitch vps 20120429資料
Openvswitch vps 20120429資料
 
[db tech showcase Sapporo 2015] B14:データベース環境における検証結果から理解する失敗しないフラッシュ活用法 第二章 b...
[db tech showcase Sapporo 2015] B14:データベース環境における検証結果から理解する失敗しないフラッシュ活用法 第二章 b...[db tech showcase Sapporo 2015] B14:データベース環境における検証結果から理解する失敗しないフラッシュ活用法 第二章 b...
[db tech showcase Sapporo 2015] B14:データベース環境における検証結果から理解する失敗しないフラッシュ活用法 第二章 b...
 
LoRaWAN v1.1仕様読解 Class A
LoRaWAN v1.1仕様読解 Class ALoRaWAN v1.1仕様読解 Class A
LoRaWAN v1.1仕様読解 Class A
 
Yet another Intel Chipset Internal SMBus device’s driver: ismt(4) (and spdmem...
Yet another Intel Chipset Internal SMBus device’s driver: ismt(4)(and spdmem...Yet another Intel Chipset Internal SMBus device’s driver: ismt(4)(and spdmem...
Yet another Intel Chipset Internal SMBus device’s driver: ismt(4) (and spdmem...
 
OpenStack Kilo with 6Wind VA High-Performance Networking Using DPDK - OpenSta...
OpenStack Kilo with 6Wind VA High-Performance Networking Using DPDK - OpenSta...OpenStack Kilo with 6Wind VA High-Performance Networking Using DPDK - OpenSta...
OpenStack Kilo with 6Wind VA High-Performance Networking Using DPDK - OpenSta...
 
Apache Hadoopの未来 3系になって何が変わるのか?
Apache Hadoopの未来 3系になって何が変わるのか?Apache Hadoopの未来 3系になって何が変わるのか?
Apache Hadoopの未来 3系になって何が変わるのか?
 

Mehr von @ otsuka752

IPv6SG_03_20121103
IPv6SG_03_20121103IPv6SG_03_20121103
IPv6SG_03_20121103
@ otsuka752
 
IPv6冗長で差をつけよう 2011年夏の思い出作り HSRP編
IPv6冗長で差をつけよう 2011年夏の思い出作り HSRP編IPv6冗長で差をつけよう 2011年夏の思い出作り HSRP編
IPv6冗長で差をつけよう 2011年夏の思い出作り HSRP編
@ otsuka752
 

Mehr von @ otsuka752 (15)

NS & NSID of Amazon Route 53
NS & NSID of Amazon Route 53NS & NSID of Amazon Route 53
NS & NSID of Amazon Route 53
 
OLD_LT_DNS_OLD
OLD_LT_DNS_OLDOLD_LT_DNS_OLD
OLD_LT_DNS_OLD
 
OLD_Lt traffic analyse_OLD
OLD_Lt traffic analyse_OLDOLD_Lt traffic analyse_OLD
OLD_Lt traffic analyse_OLD
 
Hijack the domain name
Hijack the domain nameHijack the domain name
Hijack the domain name
 
Route53 で親子同居
Route53 で親子同居Route53 で親子同居
Route53 で親子同居
 
reusable delegation set のススメ (Route53)
reusable delegation set のススメ (Route53)reusable delegation set のススメ (Route53)
reusable delegation set のススメ (Route53)
 
how to decrypt SSL/TLS without PrivateKey of servers
how to decrypt SSL/TLS without PrivateKey of servershow to decrypt SSL/TLS without PrivateKey of servers
how to decrypt SSL/TLS without PrivateKey of servers
 
WireEdit のススメ
WireEdit のススメWireEdit のススメ
WireEdit のススメ
 
Measurement of Maximum new NAT-sessions per second / How to send packets
Measurement of Maximum new NAT-sessionsper second / How to send packetsMeasurement of Maximum new NAT-sessionsper second / How to send packets
Measurement of Maximum new NAT-sessions per second / How to send packets
 
毎日 dig ったら分かったこと ~新 gTLD~
毎日 dig ったら分かったこと ~新 gTLD~毎日 dig ったら分かったこと ~新 gTLD~
毎日 dig ったら分かったこと ~新 gTLD~
 
萌え萌えドメイン名一覧(.moe)
萌え萌えドメイン名一覧(.moe)萌え萌えドメイン名一覧(.moe)
萌え萌えドメイン名一覧(.moe)
 
about Tcpreplay
about Tcpreplayabout Tcpreplay
about Tcpreplay
 
IPv6SG_03_20121103
IPv6SG_03_20121103IPv6SG_03_20121103
IPv6SG_03_20121103
 
osoljp 2011.08
osoljp 2011.08osoljp 2011.08
osoljp 2011.08
 
IPv6冗長で差をつけよう 2011年夏の思い出作り HSRP編
IPv6冗長で差をつけよう 2011年夏の思い出作り HSRP編IPv6冗長で差をつけよう 2011年夏の思い出作り HSRP編
IPv6冗長で差をつけよう 2011年夏の思い出作り HSRP編
 

DNS64 (El capitan and unbound-1.5.1)