<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ASA DNS redirect /forward in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-dns-redirect-forward/m-p/2225086#M416516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ASA Allows any kind of source and destination NAT/PAT as long as it makes sense)). What are trying to accomplish? &lt;/P&gt;&lt;P&gt;Assuming that you're trying to redirect all the client's DNS requests to the 8.8.8.8 and 192.168.1.1 is the IP of the ASA's inside interface, nat rule woul look smth like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;object network GOOGLE_DNS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt; host 8.8.8.8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;object network LAN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt; subnet 192.168.1.24&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;object service DNS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt; service tcp destination eq 53&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;STRONG&gt;nat (inside,outside) source static LAN LAN destination static interface GOOGLE_DNS&lt;/STRONG&gt; service DNS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way it would be better:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network GOOGLE_DNS&lt;/P&gt;&lt;P&gt;host 8.8.8.8&lt;/P&gt;&lt;P&gt;nat (outside,inside) static interface service tcp dns dns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt; &lt;BR /&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jun 2013 17:33:19 GMT</pubDate>
    <dc:creator>Andrew Phirsov</dc:creator>
    <dc:date>2013-06-26T17:33:19Z</dc:date>
    <item>
      <title>ASA DNS redirect /forward</title>
      <link>https://community.cisco.com/t5/network-security/asa-dns-redirect-forward/m-p/2225085#M416515</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #323d4f; font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 18.1875px; background-color: #ececec;" /&gt;&lt;/P&gt;&lt;P&gt;I have dhcp enabled on my asa which hands out private ip to all inside clients. as part of this, it also handsout the dns server which is the address of the inside interface&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #323d4f; font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 18.1875px; background-color: #ececec;" /&gt;&lt;/P&gt;&lt;P&gt;What I want to do is, create a static nat or port forward which does the following &lt;/P&gt;&lt;P&gt;&lt;BR style="color: #323d4f; font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 18.1875px; background-color: #ececec;" /&gt;&lt;/P&gt;&lt;P&gt;if the source is 192.168.1.0/24 and destination is 192.168.1.1 with destination port number of 53 then rewrite the destination address to 8.8.8.8&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #323d4f; font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 18.1875px; background-color: #ececec;" /&gt;&lt;/P&gt;&lt;P&gt;This way I will hide the dns server form internal client. lots of home routers as cheap as £10 can do this, why does the cisco can not do this and charging you a premium ?&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #323d4f; font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 18.1875px; background-color: #ececec;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 12:54:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-dns-redirect-forward/m-p/2225085#M416515</guid>
      <dc:creator>Random44F</dc:creator>
      <dc:date>2020-02-21T12:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: ASA DNS redirect /forward</title>
      <link>https://community.cisco.com/t5/network-security/asa-dns-redirect-forward/m-p/2225086#M416516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ASA Allows any kind of source and destination NAT/PAT as long as it makes sense)). What are trying to accomplish? &lt;/P&gt;&lt;P&gt;Assuming that you're trying to redirect all the client's DNS requests to the 8.8.8.8 and 192.168.1.1 is the IP of the ASA's inside interface, nat rule woul look smth like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;object network GOOGLE_DNS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt; host 8.8.8.8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;object network LAN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt; subnet 192.168.1.24&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;object service DNS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt; service tcp destination eq 53&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;STRONG&gt;nat (inside,outside) source static LAN LAN destination static interface GOOGLE_DNS&lt;/STRONG&gt; service DNS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way it would be better:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network GOOGLE_DNS&lt;/P&gt;&lt;P&gt;host 8.8.8.8&lt;/P&gt;&lt;P&gt;nat (outside,inside) static interface service tcp dns dns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt; &lt;BR /&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 17:33:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-dns-redirect-forward/m-p/2225086#M416516</guid>
      <dc:creator>Andrew Phirsov</dc:creator>
      <dc:date>2013-06-26T17:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: ASA DNS redirect /forward</title>
      <link>https://community.cisco.com/t5/network-security/asa-dns-redirect-forward/m-p/2225087#M416517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MANY THANKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 17:52:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-dns-redirect-forward/m-p/2225087#M416517</guid>
      <dc:creator>Random44F</dc:creator>
      <dc:date>2013-07-12T17:52:29Z</dc:date>
    </item>
    <item>
      <title>I ran across this post today</title>
      <link>https://community.cisco.com/t5/network-security/asa-dns-redirect-forward/m-p/2225088#M416518</link>
      <description>&lt;P&gt;I ran across this post today and it helped me solve a similiar problem. This command works great except it specifies TCP, it should be UDP and the default ASA service for DNS is actually called domain.&lt;/P&gt;&lt;P&gt;This revised command should get you what you need:&lt;/P&gt;&lt;P&gt;object network GOOGLE_DNS&lt;/P&gt;&lt;P&gt;host 8.8.8.8&lt;/P&gt;&lt;P&gt;nat (outside,inside) static interface service udp domain domain&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2014 19:18:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-dns-redirect-forward/m-p/2225088#M416518</guid>
      <dc:creator>user83473973</dc:creator>
      <dc:date>2014-06-06T19:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: ASA DNS redirect /forward</title>
      <link>https://community.cisco.com/t5/network-security/asa-dns-redirect-forward/m-p/4906327#M1103460</link>
      <description>&lt;P&gt;&amp;lt;REMOVED POST&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 13:40:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-dns-redirect-forward/m-p/4906327#M1103460</guid>
      <dc:creator>johnlloyd_13</dc:creator>
      <dc:date>2023-08-16T13:40:48Z</dc:date>
    </item>
  </channel>
</rss>

