Reef-pi DNS error for some computers only

lucifer

New Member
View Badges
Joined
Aug 1, 2021
Messages
7
Reaction score
1
Location
USA
Rating - 0%
0   0   0
Hi all,

Having a weird issue where I can only access the reef-pi local website from one laptop. All other computers get a DNS_PROBE_FINISHED_NXDOMAIN fail to connect. Can putty into the raspberry pi from all computers.

I have tried sudo systemctl restart reef-pi.service to no effect.

sudo netstat -tulnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 653/sshd
tcp6 0 0 :::80 :::* LISTEN 21713/reef-pi
tcp6 0 0 :::22 :::* LISTEN 653/sshd
udp 0 0 0.0.0.0:5353 0.0.0.0:* 363/avahi-daemon: r
udp 0 0 0.0.0.0:53693 0.0.0.0:* 363/avahi-daemon: r
udp 0 0 0.0.0.0:68 0.0.0.0:* 647/dhcpcd
udp6 0 0 :::5353 :::* 363/avahi-daemon: r
udp6 0 0 :::37503 :::* 363/avahi-daemon: r

Please help!
 

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
985
Reaction score
1,325
Location
Edmonton, Canada
Rating - 0%
0   0   0
Hi all,

Having a weird issue where I can only access the reef-pi local website from one laptop. All other computers get a DNS_PROBE_FINISHED_NXDOMAIN fail to connect. Can putty into the raspberry pi from all computers.

I have tried sudo systemctl restart reef-pi.service to no effect.

sudo netstat -tulnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 653/sshd
tcp6 0 0 :::80 :::* LISTEN 21713/reef-pi
tcp6 0 0 :::22 :::* LISTEN 653/sshd
udp 0 0 0.0.0.0:5353 0.0.0.0:* 363/avahi-daemon: r
udp 0 0 0.0.0.0:53693 0.0.0.0:* 363/avahi-daemon: r
udp 0 0 0.0.0.0:68 0.0.0.0:* 647/dhcpcd
udp6 0 0 :::5353 :::* 363/avahi-daemon: r
udp6 0 0 :::37503 :::* 363/avahi-daemon: r

Please help!
Hi, my guess is it's a network setting somewhere but not sure what to suggest. It might be worth trying to reformat the SD card and start over.
 

Jedi Knghit

Valuable Member
View Badges
Joined
May 31, 2019
Messages
1,074
Reaction score
858
Rating - 0%
0   0   0
That error means the computer could not resolve a name to an IP address. Are you using an IP address or name to access Reef-pi?
 

pseudorand

Well-Known Member
View Badges
Joined
Oct 29, 2019
Messages
641
Reaction score
439
Rating - 0%
0   0   0
Connect via ip from your browser. (i.e. http://192.168.0.123, but use your reef pi ip ). I assume putty is using the ip since putty works.

Perhaps the laptop where it works has a cached dns record. Does another browser on that computer work too, or just the one you usually use?
 

edawq

Community Member
View Badges
Joined
Sep 7, 2019
Messages
38
Reaction score
59
Rating - 0%
0   0   0
Out of curiousity are the devices that it works on Apple devices?
If it is then I'm assuming your trying to access the pi via something.local which is configured through mdns. Apple devices support this natively but Windows machines don't But if you install iTunes or Bonjour from Apple it should start working then
 
OP
OP
L

lucifer

New Member
View Badges
Joined
Aug 1, 2021
Messages
7
Reaction score
1
Location
USA
Rating - 0%
0   0   0
Connect via ip from your browser. (i.e. http://192.168.0.123, but use your reef pi ip ). I assume putty is using the ip since putty works.

Perhaps the laptop where it works has a cached dns record. Does another browser on that computer work too, or just the one you usually use?
i will try this and get back to you, thnx
 
OP
OP
L

lucifer

New Member
View Badges
Joined
Aug 1, 2021
Messages
7
Reaction score
1
Location
USA
Rating - 0%
0   0   0
Out of curiousity are the devices that it works on Apple devices?
If it is then I'm assuming your trying to access the pi via something.local which is configured through mdns. Apple devices support this natively but Windows machines don't But if you install iTunes or Bonjour from Apple it should start working then
Yes! I should have mentioned that. I thought it was weird but figured it was just a coincidence mistakenly. But what's weird is that I had no problems before on windows machine previously. Then I got the error and have tried even reimaging my sd card to no avail. I will install and try again ty!
 
OP
OP
L

lucifer

New Member
View Badges
Joined
Aug 1, 2021
Messages
7
Reaction score
1
Location
USA
Rating - 0%
0   0   0
Connect via ip from your browser. (i.e. http://192.168.0.123, but use your reef pi ip ). I assume putty is using the ip since putty works.

Perhaps the laptop where it works has a cached dns record. Does another browser on that computer work too, or just the one you usually use?
That worked! Thanks a lot! I used to connect to the tanks "name" e. g. http://name.local but then it stopped working, even after re-imaging the raspbian sd card.
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
the local domain (.local) dns resolution implementation depends a little bit differently between windows, linux and osx. Apple uses bonjour while linux uses avahi (no idea what windows does). They all uses a common technique called mDNS.
My advice will be to google for your device/os specific mDNS issues. That should lead to some specific tuning you may have to do to get the local domain working
 
OP
OP
L

lucifer

New Member
View Badges
Joined
Aug 1, 2021
Messages
7
Reaction score
1
Location
USA
Rating - 0%
0   0   0
the local domain (.local) dns resolution implementation depends a little bit differently between windows, linux and osx. Apple uses bonjour while linux uses avahi (no idea what windows does). They all uses a common technique called mDNS.
My advice will be to google for your device/os specific mDNS issues. That should lead to some specific tuning you may have to do to get the local domain working
Thank you! Using the IP address until I get the dns resolution implementation working.
 

HAVE YOU EVER KEPT A RARE/UNCOMMON FISH, CORAL, OR INVERT? SHOW IT OFF IN THE THREAD!

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top