thegreenwebfoundation / greencheck-api

The green web foundation API
https://www.thegreenwebfoundation.org/
Apache License 2.0
9 stars 3 forks source link

Add docs on troubleshooting with DNS #16

Closed mrchrisadams closed 5 years ago

mrchrisadams commented 5 years ago

We just spent some time investigating why some domain names weren't showing up, and after the investigation, it turned out it was down to the DNS servers in the datacentre we run the production servers in.

The DNS servers we lookup couldn't see specific domains, and the fix was to change the DNS servers we refer to.

We should document this.

mrchrisadams commented 5 years ago

This was a DNS issue in the end.

I checked these links to get an idea why and how the DNS lookups for a specific Malaysian domain was failing, and ended up adding a new domain name server from our current host, Leaseweb's list of DNS servers:

# is a domain name service 123.245.455.65
dig non-resolving.domain.my @123.245.455.65

There's a convention called netplan that i guess we might prefer to use or support in future if this is a problem again:

Netplan is a utility for easily configuring networking on a linux system. You create a YAML description of the required network interfaces and what each should be configured to do. From this description Netplan will generate all the necessary configuration for your chosen renderer tool.

https://netplan.io/

Links used:

https://kb.leaseweb.com/support/cheat-sheet https://askubuntu.com/questions/346838/how-do-i-configure-my-dns-settings-in-ubuntu-server