05-09-2018 06:25 AM - edited 03-05-2019 10:25 AM
Hello,
i've a local DNS Server (reacheable only inside the company) with Round Robin DNS record (one DNS record with 3 IP addresses) :
In a host perform a DNS request for server.mycomany.com, my DNS server returns (randomly) one of these IP : 10.10.20.1 / 10.10.20.2 / 10.10.20.3.
I would like to create a destination NAT (from WAN to LAN) by using the record name instead one of the 3 IP addresses (in order to keep the load balancing system).
I'd like implement something like this :
description "NAT FROM WAN"
destination {
address 172.18.225.132
}
inside-address {
address "server.mycomany.com"
}
Is it possible ?
05-09-2018 04:27 PM
You can assign a NAT pool for inside addresses with option 'rotary'. When the client comes in it will be assigned one of the addresses in the pool.
ip nat pool name start-ip end-ip {netmask netmask | prefix-length prefix-length} type rotary
HTH.
05-09-2018 11:32 PM
Thank you for reply. I think that this could be a good solution for us.
Can you confirm that is impossible to use the "hostname" ?
Thank you
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide