Ping by FQDN

Started by spetrillo, August 25, 2023, 09:57:44 PM

Previous topic - Next topic
Hello all,

I have an OPNsense firewall that have different LAN subnets. When I try to ping the FQDN name of my OPNsense firewall from my PC I get back the gw of the subnet my PC is on. Is this what should be happening? I would have thought it would give me back the LAN interface address, which should be 192.168.1.1.

Thanks,
Steve

It depends how the FQDN is defined and where. You can create a A record and make it specific.

So thats the kick...there is nothing defined for this FQDN. Nowhere in the OPNsense firewall do I specify this name. Thats the weird thing about this.

Check Do not register system A/AAAA records in the Unbound settings:

QuoteIf this option is set, then no A/AAAA records for the configured listen interfaces will be generated. If desired, you can manually add them in Unbound DNS: Overrides. Use this to control which interface IP addresses are mapped to the system host/domain name as well as to restrict the amount of information exposed in replies to queries for the system host/domain name.

Cheers
Maurice
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).