[USG Flex H] - How to resolve external FQDN to internal Hostname/IP

Options
Maverick87
Maverick87 Posts: 126 image  Ally Member
First Comment Friend Collector

Hello everyone,
I try to achieve myself this question using the DNS settings, but without any success.

My goal is to internally resolve an external FQDN site with an internal hostname/IP.
For example I would like to resolve the FQDN "www.google.com" AS 192.168.0.1. In Windows, this can be achieve modifying the hosts file, but if I would like to find a solution for every devices into my local network?

Thank you so much

Accepted Solution

  • Maverick87
    Maverick87 Posts: 126 image  Ally Member
    First Comment Friend Collector
    Answer ✓

    Oh wow… after some tries I've found a solution.

    DNS Settings → A record:
    Hostname: *
    Domain: google.com
    IP: 192.168.0.1

    Sounds good… thank you

All Replies

  • Maverick87
    Maverick87 Posts: 126 image  Ally Member
    First Comment Friend Collector
    Answer ✓

    Oh wow… after some tries I've found a solution.

    DNS Settings → A record:
    Hostname: *
    Domain: google.com
    IP: 192.168.0.1

    Sounds good… thank you

  • hORnZ
    hORnZ Posts: 7 image  Freshman Member
    First Comment Friend Collector

    Just beware of some caveats depending on your configuration.

    • Some clients (e.g. Chrome) might use DoH/DNS override.
    • If DNS recursion is used by a client downstream your gateway, you would also have not expected result.