Trouble resolving server address (SSL)


melagodo

Recommended Posts

Hi guys.

I'm happily using Unraid 6.7 (now 6.8), and using SSL (so web GUI address is "converted" to that long string).

Today I had to reboot server for maintanance: I could not then resolve that address, not from my laptop nor from my phone. I then tried from an iPad and boom: everything working as expected. I could ping and ssh to server, so I guess it's some kind of network problem.

Any hint to avoid that in the future?


Thank so much

Link to comment
34 minutes ago, soja said:

SSL would just add https:// to the address instead of http://. Do you mean you were using a dns hostname?

Not quite. Have you used the SSL service in unraid yet? It provisions a hostname that decodes back into a local IP, which makes things complicated sometimes. If you don't have a static IP for Unraid in your LAN, then the hostname can point to the wrong IP when you reboot.

 

I would advise setting a static DHCP reservation in your router for Unraid, that should keep things a little happier when you have to reboot.

Link to comment
7 minutes ago, jonathanm said:

Not quite. Have you used the SSL service in unraid yet? It provisions a hostname that decodes back into a local IP, which makes things complicated sometimes. If you don't have a static IP for Unraid in your LAN, then the hostname can point to the wrong IP when you reboot.

 

I would advise setting a static DHCP reservation in your router for Unraid, that should keep things a little happier when you have to reboot.

Apparently not. Where is this setting in unraid?

 

EDIT: Found it. very strange that they would call it that since it is just giving you a free custom dns hostname with a lets encrypt cert attached to it. 

Edited by soja
Link to comment
3 hours ago, jonathanm said:

I would advise setting a static DHCP reservation in your router for Unraid, that should keep things a little happier when you have to reboot.

I can confirm that a static DHCP reservation is set in my router. Ping and ssh were targeted to the same IP as I'm used to, and it was working. My browser just seemed not able to resolve the hostname... :(

Link to comment
4 hours ago, melagodo said:

I can confirm that a static DHCP reservation is set in my router. Ping and ssh were targeted to the same IP as I'm used to, and it was working. My browser just seemed not able to resolve the hostname... :(

open up a command prompt and type 

nslookup longstringofnumbersandletters.unraid.net

and screenshot or post the result.

Link to comment
Server:  35f9270e2942
Address:  192.168.1.26

*** 35f9270e2942 can't find https://9a7de74204df13577c0f19772c3a864033bc216d.unraid.net: Non-existent domain

.26 is my piHole docker IP. Could that be because I'm not using piHole DNS on my Unraid machine?

Edited by melagodo
typo
Link to comment
33 minutes ago, melagodo said:

Server:  35f9270e2942
Address:  192.168.1.26

*** 35f9270e2942 can't find https://9a7de74204df13577c0f19772c3a864033bc216d.unraid.net: Non-existent domain

.26 is my piHole docker IP. Could that be because I'm not using piHole DNS on my Unraid machine?

You need to remove the https:// when using nslookup. I tried resolving it a couple ways and I am getting nothing back. Does the registration expire?

 

Mine:

nslookup 07e70bf7719b38236e5bbd01e075841e80dd034c.unraid.net 8.8.8.8
Server:  dns.google
Address:  8.8.8.8

Non-authoritative answer:
Name:    07e70bf7719b38236e5bbd01e075841e80dd034c.unraid.net
Address:  192.168.1.150

Yours: 

nslookup 9a7de74204df13577c0f19772c3a864033bc216d.unraid.net 8.8.8.8
Server:  dns.google
Address:  8.8.8.8

*** dns.google can't find 9a7de74204df13577c0f19772c3a864033bc216d.unraid.net: Non-existent domain

 

Edited by soja
Link to comment

Here it is, my friend

nslookup 9a7de74204df13577c0f19772c3a864033bc216d.unraid.net 8.8.8.8
Server:  dns.google
Address:  8.8.8.8

Non-authoritative answer:
Nome:    9a7de74204df13577c0f19772c3a864033bc216d.unraid.net
Address:  192.168.1.16

 

It also work through my pihole DNS server
 

nslookup  9a7de74204df13577c0f19772c3a864033bc216d.unraid.net 192.168.1.26
Server:  25f1170e2942
Address:  192.168.1.26

Non-authoritative answer:
Nome:    9a7de74204df13577c0f19772c3a864033bc216d.unraid.net
Address:  192.168.1.16

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.