11-22-2012 03:33 AM - edited 03-04-2019 06:12 PM
ip nat inside source list bunch_of_hosts pool some_pool overload
ip nat inside source static 10.10.10.10 91.91.91.91 no-payload
there is a DNS record:
some_host.some.domain IN A 91.91.91.91
from host in bunch_of_hosts list:
$ dig some_host.some.domain @8.8.8.8
;;ANSWER SECTION:
some_host.some.domain IN A 10.10.10.10
Who's idea was that? How to disable it??
Clarification: DNS server, hosting some.domain is NOT inside our network. It's completely different organisation and thir DNS gives the right answer when asked outside this NAT setup.
Solved! Go to Solution.
11-23-2012 05:53 AM
Hello,
Can you try using these commands? They should stop IOS rewriting the DNS contents as part of its NAT ALG.
no ip nat service alg tcp dns
no ip nat service alg udp dns
Best regards,
Peter
11-22-2012 03:59 AM
Dear Utair,
Am I correct If I ask you, do you need to remove nating?
I am sorry if I am wrong, can you please elaborate?
Regards
Thanveer
"Everybody is genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is a stupid."
11-22-2012 07:05 PM
I need to disable payload inspection and modification for this NAT statement:
ip nat inside source list bunch_of_hosts pool some_pool overload
Because right now DNS replies for A record, containing 91.91.91.91 address gets modified by router to 10.10.10.10.
11-22-2012 06:44 AM
hi,
you'll need to contact your DNS hosting provider to correct your zone file records.
if you're not sure, check using WHOIS database.
11-22-2012 07:05 PM
Did you read ALL what i have written?
11-23-2012 05:53 AM
Hello,
Can you try using these commands? They should stop IOS rewriting the DNS contents as part of its NAT ALG.
no ip nat service alg tcp dns
no ip nat service alg udp dns
Best regards,
Peter
11-25-2012 07:59 PM
Thanks!
That's what i needed.
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