Skip to main content
Skip table of contents

1515 - Looking Up DNS Records

Scenario

In this lab, you will practice looking up A and MX records to understand DNS operations better. The domains are already set up for practice.

Estimate Completion Time

  • 10 to 15 minutes

Requirements

  • Access to the online tool Dig Web Interface or a system with the dig command-line tool installed and internet access

Course References

  • 1303: What are Resource Records?

Tasks

We suggest using the Dig Web Interface for this lab, as the Dig tool may not be installed on all machines. If you already have Dig installed on your system, you may use Command Prompt or Terminal to complete these tasks.

Task 1: Looking Up A Records

  1. Use the Dig Web Interface to look up the A records for the domain training.infoblox.com.

Task 2: Looking Up MX Records

  1. Use the Dig Web Interface to to look up the MX records for the domain training.infoblox.com.


Solutions

Task 1 Solution: Looking Up A Records

You can look up A records using one of the following methods:

Using Dig Web Interface:

  1. Access Dig Web Interface using a web browser.

  2. Enter training.infoblox.com in the "Hostnames or IP addresses" field.

  3. Select A in the "Type" dropdown.

  4. Under the "Nameservers" field, select the Resolver option. From the dropdown, select Default to use the default resolver.

  5. Click Dig.

    image-20240731-143828.png

Using Terminal (Linux and macOS):

  1. Open the terminal on your system.

    • Linux: Press Ctrl + Alt + T to open the terminal.

    • macOS: Press Command + Space, type Terminal, and press Enter.

  2. Run the following command: dig training.infoblox.com. A

Using Command Prompt (Windows):

  1. Open the Command Prompt by pressing Win + R, typing cmd, and pressing Enter.

  2. If you have dig installed, run the following command: dig training.infoblox.com. A

The output will list the A records associated with the queried domain.

CODE
training.infoblox.com.	3600	IN	A	151.101.130.253
training.infoblox.com.	3600	IN	A	151.101.66.253
training.infoblox.com.	3600	IN	A	151.101.2.253
training.infoblox.com.	3600	IN	A	151.101.194.253

Task 2 Solution: Looking Up MX Records 

You can look up MX records using one of the following methods:

Using Dig Web Interface:

  1. Access Dig Web Interface using a web browser.

  2. Enter training.infoblox.com in the "Hostnames or IP addresses" field.

  3. Select MX in the "Type" dropdown.

  4. Under the "Nameservers" field, select the Resolver option. From the dropdown, select Default to use the default resolver.

  5. Click Dig.

    image-20240731-144007.png

Using Terminal (Linux and macOS):

  1. Open the terminal on your system.

    • Linux: Press Ctrl + Alt + T to open the terminal.

    • macOS: Press Command + Space, type Terminal, and press Enter.

  2. Run the following command: dig training.infoblox.com. MX

Using Command Prompt (Windows):

  1. Open the Command Prompt by pressing Win + R, typing cmd, and pressing Enter.

  2. If you have dig installed, run the following command: dig training.infoblox.com. MX

The output will list the MX records associated with the queried domain.

CODE
training.infoblox.com.	3600	IN	MX	10 mirzam.training.infoblox.com.



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.