Network Design and Operations

From a PC, ping with an IP address reaches a server on the internet, but when a domain name is entered in the browser it shows "server not found" and the web page does not open. Which setting is the most appropriate to check first?

  1. AThe DNS server address configured on the PC
  2. BThe default gateway address configured on the PC
  3. CThe LAN cable connection and the link status
Show answer and explanation

Answer: A. The DNS server address configured on the PC

When isolating a problem, you check how far things are working, starting from the lower layers. Since ping with an IP address reaches an outside server, everything from the physical layer, such as the cable, up to IP communication through the default gateway (the network layer) is working. Because only access by name fails, a problem with DNS, which translates domain names into IP addresses, is suspected. Check with a command such as nslookup that the DNS server address configured on the PC is correct and that the server responds.

  • A. Correct. IP communication works and only access by name fails, so name resolution is suspected.
  • B. If the default gateway were wrong, ping to a server on the internet would not get through either.
  • C. If there were a problem with the cable or link, ping would not get through at all.
Practice this topic Back to topic

Related calculators

Books on Network Design and Operations Ad

As an Amazon Associate I earn from qualifying purchases.

More Network Design and Operations questions

  1. When an L2 switch receives a frame, which information does it record in its MAC address table?
  2. An L2 switch with an empty MAC address table has devices on ports 1 to 4, all in the same VLAN. PC-A on port 1 sends a frame to PC-B on port 2, and PC-B then sends a reply frame to PC-A. How are the two frames forwarded?
  3. An L2 switch with four PCs is connected to one interface of a router. A repeater hub with three PCs is connected to the router's other interface. No VLANs are used. Counting a collision domain as the range in which frames can collide on half-duplex Ethernet, which is the correct pair of numbers of broadcast domains and collision domains?
  4. The VLAN ID in an IEEE 802.1Q tag is 12 bits long, and the values 0 and 4095 are reserved for special purposes. How many VLAN IDs can be used to identify VLANs?
  5. Switches SW1 and SW2 both have ports in VLAN 10 and VLAN 20. The two switches are to be connected with a single cable so that devices in the same VLAN can communicate across the switches. Which configuration of the connecting ports is appropriate?

Comparisons in this topic