Skip to main content
Skip table of contents

2577 - Configuring DNS Anycast in BloxOne DDI


Our DNS service instances are running but our ultimate DNS design requires speed, redundancy, load balancing, and some DDoS mitigation. We have decided to implement the Anycast protocol with our DNS services to accomplish these requirements. Our network team has already implemented the routes needed and has provided the IP address scheme, so all we need to do is configure Anycast in our BloxOne DDI deployment.

Estimated Completion Time

  • 10 to 15 minutes


  • Administrative access to the CSP

  • Lab 2801: Deploying BloxOne Hosts

  • Lab 2573: Enabling and Configuring DNS Services

Course References

  • 2159: BloxOne DDI Configuring DNS Services

  • 2151: BloxOne Configuring Anycast


  1. Creating an Anycast Configuration

  2. Configuring the Anycast Service Instance

  3. Validating the router is receiving the routes

Task 1: Creating an Anycast Configuration

We need to create an Anycast Configuration first, where we will define our Anycast address. This is the IP address that will be advertised to the routers as the closest (in routing terms) DNS server to the client, using the Anycast protocol. We don't have to configure BGP at this point, but we do need to use the Anycast IP address that our network team provided: We can name our configuration Techblue BGP DNS Anycast and the service it will use will be DNS.

Task 2: Configuring the Anycast Service Instance

Now we can configure DNS Anycast Service Instances. We'll create two service instances using our two BloxOne Hosts, and We can name the Anycast service instances Techblue Anycast service 1 and Techblue Anycast service 2. We'll use the Anycast Configuration we made previously, named Techblue BGP DNS Anycast, and apply this to each Service Instance. We will finally need to use the BGP configurations given to us by our network team:

Table 2577-1

Service Instance



Hold Down

Neighbor Router

Remote ASN

Techblue Anycast service 1





Techblue Anycast service 2





Task 3: Validating the router is receiving the routes

Now that our Anycast is configured and our service instances are running, we should make sure the routes are being advertised. We can jump onto our router (the vyos VM in our lab environment) and check which BGP routes are showing up with the command show ip bgp. We are looking for BGP routes that show that the Anycast address is connected to both of our BloxOne Hosts at and


Task 1: Creating an Anycast Configuration

  1. With the CSP browser window, navigate to ManageAnycast

  2. Click the Create Anycast Configuration button

  3. Give the Anycast Configuration a Name: Techblue BGP DNS Anycast

  4. Specify the Anycast IP Address:

  5. Under Service select DNS

  6. Click Save & Close

Task 2: Enabling the Anycast Service

  1. With the CSP browser window navigate to ManageInfrastructure Services

  2. Click on Create Service and choose Anycast from the drop-down

  3. Enter a Name: Techblue Anycast service 1

  4. Click on Select Host and locate the Host with the IP address (this should be

  5. Choose the Host and click on the Select button on the right

  6. Click Next

  7. Under ANYCAST CONFIIG PROFILE click Add and select the Techblue BGP DNS Anycast profile from the drop-down

  8. Next to the Techblue BGP DNS Anycast Anycast Config Profile, check the box for BGP

  9. Expand the BGP section and enter the BGP configuration for Techblue Anycast service 1 

    1. Under ASN specify: 65400

    2. Under Keepalive, specify: 4

    3. Under Hold Down specify: 16

    4. Under BGP Neighbor Configuration click Add

    5. For Neighbor Router enter:

    6. For Remote ASN enter: 65247

    7. Click Add and then Next

  10. Click Save & Close

  11. Repeat the above steps for using the same configuration, except use the name Techblue Anycast service 2 and enter as the Neighbor Router IP address.

Task 3: Validate VyOS Router is Receiving Routes

  1. On either jump-desktop or testing-linux virtual machines, open a Terminal window

  2. Open a secure shell connection to vyos-router at IP address

    ssh vyos@

  3. When prompted, enter the password: vyos

  4. Enter the following command to view the BGP route information:

    show ip bgp

    You should see the following output showing routes being received from both and (it may take several minutes for the route to show up)

    vyos@vyos-router:~$ show ip bgp

    Network Next Hop Metric LocPrf Weight Path
    *> 0 32768 i
    *= 0 0 65400 i
    *> 0 0 65400 i
    *> 2 32768 ?
    *> 2 32768 ?
    *> 2 32768 ?
    *> 2 32768 ?
    *> 2 32768

    This route entry indicates that network traffic directed to can reach either or

    *= 0 0 65400 i
    *> 0 0 65400 i

JavaScript errors detected

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

If this problem persists, please contact our support.