TroutTrout

Protect a machine you reach by its name

Simple

Point a machine's name at its twin address: one DNS forwarder hands a subdomain to Access Gate, and traffic to that name goes through the gate.

5 min read · Last updated 2026-10-17

You give a machine a name in Access Gate, and your DNS hands that name to Access Gate. People keep using the same name, but it now leads to the machine's twin address, so their traffic goes through Access Gate. Nothing changes on the machines.

This moves one machine at a time. The recommended way is one rule on your router, which covers a whole subnet at once. Use this page when machines are reached by name and you want to move them one by one, or when you cannot add that rule.

Twin addresses: connecting to the twin address 100.64.1.10 goes through Access Gate, connecting to the real address 192.168.1.10 stays direct
Twin addresses: connecting to the twin address 100.64.1.10 goes through Access Gate, connecting to the real address 192.168.1.10 stays direct

The example

WhatExample
Your company DNS zoneacme.corp
The subdomain you hand to Access Gatesecure.acme.corp
Access Gate DNS100.65.0.6
A machineplc-line-1, real address 10.0.0.3, twin address 100.64.100.3

So plc-line-1.secure.acme.corp leads to 100.64.100.3, and traffic to that name goes through Access Gate on its way to the real 10.0.0.3.

1. Give the machine a name

In Access Gate, open Asset → [Asset], select the pencil icon, and enter the machine's prefix (its name, here plc-line-1).

Configuring an asset's DNS prefix in Access Gate
Configuring an asset's DNS prefix in Access Gate

2. Set the subdomain on the zone

In Settings → Zones, the machine's zone carries a DNS name: use the subdomain you will hand to Access Gate (secure.acme.corp). Every machine in that zone gets it as the end of its name. The DNS name is set when the zone is created and cannot be changed afterwards, see Configure Zones.

The DNS name of a zone, set when the zone is created
The DNS name of a zone, set when the zone is created

3. Check that Access Gate answers

Ask Access Gate for the name. The answer should be the twin address:

dig @100.65.0.6 plc-line-1.secure.acme.corp +short
# 100.64.100.3
Asset details showing the resolved DNS name
Asset details showing the resolved DNS name
DNS resolution for the asset name
DNS resolution for the asset name

4. Hand the subdomain to Access Gate in your DNS

In your company DNS, forward secure.acme.corp to 100.65.0.6. Everything outside that subdomain stays as it is.

  • Windows DNS: add a Conditional Forwarder for secure.acme.corp pointing to 100.65.0.6.
  • BIND:
zone "secure.acme.corp" {
    type forward;
    forward only;
    forwarders { 100.65.0.6; };   # Access Gate
};

Most other DNS servers have the same "forward this zone" setting.

5. Check from a computer

From an ordinary computer that uses your company DNS:

nslookup plc-line-1.secure.acme.corp
# Address: 100.64.100.3

Connect to the machine by that name as usual. In the Access Gate console, the flow appears under its enclave. Access Gate starts in a dry run: it blocks nothing until you approve the rules.

What happens to the traffic

Computer  [asks for plc-line-1.secure.acme.corp]
  -> Company DNS  [forwards secure.acme.corp to Access Gate]
  -> Access Gate DNS (100.65.0.6)  [answers 100.64.100.3, the twin address]
  -> Computer connects to 100.64.100.3
  -> Access Gate  [checks the enclave, sends it on to the real 10.0.0.3]
  -> plc-line-1 (10.0.0.3)

When to use another way

Other options

How it works, in network terms

This is split DNS delegation, also called Twin DNS. Access Gate hosts the names itself: each asset contributes a prefix, each subnet a suffix, and together they form a full name that resolves to the asset's twin (overlay) address, not its real one.

Your DNS stays authoritative for everything else. Only names under the delegated subdomain go to Access Gate, so you do not have to repoint any computer's DNS settings.

Because names, not addresses, change, the machines keep their real IP, gateway and routing. Names also let you add SSL/TLS certificates, which are issued for a name rather than an address.

More on names: Give your machines easy names.