Hello,
I have a Unbound DNS: Override configured.
If I ping from a machine in the same subnet is get a DNS lookup.
But if I ping from de opnsense shell I don't get a response on the DNS lookup.
HoweverI can ping the IP.
If a do a host -d lookup for testing.lan I see that the DNS request is going to the DNS server I configured in "System: Settings: General"
Maybe I do not understand Unbound DNS yet?
In "Unbound DNS: General" I also selected in "Network Interfaces" "Localhost". By doing this I was expecting that from OPNsense shell I could also do a DNS lookup to a DNS name that was configured in the Overrides table.
Do I make a mistake? Someone tips / hits?
I have a Unbound DNS: Override configured.
| host | Domain | Type | Value | Description |
| testing | lan | A | 102.168.10.15 | Test server |
If I ping from a machine in the same subnet is get a DNS lookup.
Code Select
ping testing.lan
Pinging testing.lan [192.168.10.15] with 32 bytes of data:But if I ping from de opnsense shell I don't get a response on the DNS lookup.
Code Select
ping testing.lan
ping: cannot resolve testing.lan: Unknown hostHoweverI can ping the IP.
Code Select
ping 192.168.10.15
PING 192.168.10.15 (192.168.10.15): 56 data bytes
64 bytes from 192.168.10.15: icmp_seq=0 ttl=64 time=0.506 msIf a do a host -d lookup for testing.lan I see that the DNS request is going to the DNS server I configured in "System: Settings: General"
Code Select
host -d testing.lan
Trying "testing.lan"
Trying "testing.lan.lan"
Host testing.lan not found: 3(NXDOMAIN)
Received 105 bytes from xxx.xxx.xx.xx#53 in 13 msMaybe I do not understand Unbound DNS yet?
In "Unbound DNS: General" I also selected in "Network Interfaces" "Localhost". By doing this I was expecting that from OPNsense shell I could also do a DNS lookup to a DNS name that was configured in the Overrides table.
Do I make a mistake? Someone tips / hits?
"