Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
How to Configure DNS Translation Using the DNS Plugin Module
Published Jan 09

How to Configure DNS Translation Using the DNS Plugin Module

Jan 09, 2026
Subscribe

Use the DNS plugin module to replace the result of a DNS query, according to a predefined IP address translation table. A common use case is for users accessing resources that resolve to the public IP address of the firewall. Since the users are behind a NAT, they would not be able to access the resource using this address. The DNS plugin replaces the public IP address in the DNS response with the appropriate internal IP address that can be reached by the client.

Step 1. Create a New NAT Table

Create a NAT table to create a list of public IP addresses and the internal IP addresses the DNS query is translated to.

  1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > Firewall > Forwarding Rules.

  2. In the left menu, click on Connections.

  3. Click Lock.

  4. Create a NAT table mapping the external IP addresses to the internal IP addresses. For more information, see How to Create NAT Tables (Translation Maps).

  5. Click Send Changes and Activate.

Step 2. Create or Edit a Service Object

Create or edit a service object matching the DNS query of the client, and modify it to use the NAT table

  1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > Firewall > Forwarding Rules.

  2. Click Lock.

  3. In the left menu, click on Services.

  4. Edit or create a new service object for DNS queries.

  5. Double-click on the UDP port 53 entry. The Service Entry Parameters window opens.

  6. From the Available Plugins list, select dns natname=Translation Map. 

  7. Add the name of the NAT table to the Plugin string in the following format: dns natname=YOUR NAT TABLE NAME E.g., dns natname=DNS-Translation

  8. Click OK.

  9. Double-click on the TCP port 53 entry. The Service Entry Parameters window opens.

  10. From the Available Plugins list, select dns natname=Translation Map. 

  11. Add the name of the NAT table to the Plugin string in the following format: dns natname=YOUR NAT TABLE NAME E.g., dns natname=DNS-Translation

  12. Click OK

  13. Click OK.

  14. Click Send Changes and Activate.

Step 3. Create an Access Rule to Intercept Client DNS Queries

Create an access rule that matches DNS queries of the client using the modified service object.

  1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > Firewall > Forwarding Rules.

  2. Click Lock.

  3. Create an access rule:

    • Action – Select PASS.

    • Source – Select Trusted LAN

    • Service – Select the modified DNS service object created in Step 2.

    • Destination – Select Internet or enter the IP addresses of your DNS Servers.

    • Connection Method – Select Dynamic NAT.

  4. Click OK.

  5. Drag and drop the access rule so that no access rule above it matches DNS client traffic.

  6. Click Send Changes and Activate.

DNS queries returning the Original IP address listed in the NAT table are now replaced by the corresponding Translated IP address.


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.

🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 8.3 (EoL – Doc maintenance discontinued)
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
    • Access Control Service
    • DHCP
    • DNS
    • Dynamic Routing Protocols (OSPF/RIP/BGP)
    • Firewall
      • Forwarding Firewall
        • Default Forwarding Firewall Rules
        • Access Rules
        • Policy Profiles
        • Firewall Objects
        • Application Control
        • TLS Inspection in the Firewall
        • Virus Scanning and ATP in the Firewall
        • URL Filtering in the Firewall
        • File Content Filtering in the Firewall
        • Mail Security in the Firewall
        • User Agent Filtering in the Firewall
        • How to Enforce SafeSearch in the Firewall
        • How to Configure Google Accounts Filtering in the Firewall
        • How to Block Search Terms using a Custom Application Object
        • How to Configure Custom Block Pages and Texts
        • Botnet and Spyware Protection in the Firewall
        • Intrusion Prevention System (IPS)
        • Traffic Shaping
        • Bridging
        • Firewall Plugin Modules
          • RPC Firewall Plugin Modules
          • How to Configure DNS Translation Using the DNS Plugin Module
          • How to Use the FTP Plugin Module
          • How to Use the Oracle SQL*Net (ora) Plugin Module
          • How to Use the Trivial FTP Plugin Module
        • Firewall Authentication and Guest Access
        • How to Configure ICMP Settings
        • How to Configure IPv6 Header Settings
      • Host Firewall
      • Firewall Settings
    • HTTP Proxy
    • SIP Proxy
    • URL Filter
    • Virus Scanner
    • VPN
    • Wi-Fi
    • CloudGen Access Proxy
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 9, "requestCorrelationId": "62d1a2df1a4d461ab055638c9a5fd591"}