Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run DNS lookup for --api endpoint provided in CLI #5372

Merged
merged 5 commits into from
Aug 23, 2018

Commits on Aug 23, 2018

  1. WIP DNS resolution for API endpoint on ipfs bin (ipfs#5249)

    License: MIT
    Signed-off-by: Raúl Kripalani <raul.kripalani@consensys.net>
    Raúl Kripalani authored and Stebalien committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    501abdd View commit details
    Browse the repository at this point in the history
  2. main: make --api option resolve hostnames via dns (ipfs#5249)

    Resolves ipfs#5249. Calls multiaddr-dns, and picks the first result.
    Uses a fixed timeout of 10 seconds. Adds test cases for one, multiple,
    and no DNS results.
    
    License: MIT
    Signed-off-by: Raúl Kripalani <raul.kripalani@consensys.net>
    Raúl Kripalani authored and Stebalien committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    0ddaf58 View commit details
    Browse the repository at this point in the history
  3. fix linting issue (getApiClient => getAPIClient).

    License: MIT
    Signed-off-by: Raúl Kripalani <raul.kripalani@consensys.net>
    Raúl Kripalani authored and Stebalien committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    5fe05e9 View commit details
    Browse the repository at this point in the history
  4. add sharness test for DNS resolution on API CLI flag.

    License: MIT
    Signed-off-by: Raúl Kripalani <raul.kripalani@gmail.com>
    Raúl Kripalani authored and Stebalien committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    9a57949 View commit details
    Browse the repository at this point in the history
  5. dns test: switch to localhost

    License: MIT
    Signed-off-by: Steven Allen <steven@stebalien.com>
    Stebalien committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    c89102a View commit details
    Browse the repository at this point in the history