Skip to main content
Skip table of contents

2578 - Managing DNS Resource Records in BloxOne DDI

Scenario

Our DNS service instances are running and we have our zones and subzones built out but we want to create and manage DNS resource records in these zones. We also want to test DNS resolution to verify that the configuration is correct.

Estimated Completion Time

  • 15 to 20 minutes

Prerequisites

  • Administrative access to the CSP

  • Lab 2801: Deploying BloxOne Hosts

  • Lab 2570: Configuring DHCP Services in BloxOne DDI

  • Lab 2571: Creating DHCP Networks in BloxOne DDI

  • Lab 2573: Enabling and Configuring DNS Services

  • Lab 2574: Creating a Primary Zone in BloxOne DDI

  • Lab 2576 Creating a Secondary Zone in BloxOne DDI

  • Lab 2575: Creating a Primary SubZone in BloxOne DDI

Course References

  • 1120 BloxOne DDI Managing DNS Resource Records

Tasks

  1. Add resource records to the techblue.net zone

  2. Add resource records to the sales.techblue.net subzone

  3. Validate the DNS zones and records from a client

Task 1: Adding resource records to the techblue.net zone

Now that our techblue.net zone is set up, it should already have its SOA and NS records automatically populated, but we have a few servers in our network for which we need to create A records and PTR records. We also have a mail server that needs an MX record and our web server needs a CNAME record to send clients to the right place for www.techblue.net. Add the necessary records for the hosts on this table:

Table 2578-1

Resource Record(s)

Name

IP Address or Name

Notes

A and PTR

hermes

10.100.0.25

None

A and PTR

tartarus

10.100.0.80

None

A and PTR

ftp

10.100.0.23

None

CNAME

www

tartarus.techblue.net

Alias for www.techblue.net to tartarus.techblue.net

MX

(empty)

hermes.techblue.net

Mail server preference = 10

Task 2: Adding Resource Records to the sales.techblue.net subzone

Our subzone sales.techblue.net is set up but we still have a few servers in our network for which we need to create A records and PTR records. Add the necessary records for the hosts on this table:

Table 2578-2

Resource Record(s)

Name

IP Address

A and PTR

hurricane

10.100.0.201

A and PTR

spitfire

10.100.0.202

A and PTR

typhoon

10.100.0.203

Task 3: Validating the DNS zones and records from a client

We've created the needed resource records for techblue.net, but we should test that the DNS servers will respond as we expect. Using the test client, verify the response from the DNS servers for the resource records.


Solutions

Task 1 Solution: Adding resource records to the techblue.net zone

  1. With the CSP browser main menu, navigate to Manage → DNS

  2. Select the Zones tab

  3. Click on the default DNS View to go inside the view

  4. Click on the techblue.net zone to go inside the zone

  5. Click the Create button and, from the Records list, add the following new Resource Records:

  6. A Record

    • Name: hermes

    • IP Address: 10.100.0.25

    • Check Create associated PTR record

  7. A Record

    • Name: tartarus

    • IP Address: 10.100.0.80

    • Check Create associated PTR record 

  8. A Record

    • Name: ftp

    • IP Address: 10.100.0.23

    • Check Create associated PTR record

  9. CNAME Record

    • Alias: www

    • Canonical Name: tartarus.techblue.net. (Note: don't forget the trailing dot. The canonical name below the field should look like tartarus.techblue.net.)

  10. MX Record

    • Mail Destination: (empty)

    • Mail Exchanger: hermes.techblue.net. (don't forget the trailing .)

    • Preference: 10

Task 2 Solution: Adding Resource Records to the sales.techblue.net subzone

  1. Within the techblue.net zone click on the sales.techblue.net zone to enter the subzone

  2. Click the Create button and, from the Records list, add the following new Resource Records:

  3. A Record

    • Name: hurricane

    • IP Address: 10.100.0.201

    • Check Create associated PTR record

  4. A Record

    • Name: spitfire

    • IP Address: 10.100.0.202

    • Check Create associated PTR record 

  5. A Record

    • Name: typhoon

    • IP Address: 10.100.0.203

    • Check Create associated PTR record

Task 3 Solution: Validating the DNS zones and resource records from a client

  1. On testing-linux open a Terminal window

  2. Set the IP address as a fixed address with the command sudo set-network-static-bloxone to allow a route to the DNS server.

  3. Check the dig responses for the following queries. All queries should return Authoritative Answers (AA) with NOERROR:

    dig @10.100.0.110 techblue.net soa
    dig @10.100.0.110 hermes.techblue.net
    dig @10.100.0.110 tartarus.techblue.net
    dig @10.100.0.110 www.techblue.net
    dig @10.100.0.110 techblue.net mx
    dig @10.100.0.110 -x 10.100.0.23
    dig @10.100.0.110 hurricane.sales.techblue.net
    dig @10.100.0.110 spitfire.sales.techblue.net
    dig @10.100.0.110 typhoon.sales.techblue.net

JavaScript errors detected

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

If this problem persists, please contact our support.