OPNsense Forum

English Forums => General Discussion => Topic started by: spetrillo on August 25, 2023, 09:57:44 PM

Title: Ping by FQDN
Post by: spetrillo on August 25, 2023, 09:57:44 PM
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
Title: Re: Ping by FQDN
Post by: lilsense on August 25, 2023, 11:32:52 PM
It depends how the FQDN is defined and where. You can create a A record and make it specific.
Title: Re: Ping by FQDN
Post by: spetrillo on August 27, 2023, 06:01:58 PM
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.
Title: Re: Ping by FQDN
Post by: Maurice on August 27, 2023, 09:58:20 PM
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