Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cisco 300-540 Exam - Topic 4 Question 2 Discussion

Actual exam question for Cisco's 300-540 exam
Question #: 2
Topic #: 4
[All 300-540 Questions]

Refer to the exhibit.

Refer to the exhibit. An engineer must configure Cisco IOS SLB for DNS on router R1 to meet these requirements:

The first DNS request to www.ccnp.test

must be redirected to the DNS server at 10.1.1.1;

The second DNS request to www.ccnp.test

must be redirected to the DNS server at 10.2.1.1;

The third DNS request to www.ccnp.test

must be redirected to the DNS server at 10.3.1.1.

In each case, the other two addresses must also be attempted if the first one fails. The indicated configuration was applied to R1; however, the load balancing failed. Which command must be run on R1 to resolve the issue?

Show Suggested Answer Hide Answer
Suggested Answer: B

On R1 the configuration (simplified) is:

ip domain lookup

ip domain name ccnp.test

ip host www.ccnp.test 10.1.1.1 10.2.1.1 10.3.1.1

The ip host command statically maps the hostname www.ccnp.test

to three IP addresses. By default, Cisco IOS will always return these IP addresses to DNS queries in the same order they are configured (10.1.1.1, then 10.2.1.1, then 10.3.1.1). This means that clients will always attempt 10.1.1.1 first and will not achieve per-query load balancing across all three servers.

To enable DNS-based load balancing so that each successive query rotates the order of the addresses, Cisco IOS provides the command:

ip domain round-robin

This command enables round-robin rotation of multiple A records associated with a single hostname defined by ip host. With this feature enabled:

1st query: response order 10.1.1.1, 10.2.1.1, 10.3.1.1

2nd query: response order 10.2.1.1, 10.3.1.1, 10.1.1.1

3rd query: response order 10.3.1.1, 10.1.1.1, 10.2.1.1

Clients will typically try the first IP address in the list and use the others if the first one fails, exactly matching the requirement.

Why other options are incorrect:

A . ip domain retry 3 controls how many times the router retries DNS queries to a server; it does not control the order of multiple A records.

C . ip dns server turns the router into a DNS server but does not itself provide round-robin behavior for statically defined hosts.

D . maximum-paths 3 is a routing (IP forwarding) parameter for equal-cost multipath, unrelated to DNS resolution.


Contribute your Thoughts:

0/2000 characters
Ellen
3 hours ago
Wait, are we sure that’s the right command? Seems too simple.
upvoted 0 times
...
Burma
5 days ago
Definitely agree with that! Round-robin is the way to go.
upvoted 0 times
...
William
10 days ago
I think the answer is B) ip domain round-robin.
upvoted 0 times
...
Helaine
1 month ago
The correct answer is definitely B) ip domain round-robin. It's the only option that addresses the requirement of distributing the requests across the three DNS servers.
upvoted 0 times
...
Rossana
1 month ago
B) ip domain round-robin is the way to go. Gotta love those round-robin DNS configurations, they're like a game of DNS hot potato!
upvoted 0 times
...
Argelia
1 month ago
Haha, the engineer must have been a little too eager to configure the load balancing. Looks like they need to brush up on their Cisco IOS SLB knowledge.
upvoted 0 times
...
Kent
2 months ago
I think the issue is that the configuration is not properly handling the failover scenario. The correct answer should be D) maximum-paths 3.
upvoted 0 times
...
Isabella
2 months ago
I believe the command we need is related to retry attempts, but I can't recall if it's "ip domain retry" or something else.
upvoted 0 times
...
Kent
2 months ago
I’m a bit confused about the options. I thought "ip domain round-robin" was for distributing requests, but does it handle retries too?
upvoted 0 times
...
Slyvia
2 months ago
This seems like a pretty straightforward DNS load balancing question. I'm confident I can figure out the right command to resolve the issue, but I'll take my time and carefully review the details.
upvoted 0 times
...
Margarett
2 months ago
Based on the requirements, I'm thinking the answer might be option B, "ip domain round-robin". That would allow us to cycle through the three DNS servers as needed. But I'll double-check the other options just to be sure.
upvoted 0 times
...
Ivory
2 months ago
Okay, I think I've got it. We need to set up a round-robin DNS configuration to cycle through the three different DNS servers. The question mentions that the "indicated configuration was applied to R1", so I'll need to look at that and see what's missing.
upvoted 0 times
...
Rosita
3 months ago
Hmm, I'm a bit confused about the different DNS server addresses and the requirement to try the other two if the first one fails. I'll need to re-read that part carefully.
upvoted 0 times
...
Annita
3 months ago
I think the key here is to understand the requirements for the DNS load balancing. The question is asking us to configure Cisco IOS SLB to meet those specific requirements.
upvoted 0 times
...
Shenika
3 months ago
This question seems similar to one we practiced where we had to configure DNS servers with failover. I feel like "maximum-paths" might be relevant here.
upvoted 0 times
...
Dahlia
3 months ago
The correct answer is B) ip domain round-robin. This command ensures that the DNS requests are distributed across the three DNS servers as per the requirements.
upvoted 0 times
...
Mariann
3 months ago
I think I remember something about DNS load balancing, but I'm not sure which command specifically addresses the retry attempts.
upvoted 0 times
...

Save Cancel