Open your device or router network settings
Find the DNS or DNS server option
Disable automatic DNS if enabled
Enter the new primary DNS address
Enter the new secondary DNS address if needed
Save the changes
Restart your device or router if required
Verify the new DNS is active
