DNS records play a crucial role in website performance by ensuring efficient and accurate routing of network traffic. Well-configured DNS records can minimize the time it takes for a user's request to reach the correct server, improving website speed and user experience.