Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please give me clear picture and answer, thanks Section 2: ipconfig ipconfig (for Windows) and ifconfig (for Linux/Unix) are among the most useful little utilities

please give me clear picture and answer, thanks

Section 2: ipconfig

ipconfig (for Windows) and ifconfig (for Linux/Unix) are among the most useful little utilities in your host, especially for debugging network issues. Here well only describe ipconfig, although the Linux/Unix ifconfig is very similar. ipconfig can be used to show your current TCP/IP information, including your address, DNS server addresses, adapter type and so on. For example, if you all this information about your host simply by entering

ipconfig /all

ifconfig a (MAC)

into the Windows Command Prompt (For MAC and Linux, replace ipconfig by ifconfig), as shown in the following screenshot.

ipconfig is also very useful for managing the DNS information stored in your host. In Section 2.5 we learned that a host can cache DNS records it recently obtained.

To see these cached records, after the prompt C:\> provide the following command:

ipconfig /displaydns

dscacheutil cachedump (MAC)

Each entry shows the remaining Time to Live (TTL) in seconds.

To clear the cache, enter

ipconfig /flushdns

dscacheutil flushcache (MAC)

Flushing the DNS cache clears all entries and reloads the entries from the hosts file.

Answer the following questions in your lab report:

6. Run ipconfig /all (ifconfig a for MAC) in the Windows Command Prompt (For MAC and Linux, replace ipconfig by ifconfig in the terminal). Submit your screenshot of ipconfig command. What is the IP address of your computer?

7. What is the IP address of your local DNS server (Look for DNS servers in the output, for MAC, type scutil --dns)?

8. Use ipconfig to empty the DNS cache in your host. Submit your screenshot of ipconfig command.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions