I just did a new install of SC7 via "yum install squeezecenter". The default server.prefs file includes a strange IP address in the "allowedHosts" entry: 18.104.22.168. Is that SN beta? I can't get any DNS resolution on that IP, can't ping it, can't traceroute to it.
Results 1 to 5 of 5
Thread: Strange IP address
2008-01-23, 20:38 #1
Strange IP address
2008-01-23, 21:02 #2
Strange IP address
On Jan 23, 2008, at 10:38 PM, gharris999 wrote:
> I just did a new install of SC7 via "yum install squeezecenter". The
> default server.prefs file includes a strange IP address in the
> "allowedHosts" entry: 22.214.171.124. Is that SN beta? I can't get
> any DNS resolution on that IP, can't ping it, can't traceroute to it.
Nope, not ours.
2008-01-23, 21:33 #3
The allowedHosts pref defaults to Slim::Utils::Network::hostAddr() which attempts to detect your system's IP address. Could it be your own address?
2008-01-23, 21:52 #4
OK we figured it out. Are you using OpenDNS for your DNS service? That IP is one of the OpenDNS search engine servers.
The way that bit of code determines your address is a bit wrong, it finds your hostname using Sys::Hostname and then does a DNS lookup on it. I'm guessing what happened is your hostname is fake and your local DNS server doesn't know about it, and so it resolved to the default OpenDNS search engine IP address.
Try running this little one-liner to see what it thinks your hostname is:
perl -MSys::Hostname -e 'print Sys::Hostname::hostname()';
We should probably change that bit of code to get your local IP address another way that doesn't involve DNS.
2008-01-24, 20:19 #5
Yes, I've got my router set up to use OpenDNS. My ISP (Wildblue) can't seem to keep their own DNS servers running half the time.
Funny, I would have expected to see something in a traceroute that would give me a clue that that IP belongs to OpenDNS. And, in fact, now that I look at it, the last server I pull up in the traceroute before it hangs is fa-0.opendns.nycmny01.us.bb.gin.ntt.net. But that server isn't even on the same subnet.
Oh well, thanks for enlightening me on this. YAMMS: yet another minor mystery solved.