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

Add script to check connectivity after set up nameservers #849

Merged
merged 1 commit into from May 21, 2022

Conversation

alfinauzikri
Copy link
Contributor

@alfinauzikri alfinauzikri commented Apr 5, 2022

Below are some of the changes I made:

  • Fix installer stuck at SWAP Set... or Check SWAP...
  • Restore the nameserver settings to the original, if changing the nameservers does not work and results in lost connectivity.

Study Case:
There are special cases where changing the nameservers to 1.1.1.1 or 8.8.8.8 results in loss of connectivity.

ISPs usually do DNS blocking, so unallowed DNS (3rd party DNS) can't work. I also experienced a similar failure case when installing on several servers in Indonesia.

When the nameservers are changed to 1.1.1.1 and 8.8.8.8, the installer stops at SWAP Set..

The code that I added functions to check when the nameserver is finished changing and will return the nameserver settings to default when a connectivity failure occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants