Turn on your modem and wait for it to come back online (one more minute).

Turn on the next piece of hardware (for example, the router), and wait another minute.

Repeat step 4 for every additional piece of network hardware.

Press the Guide button on your controller.

Select Settings and then System Settings.

Select Network Settings.

Select Wired Network or the name of your wireless network, if you’re prompted to do so.

Select Test Xbox Live Connection.

If you still get the error, try the next solution.

Solution 3: Use manual DNS settingsIf you can access the Internet through your computer, use the same DNS settings on your console that your computer is using.

On your computer, click Start, type cmd and then press Enter. Note If you’re using Windows XP, click Start and then click Run. Type cmd, and then press ENTER.

At the prompt, type ipconfig /all and then press Enter.

Under your network name, look for a line that begins with “DNS Servers”.

Write down your DNS server numbers (primary and secondary).

Now, enter those DNS server numbers on your console. Here's how:

Press the Guide button on your controller.

Select Settings and then System Settings.

Select Network Settings.

Select WiredNetwork or the name of your wireless network, if you are prompted to do so.

Select Configure Network.

On the Basic Settings tab, select DNS Settings.

Select Manual.

Select Primary DNS Server.

Enter the first number you wrote down, and then select Done.

Select Secondary DNS Server.

Enter the second number you wrote down, and then select Done.

Select Done again.

Press the B button on your controller, and then select Test Xbox Live Connection.

If you still get the error, try the next solution.

Solution 4: Try a direct-to-modem connectionThis temporary solution will help determine the cause of the problem. If this solution helps you connect to Xbox Live, the problem might be a router configuration issue.

Press the Guide button on your controller, go to Settings and then select System Settings.

Select Network Settings.

Select Wired Network or the name of your wireless network, if you’re prompted to do so.

Select Configure Network.

On the Basic Settings tab, select DNS Settings.

Select Automatic.

Test your Xbox Live connection. To do this, press the Guide button on your controller, go to Settings and then select System Settings. Select Network Settings, select Wired Network or your wireless network name (if you are prompted to do so) and then select Test Xbox Live Connection.

If you still get the error, try the next solution.

Solution 5: Try the Xbox Live Connection toolIf you continue to experience this issue, try the Xbox Live connection error solution. If you still get the error, try the next solution.

Solution 6: Contact your Internet service provider If you get a DNS error when your Xbox 360 console is connected directly to your modem, there might be a routing table problem. DNS servers use routing tables to direct network traffic. If the tables have incorrect information, your console might not be able to find the Xbox Live servers. Contact your Internet service provider to see if they can help resolve the problem.