Lab 1.3: Managing DNS Listeners

Note

Estimated time to complete: 5 minutes

Lab environment access

If you have not yet visited the page Getting Started, please do so.

Tasks

listener is a specialized virtual server that passively checks for DNS packets on port 53 and the IP address you assign to the listener.

When a DNS query is sent to the IP address of the listener, BIG-IP DNS either handles the request locally or forwards the request to the appropriate resource.

You can view the DNS listeners configured for the DNS sync groups you manage by navigating to “Configuration > DNS > Delivery > Listeners”.

From there, click a listener to edit it, click Create to set up a new one.

Edit an Existing DNS listener

You can view and modify the properties for existing DNS listeners. Since you are working with an existing listener, you can modify only some settings.

  1. At the top of the screen, click Configuration, then, on the left, click “DNS > Delivery > Listeners”.

The screen displays the list of listeners defined on this device.

image13

  1. Click the name of the listener you want to edit.

The screen displays the current settings for the selected listener.

image14

  1. Make the changes to the settings you want to revise. Change VLAN Traffic from All VLANs to Enabled on /Common/External, and then, when your edits are complete, click Save & Close.

image15

The system updates the listener with the settings you specified.

Create a DNS listener

Before you create a DNS listener, make sure you have a pool of DNS servers.

You can configure a listener that alerts BIG-IP DNS to DNS queries destined for a pool of DNS servers. The best practice is to create four listeners: one with an IPv4 address that handles UDP traffic, and one with the same IPv4 address that handles TCP traffic; one with an IPv6 address that handles UDP traffic, and one with the same IPv6 address that handles TCP traffic.

  1. At the top of the screen, click Configuration, then, on the left, click “DNS > Delivery > Listeners”.

The screen displays the list of listeners defined on this device.

  1. Click Create.
../../_images/module1_lab4_1.png

The New Listener screen opens.

  1. Type a Name for the DNS listener: my-listener-udp
  2. Select a BIG-IP Device on which the DNS listener will run: BOS-vBIGIP01.termmarc.com
  3. In the Listener area, type the IP Address on which the BIG-IP system listens for connections: 10.1.10.204

The BIG-IP system receives traffic sent to this IP address and processes it as needed.

  1. Scroll down to the Service area and select the DNS Profile that defines how the listener handles DNS traffic: DNSprofile.
../../_images/module1_lab4_2.png

The options are a list of system-supplied and user-defined DNS profiles.

  1. Specify any additional settings needed to suit the requirements for this listener.

Name, Device, Address, and DNS Profile are the only required parameters when you create a listener. The remaining parameters on this screen are optional and perform the same function as they do when you configure a listener on a BIG-IP device.

  1. Click Save & Close.

The system creates the new listener you specified and adds it to the list of listeners.

  1. Create another listener with the same IPv4 address and configuration, but select the second BOS BIG-IP.
Name: my-listener-udp
BIG-IP Device: BOS-vBIGIP01.termmarc.com
IP Address: 10.1.10.204
DNS Profile: DNSprofile

When you finish that, the BIG-IP device for which you created these listeners will be able to receive DNS queries, handle wide IP requests, and forward all other DNS queries to members of the pool of DNS servers.

../../_images/module1_lab4_3.png

Now the Listener is ready to be deployed. Navigate to the Deployment tab, create a new DNS Deployment named Listener-Deployment, and select both BOS BIG-IP devices. Click Create at the bottom of the page.

../../_images/module1_lab4_4.png

Once the evaluation is complete, select the Deployment and click Deploy.

../../_images/module1_lab4_5.png

Now we can verify the Listener creation by logging into one of the BIG-IPs and checking the list of current Listeners.

../../_images/module1_lab4_6.png