Hello,
strange problem here. My router (single dns in the network) can't resolve its own hostname (alone or with the .lan domain).
The configuration is quite simple, i do not have multiple instances, just this:
what i get trying to get the name resolved is this
PS D:\> ping rutto
Impossibile trovare l'host rutto. Verificare che il nome sia corretto e riprovare.
PS D:\> ping rutto.lan
Impossibile trovare l'host rutto.lan. Verificare che il nome sia corretto e riprovare.
PS D:\> nslookup rutto
Server: mqttBroker
Address: 192.168.1.1
*** mqttBroker non è in grado di trovare rutto: Non-existent domain
PS D:\> nslookup rutto.lan
Server: mqttBroker
Address: 192.168.1.1
*** mqttBroker non è in grado di trovare rutto.lan: Non-existent domain
(mqttbroker is a hostname i have configured with the same ip address of the router, nothing strange)
but as soon as i try to resolve another name (local or public):
hello,
it has the very same behaviour both deleting static leases and deleting the "domain" (in luci, hostnames) entry.
The only difference is that nslookup seems to know who RUTTO is, but not resolving it
PS D:\> ping rutto
Impossibile trovare l'host rutto. Verificare che il nome sia corretto e riprovare.
PS D:\> ping rutto.lan
Impossibile trovare l'host rutto.lan. Verificare che il nome sia corretto e riprovare.
PS D:\> nslookup rutto
Server: RUTTO
Address: 192.168.1.1
*** RUTTO non è in grado di trovare rutto: Non-existent domain
any other idea? since i'm on 23.05.2 i'll probably try to update to .5, but i'm having problems building with imagebuilder..
or maybe i should start all the config from scratch..
PS: what do you mean with alias? do you mean a cname entry?
I'm trying via wireguard from the phone so not posting logs
nslookup: the server is 127.0.0.1 and "server can't find rutto.lan"
ping rutto: it answers, rotating the ip between all the ip of the router (one for each vlan) (once upon a time i can remember getting the nslookup on clients with the list of ips of the router..)
i also updated to 23.05.5
and tried both dnsmasq and dnsmasq-full
i still get this behavior from the router itself
root@RUTTO:~# ping rutto
PING rutto (10.0.0.1): 56 data bytes
64 bytes from 10.0.0.1: seq=0 ttl=64 time=0.030 ms
64 bytes from 10.0.0.1: seq=1 ttl=64 time=0.051 ms
^C
--- rutto ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.030/0.040/0.051 ms
root@RUTTO:~# nslookup rutto
Server: 127.0.0.1
Address: 127.0.0.1:53
** server can't find rutto.lan: NXDOMAIN
** server can't find rutto.lan: NXDOMAIN
root@RUTTO:~# ping rutto.lan
ping: bad address 'rutto.lan'
root@RUTTO:~# nslookup rutto.lan
Server: 127.0.0.1
Address: 127.0.0.1:53
** server can't find rutto.lan: NXDOMAIN
** server can't find rutto.lan: NXDOMAIN
when i ping its name, i ping only the ip of one of my subnet, always the same (it is not rotating), if i stop that interface the ip used changes to the one of another subnet, so it seems he knows himself somehow
but i expect nslookup to return the list of ip..