1 / 21

Hiroshi KITAMURA NEC Corporation kitamura@da.jp.nec

Simplified DNS Query under IPv4/IPv6 Mixed Environment <draft-kitamura-ipv6-simple-dns-query-00.txt>. Hiroshi KITAMURA NEC Corporation kitamura@da.jp.nec.com. Index. Goals and Non-goal for today Analysis of current regular Two DNS queries method Understanding Confirmation

cooper
Download Presentation

Hiroshi KITAMURA NEC Corporation kitamura@da.jp.nec

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Simplified DNS Query under IPv4/IPv6 Mixed Environment<draft-kitamura-ipv6-simple-dns-query-00.txt> Hiroshi KITAMURA NEC Corporation kitamura@da.jp.nec.com

  2. Index • Goals and Non-goal for today • Analysis of current regular Two DNS queries method • Understanding Confirmation • Problems of the current Two DNS queries transaction method • Proposal: 3 types of One DNS query transaction for One domain name resolving methods. • Two record types (AAAA and A) set Queries • One special new record type (e.g., AAAA+A) set Queries • One record type (AAAA) set Querieswith transformation of A (IPv4) record entries • Discussions

  3. Goals and Non-goal for today • Clarify problems of current regular Two DNS queries method • Propose a simplified regular DNS query method (One DNS query for One domain name resolving) Goal for today: - Notice that the current Two-DNS queries method is problematic and should be refined. Non-goal for today: - Discuss which simplified query method is suitable.

  4. Simple DNS Query: (used in IPv4 only era) Client (w/ PF_INET) DNS Server Queries 1 IPv4(A): Name: hostX Type: A p q Answers 1 Name: hostX Type: A Addr: p(IPv4) Name: hostX Type: A Addr: q(IPv4)

  5. Current: DNS Server Status under IPv4 / IPv6 Mixed Environment for (one domain name) hostX • TwoIPv4 addresses (p, q) are registered as A record In addition: • Two IPv6 addresses (s, t) are registered as AAAA record DNS Server IPv4(A): IPv6(AAAA): p q s t

  6. VariousImplementation typesfor current Two DNS queries method At least, 4 types of implementations are known.

  7. 4-6 (A first) Serial Type Client (w/ PF_UNSPEC) DNS Server Queries 1 IPv4(A): IPv6(AAAA): p q Name: hostX Type: A s t Answers 1 Name: hostX Type: A Addr: p(IPv4) Name: hostX Type: A Addr: q(IPv4) Queries 2 Name: hostX Type: AAAA Answers 2 Name: hostX Type: AAAA Addr: s(IPv6) Name: hostX Type: AAAA Addr: t(IPv6) Popular ImplementationWindows Vista/7, FreeBSD adopt this

  8. 6-4(AAAA first) Serial Type (RFC4472 shows) Client (w/ PF_UNSPEC) DNS Server Queries 1 NOT Recommended Now! to avoid confusion RFC4472 (dnsop) should be updated??? IPv4(A): IPv6(AAAA): p q Name: hostX Type: AAAA s t Answers 1 Name: hostX Type: AAAA Addr: s(IPv6) Name: hostX Type: AAAA Addr: t(IPv6) Queries 2 • We have to remember orderIndependence • “Issued queries” order • “listed entries” order of getaddrinfo() return Name: hostX Type: A Answers 2 Name: hostX Type: A Addr: p(IPv4) Name: hostX Type: A Addr: q(IPv4)

  9. 4-6 (A first) Parallel Type Client (w/ PF_UNSPEC) DNS Server Queries 1 IPv4(A): IPv6(AAAA): p q Name: hostX Type: A s t Queries 2 Name: hostX Type: AAAA Answers 1 Name: hostX Type: A Addr: p(IPv4) Name: hostX Type: A Addr: q(IPv4) Answers 2 Name: hostX Type: AAAA Addr: s(IPv6) Name: hostX Type: AAAA Addr: t(IPv6) Popular Implementation, tooSome Linux (after glibc2.10) adopt this

  10. 6-4(AAAA first) Parallel Type Client (w/ PF_UNSPEC) DNS Server Queries 1 IPv4(A): IPv6(AAAA): p q Name: hostX Type: AAAA s t Queries 2 Name: hostX Type: A Answers 1 Name: hostX Type: AAAA Addr: s(IPv6) Name: hostX Type: AAAA Addr: t(IPv6) Answers 2 Name: hostX Type: A Addr: p(IPv4) Name: hostX Type: A Addr: q(IPv4)

  11. Understanding Confirmation Q: Why we have adopted Two DNS queries method? A: Though it is less efficient, in order to avoid problems that is caused by meeting non-IPv6 ready DNS servers 1: keep IPv4(A) DNS query as it is. 2: Introduce IPv6(AAAA) DNS query independently It must be time to reconsider or refine DNS query method under IPv4/IPv6 mixed environment, NOW!

  12. Problems of current Two-queries method 1/2(from technical or abstract viewpoint) Two-queries method is: • Latency is bad: wait for receiving two answers. • If either one of two answers is lost, too complicated recover procedures are required. • twice much traffic (compared to one query) • complicated, inefficient and problematic. • not suitable and not optimized for current IPv4/IPv6 mixed environment. • temporal and will never last to the future IPv6 fully deployed environment.

  13. Problems of current Two-queries method 2/2(from operational or end-user viewpoint) Worst problems: Two-queries method is a hotbed to bring unsolvable problems for low-skill general end users, and it becomes one of the biggest obstacles to deploy the IPv6 to the Internet. When low-skill end users meet such problems, solution for them is “Uninstall IPv6 protocol stack”. It is clear that this is “put the cart before the horse” type bad solution, but there are no choice for them.

  14. One of unsolvable problems example for low-skill general end users • Two types of Application implementations A: (try once type) Noloop after getaddrinfo() B: (multiple try type) recommended style has try & error loop after getaddrinfo() • If an application get an unreachable IPv6 address as a first entry of getaddrinfo() return. A: can not connect() / communicate B: takes long time (because first trial is failed)

  15. What we have to do NOW? Our mission is:to provide “Simplified DNS query method” that can solve technical problems and reduce to cause unsolvable problems for low-skill general end users. Hopefully, the method should be optimized for current IPv4/IPv6 mixed environment and will last to the future IPv6 fully deployed environment. We propose “One DNS query method” to accomplish this mission

  16. Solution Proposal:3 types of One DNS query method for One domain name resolving We can discuss 3 types of methods. • Two recordtypes (AAAA and A) set Queries • One special new recordtype (e.g., AAAA+A) set Queries • One record type (AAAA) set Queries with transformation of A (IPv4) record entries

  17. 1: Two record types (AAAA and A) set Queries Client (w/ PF_UNSPEC) DNS Server Queries 1 IPv4(A): IPv6(AAAA): p q Two record types set Name: hostX Type: A Name: hostX Type: AAAA s t Answers 1 Name: hostX Type: A Addr: p(IPv4) Name: hostX Type: A Addr: q(IPv4)Name: hostX Type: AAAA Addr: s(IPv6) Name: hostX Type: AAAA Addr: t(IPv6)

  18. 2: One special new record type (e.g., AAAA+A ) set Queries Client (w/ PF_UNSPEC) DNS Server Queries 1 IPv4(A): IPv6(AAAA): p q Name: hostX Type: special new (e.g., AAAA+A) s t Answers 1 Onespecial new record (e.g.,AAAA+A) type set Name: hostX Type: A Addr: p(IPv4) Name: hostX Type: A Addr: q(IPv4)Name: hostX Type: AAAA Addr: s(IPv6) Name: hostX Type: AAAA Addr: t(IPv6) Use Pseudo-RRis also possible

  19. 3: One record type (AAAA) set Queries with transformation of A (IPv4) record entries Client (w/ PF_INET6) DNS Server Queries 1 One record type (AAAA) set with IPv4 mapped address Transformation IPv4(A): IPv6(AAAA): p q Name: hostX Type: AAAA s t Answers 1 Name: hostX Type: AAAA Addr: p’(IPv6) Name: hostX Type: AAAA Addr: q’(IPv6)Name: hostX Type: AAAA Addr: s(IPv6) Name: hostX Type: AAAA Addr: t(IPv6) Transform by using“IPv4 mapped IPv6 address” Very Unique Solution No modifications areneeded on the Clients

  20. Effects brought by One DNS query method • Simple and technical problems are solved • Efficient • Latencyis improved • Query traffic is decreased (becomes half) • If you choose Type 3(AAAA only w/ mapped address), no modifications are needed on Clients.

  21. Discussions How do you think on this issue? Q: How many people • current Two-queries method is problematic? • shown problems are worthwhile for solving? • agree with going forward this I-D? • either of the proposed One-query methods can become good solution? • Please let us know you comments. • Which types of One-query methods is preferable?

More Related