180 likes | 443 Views
ENUM. 2006. 5. 16 이병희 icebyung@hufs.ac.kr. ENUM 등장배경. 다양한 주소체계 존재 , 중복 및 유일성을 보장하지 못하는 문제점. tel:+46-8-971234. mailto:paf@example.com. tel:+46-706051234. With ENUM (E.164 Number Mapping). tel:+46-8-971234. Need only one number tel:+46-706051234. mailto:paf@example.com. ENUM.
E N D
ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr
ENUM 등장배경 • 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234 mailto:paf@example.com tel:+46-706051234 With ENUM (E.164 Number Mapping) tel:+46-8-971234 Need only one number tel:+46-706051234 mailto:paf@example.com ENUM tel:+46-706051234 이병희<icebyung@hufs.ac.kr>
E.164 • ITU-T Recommendation E.164: The international public telecommunication numbering plan • Linked to treaty obligations (specific roles and obligations defined for ITU Member States and TSB Director) • Defines number structure and functionality for three principal categories of numbers • Geographic Areas (including country codes) • Global Services • Networks • Types of E.164 • Geographic areas • ITU Member States, including integrated numbering plan involving more than one (e.g., +1) • Global Services • e.g., UIFN Freephone Numbers (+800) • Networks • Global Mobile Systems (+881 + 1 digit IC) • Shared code for Networks (+ 882 + 2 digit IC) • Groups of Countries • e.g., ETNS 이병희<icebyung@hufs.ac.kr>
User ENUM Carrier ENUM ENUM 서비스 기반기술 ENUM DNS 기반으로 다양한 서비스들을 통합, 연결 하는 서비스 DNS 기반으로 인터넷 전화사업자간 연동기반을 제공 ENUM Overview ENUM 이병희<icebyung@hufs.ac.kr>
+82-2-2186-4500 0.0.5.4.6.8.1.2.2.8.e164.arpa www.nida.or.kr enum@nida.or.kr 02-2186-4500 011-123-4567 ENUM Overview (User ENUM) • Look up what services are available for an E.164 number (or private dialing plan) in a decentralized way with distributed management of the different levels in the lookup process through • Transformation of E.164 numbers into domain name • Use of existing DNS service Transformation DNS Lookup 이병희<icebyung@hufs.ac.kr>
SSW OSP ENUM Overview (Carrier/Infrastructure ENUM) • 전세계에 분산 구성된 DNS 를 기반, 번호 해석을 통한 인터넷 전화 사업자간 위치정보 제공 • 인터넷 전화 사업자간 상호 연동 지원 ENUM DNS ITSP 070 – 123 abc.co.kr ITSP 070 - 456 def.co.kr Root .e164.arpa .2.8 4.3.2.1.4.5.6.0.7.0 call : 070-456-1234 OSP (Open Settlement Protocol) : 상호 정산체계 제공 SSW ( Soft switch) : 이종 프로토콜 변환 이병희<icebyung@hufs.ac.kr>
DNS for ENUM • ENUM 서비스는 DNS 를 기반으로 계층 0 , 1 , 2 로 구분 • e164.arpa를 위한 최상위 Zone • 각 국가에 대한 포인터 관리 • E.164 번호를 위한 네임서버 주소관리 • E.164 번호에 따른 고유성 보장 • 데이터 처리 인증 • Tier 1 Registry를 가리키는 포인터를 Tier 0 e164.arpa에 제공 • 각 국가가 관리 • 트랜잭션 인증을 포함한 NAPTR 레코드의 데이터 관리 • Tier 1 Registry에 Tier 2 ENUM DNS Provider의 포인터를 제공 이병희<icebyung@hufs.ac.kr>
DNS for ENUM • 계층 1, 2 구역 파일 구성 원칙 • Tier 1 에 전화번호 FQDN이 저장 • 중복 방지, 분쟁 해결, 인증 확인 • DNS Query 에 대한 응답이 빨라야 한다 • 전화 번호 국번 등이 변경, 통합 시 DNS 에 적용이 신속하게 이루어져야 한다. • ENUM 정보 변경 시 DNS 에 신속하게 반영 • Tier 1 파일 구성 • 2.8.e164.arpa 영역파일 Upper layer • 국내 착신지번호별구역 파일 Sub layer • Tier 2 파일 구성 • ENUM 정보 구성 이병희<icebyung@hufs.ac.kr>
Header Question Answer Authority Additional NAPTR RR and ENUM • DNS Message Format • DNS Resource Records • The data associated with domain names are contained in resource records, or RRs. • 각 RR 은 한가지의 정보를 갖고 있음 • 각 Type에 따른 RR • SOA Record (Start Of Authority): 해당 도메인에 대해 네임서버가 인증(authoritative)된 자료를 갖고 있음을 의미 • NS(Name Server) Record: 해당 도메인에 대한 delegation하는 네임서버를 지시 • A Record: 도메인에 IPv4 주소를 mapping • AAAA Record: 도메인에 IPv6 주소를 mapping • CNAME Record: 도메인에 대한 또 다른 이름 설정 • MX(Mail eXchanger) Record: 해당 호스트의 메일 라우팅 경로를 조정 • PTR(Pointer) Record: IP 주소를 domain name으로 reverse mapping해 주며, Reverse Zone 파일에서 사 • Question : question for the name server • Answer : RRs answering the question • Authority : RRs pointing toward an authority • Additional : RRs holding additional information 이병희<icebyung@hufs.ac.kr>
NAME (Dynamic) ORDER TYPE PREFERENCE CLASS FLAGS TTL SERVICE REGEXP RDLENGTH RDATA (Dynamic) REPLACEMENT NAPTR RR and ENUM • NAPTR Resource Record • A DNS RR which specifies a regular expression based rewrite rule that will produce a new domain label or Uniform Resource Identifier (URI). • the resulting domain label or URI may be used • in subsequent queries for the Naming Authority Pointer(NAPTR) resource records (to delegate the name lookup) • or as the output of the entire process for which this system is used • This allows the DNS to be used to lookup services for a wide variety of resource names (including URIs) which are not in domain name syntax. • Main Applications • URI resolution • ENUM DNS RR Format NAPTR RR Format 이병희<icebyung@hufs.ac.kr>
NAPTR RR and ENUM • NAPTR RR Format • Order: the order in which the NAPTR records MUST be processed in order to accurately represent the order list of Rules • The ordering is from lowest to highest • Should be selected based on the combination of the Preference values and Services offered, if two records have same order values • Preference: the order in which NAPTR records with equal Order values SHOULD be processed • A client MAY look at records with higher Preference values if it has a good reason to do so such as not supporting some protocol or service very well • Flags: controls whether the rewriting rule is terminated or not (empty flags) • Application-specific single character (e.g, “u” in ENUM) • Services: specifies the Service Parameters applicable to this delegation path • Up to the Application Specification to specify the value (e.g. tel, sip, mailto) 이병희<icebyung@hufs.ac.kr>
NAPTR RR and ENUM • NAPTR RR Format • Regexp: a substitute expression that is applied to the original string held by the client on order to construct the next domain name lookup • Replacement: a <domain-name> which is the next domain-name to query for depending on the potential values found in the flags field • Use when the regular expression is a simple replacement operation 이병희<icebyung@hufs.ac.kr>
Zone File Update ENUM Registrar ENUM Server Response Query Subscribe 1. ENUM 번호 변환 ENUM 번호 입력 +82-2-2186-4551 1.5.5.4.6.8.1.2.2.2.8.e164.arpa 4. 정보 리스트 작성, 출력 http, mailto, SIP…etc 3. ENUM 관련정보 수신 ENUM User 2. ENUM 번호 전송 QR(1), ANSWER QR(0), QNAME, QTYPE=NAPTR ENUM Registrant ENUM Client Communication between DNS and ENUM Client • 국가코드 IDDD를 포함한 완전한 형태의 E.164 번호를 찾음 • Ex : +82-2-2186-4551 • 문자 제거 (+, - 와 같은 문자를 제거) • Ex : 82221864551 • 점(“.”)으로 숫자 구분 • Ex : 8.2.2.2.1.8.6.4.5.5.1 • 숫자의 순서를 바꿈 • Ex : 1.5.5.4.6.8.1.2.2.2.8 • 최상위 계층과 함께 계층화된 주소체계로 변환 • Ex : 1.5.5.4.6.8.1.2.2.2.8.e164.arpa 이병희<icebyung@hufs.ac.kr>
35(0x0023) 1(0x0001) ENUM Query Message header section question section 이병희<icebyung@hufs.ac.kr>
Infrastructure ENUM • e164번호를 가지고 CSP (Communication Service Providers)가 선택된 peer 그룹 내 또는 다른 CSP들과 호스팅을 위한 정보 • CSP 내부 또는 네트워크 간 라우팅 정보 제공을 목적으로 ENUM 개념을 적용한 기술 • User ENUM과 Infrastructure ENUM의 계층구조는 호환되지 않음 Infrastructure ENUM과 User ENUM 비교 이병희<icebyung@hufs.ac.kr>
Types of Infrastructure ENUM • CSP-Internal Infrastructure ENUM • CSP Intranet에서만 접근 가능 • 인트라넷에서 사용자 또는 라우팅을 위한 서비스를 찾기 위해 • 다른 CSPs, Public Internet, 인트라넷에서 PSTN에 대한 GW 등과 연결을 위한 border elements를 찾기 위해 • 인트라넷에서 CSP간 ENUM 기술을 활용하여 중계 DB에 접근하기 위해 • 적당한 DNS 도메인이 활용되고 private 또는 부분적 public DNS로 구성 이병희<icebyung@hufs.ac.kr>
Types of Infrastructure ENUM • CSP-Shared Infrastructure ENUM • 시스템 구축에 참가한 모든 CSP가 DNS data를 이용하며 public DNS에 포함될 수 있으며 접근가능 여부 등은 정책 결정에 따름 • CSP가 다른 CSPs와의 border elements 연결을 위해 활용 • end-user와 다른 CSP의 end-user간 직접 연결에는 적용되지 않음 이병희<icebyung@hufs.ac.kr>
Types of Infrastructure ENUM • Global (Common) Infrastructure ENUM • 참여한 CSP들이 호스트 할 수 있는 모든 e164번호가 포함된 하나의 common 시스템 공유 이병희<icebyung@hufs.ac.kr>