ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to control Internet access using computer Hostname


Article ID: 168448


Updated On:


ProxySG Software - SGOS


You want to configure ProxySG appliance rules to control traffic using computer Hostname.


  1.  Make sure the internal DNS server is able to resolve a client IP address to computer Hostname.
  2. To confirm, use nslookup "client.ip.address" or "ping -a client.ip.address" to resolve to client host name.
    Example: client host: CS764, Domain:

    Name:    cs764

    ping -a
    Pinging [] with 32 bytes of data:
    Reply from bytes=32 time<1ms TTL=128
  3. You can also SSH to the ProxySG appliance and run the command test dns client.ip.address to make sure the appliance is able to resolve client host name.
    #test dns
    Performing RDNS lookup for
    Official Host Name: cs764
    Host Aliases:
    Cache TTL: 3595, cache HIT
    DNS Resolver Response: Success
  4. Create a policy rule to include a Web Access Layer, with a Source to match exactly (make sure it is the exact name) or contain a string (such as "clientA" if reverse DNS resolves

    User-added image