Project

General

Profile

Actions

Task #1918

closed

DNS resolver

Added by Alex Afanasyev about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Utils
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

Develop a utility class to perform DNS resolution, including sync and async modes.

Code from NFD resolver.hpp can be reused.


Related issues 1 (0 open1 closed)

Blocks ndn-cxx - Task #1994: FaceUri canonizationClosedJunxiao Shi

Actions
Actions #1

Updated by Junxiao Shi about 10 years ago

I believe ndn-cxx should provide a routine for FaceUri canonization, which includes DNS resolution when necessary.

Actions #2

Updated by Alex Afanasyev about 10 years ago

That could be another utility class

Actions #3

Updated by Alex Afanasyev about 10 years ago

  • Blocks Task #1911: Create face with canonical FaceUri added
Actions #4

Updated by Junxiao Shi about 10 years ago

  • Blocks Task #1909: nfdc: ensure FaceUri is in canonical form added
Actions #5

Updated by Junxiao Shi about 10 years ago

Boost.Asio has ip::udp::resolver and ip::tcp::resolver types.
The only difference I can imagine is that they can parse textual port number differently (eg. TCP port "www" is port 80).

I don't think this feature is necessary, because FaceUri never allows textual port numbers.
Therefore, the DNS resolver utility class could use only ip::udp::resolver, and support only hostname resolution.

Actions #6

Updated by Vince Lehman about 10 years ago

  • Assignee set to Vince Lehman
Actions #7

Updated by Junxiao Shi about 10 years ago

  • Subject changed from Incorporate DNS resolver as a new utility class to DNS resolver
  • Description updated (diff)
Actions #8

Updated by Junxiao Shi about 10 years ago

  • Estimated time set to 1.00 h
Actions #9

Updated by Junxiao Shi about 10 years ago

Actions #10

Updated by Junxiao Shi about 10 years ago

  • Blocks deleted (Task #1911: Create face with canonical FaceUri)
Actions #11

Updated by Junxiao Shi about 10 years ago

  • Blocks deleted (Task #1909: nfdc: ensure FaceUri is in canonical form)
Actions #12

Updated by Vince Lehman about 10 years ago

I am unable to change the status to in progress, but I have started working on this.

Actions #13

Updated by Vince Lehman about 10 years ago

  • Status changed from New to In Progress
Actions #14

Updated by Vince Lehman about 10 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 90
Actions #15

Updated by Junxiao Shi about 10 years ago

  • Status changed from Code review to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF