ā05-31-2013 02:14 PM - edited ā03-11-2019 06:51 PM
Hi,
I'm trying to confirm the requirements for dns rewrite to work from the inside to a dmz host. The dmz host has a public ip and a private ip of course and has the following object nat
object network foo
host 10.10.10.10
nat (dmz1,outside) static a.b.c.d dns
public ip a.b.c.d is entered in the local dns server and resolves on the inside.
Are there any other requirements for this to work from the inside when they use the domain name for a.b.c.d ?
Thanks.
ā05-31-2013 02:47 PM
Hello Lcaruso,
I'm trying to confirm the requirements for dns rewrite to work from the inside to a dmz host.
The DNS Query and the record provided must traverse the ASA, that's the requirement. The ASA must see the DNS query and response
The configuration is the one you have already so that's good.
ā05-31-2013 02:54 PM
Thanks for your reply.
So if the client machine on the inside is talking to a dns server on the inside and the domain name used by the client resolves to a public ip address, that doesn't meet the requirements?
It's not working althought I thought I'd seen this scenario work elsewhere.
ā05-31-2013 03:55 PM
Then the ASA will not be able to modify the A-record,
Regards
ā05-31-2013 03:15 PM
If the DNS server is on the inside, then the DNS query will not traverse the ASA.
Sent from Cisco Technical Support Android App
ā05-31-2013 06:08 PM
You will have to either change your DNS record to a private address or configure hair pinning.
Sent from Cisco Technical Support Android App
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