Error
Error Code:
2070
MySQL Error 2070: DNS SRV Lookup Failure
Description
Error 2070 indicates that the MySQL client or server failed to perform a DNS Service Record (SRV) lookup. This typically happens when attempting to connect to a database service using a hostname that relies on SRV resolution, often in environments utilizing service discovery or specific connection protocols.
Error Message
DNS SRV lookup failed with error : %d
Known Causes
4 known causesIncorrect DNS Configuration
The DNS server either lacks the necessary SRV records for the target MySQL service or is misconfigured, preventing successful resolution.
Network Connectivity Issues
Firewall rules, network outages, or routing problems are preventing the MySQL client or server from reaching the configured DNS servers.
Invalid Hostname or Service Name
The hostname or service name specified in the connection string or configuration for SRV lookup is incorrect or does not exist.
Unreachable DNS Server
The DNS server configured for the system or application is offline, unresponsive, or inaccessible.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service