There are upcoming maintenance events which may impact our services. Learn more

Unable to resolve a local IPv6 address for hostname Print

  • 0

Problem Description

  • You have a Websavers (or OpenVZ 7) VPS
  • An IPv6 address is assigned and you're using it for the server hostname itself rather than a virtual host domain
  • Running dig aaaa <hostname> only returns the IPv4 address

Problem Resolution

Look in /etc/hosts - the initial setup of the VPS creates an entry there with the primary IPv4 address. Either comment that line out or add your IPv6 address to ensure IPv6 resolution of the local hostname occurs on the server.


Was this answer helpful?

← Back