Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Using 1.1.1.1 causes composer to be really slow inside the virtual machine #186

Closed
jasonmccallister opened this issue Jul 21, 2020 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jasonmccallister
Copy link
Contributor

Description

Using 1.1.1.1 causes composer to be really slow inside the virtual machine

Steps to reproduce

  1. Run composer install
  2. Remove 1.1.1.1 /etc/resolv.conf
  3. Run composer install and its faster

Additional info

  • Nitro version: beta-10
  • Multipass version: 1.4-dev and 1.3
@jasonmccallister jasonmccallister added the bug Something isn't working label Jul 21, 2020
@jasonmccallister jasonmccallister self-assigned this Jul 21, 2020
@jasonmccallister
Copy link
Contributor Author

I updated the /etc/resolv.conf to use multiple nameservers and this has improved the composer installation speed:

nameserver 127.0.0.53
nameserver 1.1.1.1
nameserver 1.0.0.1
nameserver 8.8.8.8
nameserver 8.8.4.4
options edns0

I will need to test behind a VPN to ensure the .53 ns does not cause any issues.

@jasonmccallister jasonmccallister added this to the 1.0 milestone Jul 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant