1. While troubleshooting a network connection problem for a co-worker, you discover the computer is querying a non-existent DNS server. What command-line utility can you use to assign the correct DNS server IP address? Is DNS using UDP or TCP?

The command-line utility that can be used to assign the correct DNS server IP address is "nslookup" or "ipconfig /dnsflush" to flush the DNS cache.

DNS primarily uses UDP (User Datagram Protocol) for communication. However, it can also use TCP (Transmission Control Protocol) for large queries or zone transfers.

To assign the correct DNS server IP address, you can use the command-line utility called "ipconfig". Here are the steps you can follow:

1. Open the Command Prompt by pressing the Windows key + R, then type "cmd" and hit Enter.

2. In the Command Prompt window, type the following command and press Enter:
ipconfig /all

3. Look for the network adapter that is currently active and connected to the Internet. Note down the "DNS Servers" listed for that adapter.

4. To change the DNS server IP address, type the following command and press Enter:
ipconfig /flushdns

5. After clearing the DNS cache, type the following command and press Enter to assign a new DNS server IP address:
netsh interface ipv4 set dns "Your Network Adapter Name" static "Your DNS Server IP Address"

Replace "Your Network Adapter Name" with the name of your active network adapter (e.g., "Ethernet" or "Wi-Fi").
Replace "Your DNS Server IP Address" with the correct IP address of the DNS server you want to use.

6. Verify the changes by running the "ipconfig /all" command again. Check if the new DNS server is correctly assigned to the network adapter.

Regarding DNS protocols, DNS primarily uses the User Datagram Protocol (UDP) rather than Transmission Control Protocol (TCP). However, TCP can be used for larger DNS queries or in specific circumstances.