Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Name resolution of local hosts does not always work
« previous
next »
Print
Pages: [
1
]
Author
Topic: Name resolution of local hosts does not always work (Read 2079 times)
bongo
Jr. Member
Posts: 99
Karma: 3
Name resolution of local hosts does not always work
«
on:
November 14, 2021, 06:46:59 pm »
when trying to access another computer in the same subnet by it's name (from within windows explorer), this is very unreliable:
- sometimes it works fine
- sometimes i need several retries
- sometimes i need to wait for several minute retrying again and again
- sometimes, it does not work at all
accessing the computer by it's IP address instead seems to works fine.
so this looks like for some reason, local machine names are not translated to IP addresses reliable. i have this issue since i use opnsense.
probably, i forgot to set a tick somewhere to let unbound dns translate host names in the local network.
unfortunately, i cannot find where to enable it.
Logged
sbellon
Jr. Member
Posts: 94
Karma: 8
Re: Name resolution of local hosts does not always work
«
Reply #1 on:
November 15, 2021, 09:11:51 am »
I can second this.
While it worked flawlessly with 21.7.3, now with 21.7.5 sometimes the client gets the IP assigned, it also appears as such in the DHCPv4 leases list (together with its hostname), but it is not present inside /var/etc/dnsmasq-hosts. In that case other clients then cannot resolve the name.
Logged
bongo
Jr. Member
Posts: 99
Karma: 3
Re: Name resolution of local hosts does not always work
«
Reply #2 on:
November 15, 2021, 09:23:18 am »
for me, this did not start with 21.7.
i already had this issue with 20.7.8, but did not ask so far.
but i think it really got worse since my first installation of 20.7 about a year ago, maybe after doing some updates (but i'm not shure about this).
Logged
sbellon
Jr. Member
Posts: 94
Karma: 8
Re: Name resolution of local hosts does not always work
«
Reply #3 on:
November 15, 2021, 11:52:21 am »
Wow, that's strange ... and you probably won't believe me this ... without doing anything - just after waiting 2 hours and trying again - the name is now resolvable ... and it is also inserted into /var/etc/dnsmasq-hosts where it wasn't 2 hours ago.
Logged
aimdev
Full Member
Posts: 128
Karma: 5
Re: Name resolution of local hosts does not always work
«
Reply #4 on:
November 18, 2021, 09:54:21 am »
I have also noticed this, on my imac. I assumed it was an issue with the imac, flushing the imac dns did not help.
For me it becomes apparent when I add another VM, and usually have to resort to using the ip address, then after some time I can use the fqdn, or the short version.
This has been occurring for at least a year or more.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Name resolution of local hosts does not always work