F5 BIG-IQ Centralized Management Lab > BIG-IQ All Labs > Class 10: BIG-IQ DNS Management > Module 1: BIG-IQ DNS Sync Group Administration Source | Edit on
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¶
A 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.
- 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.
- Click the name of the listener you want to edit.
The screen displays the current settings for the selected listener.
- 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.
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.
- 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.
- Click Create.

The New Listener screen opens.
- Type a Name for the DNS listener: my-listener-udp
- Select a BIG-IP Device on which the DNS listener will run: BOS-vBIGIP01.termmarc.com
- 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.
- Scroll down to the Service area and select the DNS Profile that defines how the listener handles DNS traffic: DNSprofile.

The options are a list of system-supplied and user-defined DNS profiles.
- 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.
- Click Save & Close.
The system creates the new listener you specified and adds it to the list of listeners.
- Create another listener with the same IPv4 address and configuration, but select the second BOS BIG-IP.
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.

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.

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

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