[USG Flex H] - Resolve A Record only from selected interfaces

Options
Maverick87
Maverick87 Posts: 273 image  Master Member
5 Answers First Comment Friend Collector

Hello,
I've configured an A Record DNS entry:

xyz.no-ip.org —> 192.168.0.1

This host is an DDNS that, externally, resolve with my external WAN IP.

Now, internally, when I try to resolve xyz.no-ip.org, the gateway return to me 192.168.0.1 as per A Record entry, externally resolve with the WAN IP correctly.

This happens from all interfaces that I've defined.
There is a possibility to resolve the DDNS hostname with the real IP only from selected interfaces?

Example:
- VLAN 10 (subnet 192.168.10.0/24) —> 192.168.0.1
- VLAN 20 (subnet 192.168.20.0/24) —> 192.168.0.1
- VLAN 100 (subnet 192.168.100.0/24) —> 84.87.XXX.XXX

It's possible to obtain this behaviour?

All Replies

  • PeterUK
    PeterUK Posts: 4,656 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary
    Options

    This is how DNS works if you point a device at Zyxel with set DNS it with give back 192.168.0.1 because thats what you set it and is for all.

    only two ways to resolve this one is on a device you don't want IP you set on Zyxel use another DNS. or setup your own bind on like Linux Mint with ACL and views as to how lookups are done.

  • Maverick87
    Maverick87 Posts: 273 image  Master Member
    5 Answers First Comment Friend Collector
    edited August 14
    Options

    Seems that is missing a client/subnet-based DNS.

    Seems that is possible use it with BIND9 or dnsmasq