Homebrew Discussion [HBG/SHOP] The new FreeShop for the Nintendo Switch [Discussion Thread]

Status
Not open for further replies.

wurstpistole

GBAtemp MVP
Member
Joined
Nov 19, 2015
Messages
4,654
Trophies
1
XP
5,413
Country
United Kingdom
Unfortunately hbg does not provide many games/updates. They just fail to load. Hellblade sanctuary or yooka laylee for instance. Or is it just me having problems?

Gesendet von meinem Redmi Note 4 mit Tapatalk
Quota reached. It's all hosted on Gdrive, One drive or the likes and when a file hits quota, then that's that. Lots and lots of leeches use this app, no wonder popular files hit quota fast.
 
  • Like
Reactions: andyhappypants

blawar

Developer
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
That's not how DNS works, it's nothing like that at all!

A DNS does DNS lookups, provide you the IP address. A DNS lookup takes a couple of milliseconds, if even that. It only does it when it needs to find something new. Once YOUR DNS (router, or your Switch local routing table for example) knows what to do, it doesn't even use 90DNS anymore. You don't download things via 90DNS, your Switch does it directly to provided IP. It's not a PROXY!

No, this doesn't mean Nintendo have access to your Switch, since 90DNS never provided the way to access them in the first place, so your local DNS have no idea where to go.

The google server 90DNS returns for me is 10x slower than the server my local DNS returns. This is how DNS geo load balancing works.

$ dig drive.google.com

; <<>> DiG 9.10.3-P4-Ubuntu <<>> drive.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34374
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;drive.google.com. IN A

;; ANSWER SECTION:
drive.google.com. 27 IN A 172.217.15.206

;; Query time: 8 msec
;; SERVER: 192.168.254.254#53(192.168.254.254)
;; WHEN: Wed Apr 24 08:09:10 DST 2019
;; MSG SIZE rcvd: 50

$ dig drive.google.com @163.172.141.219

; <<>> DiG 9.10.3-P4-Ubuntu <<>> drive.google.com @163.172.141.219
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18339
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;drive.google.com. IN A

;; ANSWER SECTION:
drive.google.com. 120 IN A 216.58.198.206

;; Query time: 113 msec
;; SERVER: 163.172.141.219#53(163.172.141.219)
;; WHEN: Wed Apr 24 08:09:57 DST 2019
;; MSG SIZE rcvd: 61

$ ping 172.217.15.206
PING 172.217.15.206 (172.217.15.206) 56(84) bytes of data.
64 bytes from 172.217.15.206: icmp_seq=1 ttl=55 time=10.1 ms

$ ping 216.58.198.206
PING 216.58.198.206 (216.58.198.206) 56(84) bytes of data.
64 bytes from 216.58.198.206: icmp_seq=1 ttl=50 time=128 ms
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,299
Trophies
2
XP
18,139
Country
Sweden
The google server 90DNS returns for me is 10x slower than the server my local DNS returns. This is how DNS geo load balancing works.
Please do educate me how DNS works. Because what you describe sure as heck makes no sense. (I'm a network technician at trade)
 
  • Like
Reactions: andyhappypants

Volthax

Well-Known Member
Newcomer
Joined
Dec 13, 2018
Messages
84
Trophies
0
XP
628
Country
Netherlands Antilles
TXShop is soon available as concurrent from their other company called 'StargateNX'!
Amazing advancements and TXShop is totally not owned by Team-Xecuter or any company affiliated to it.
TXShop has one big improvement over the others: a cool and epic logo!
Now this is epic.
 
  • Like
Reactions: AveSatanas

blawar

Developer
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
Please do educate me how DNS works. Because what you describe sure as heck makes no sense. (I'm a network technician at trade)

it is simple, google's DNS name servers know the IP of the DNS server that is querying them for the DNS record. They make the assumption (which is usually correct) that the end user is near their DNS server (at least on the same continent), so they return the download server that they think has the best route to the DNS server. So google does geoip lookups on your DNS server's IP (and some other metric trickery) to return what it believes is the best server for you. Using 90DNS fucks this up, and returns servers that google things 90DNS has the best route to, not the end user.

https://avinetworks.com/glossary/geographic-load-balancing/
 
Last edited by blawar,
  • Like
Reactions: Brawl345

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,299
Trophies
2
XP
18,139
Country
Sweden
That's not what I ask. I very well aware how geoip lookup works and loadbalancing It's meassured by ping, a lot of ISPs got Google Server(s) at their datacenters.
But how 90DNS can slow your downloads down. I wanna know how this work. Yes, DNS lookups can be slower, but once your lookup is done and stored in the cache. It would make zero difference.
 
  • Like
Reactions: Phantasia

xenon

Well-Known Member
Member
Joined
May 19, 2006
Messages
210
Trophies
1
Website
Visit site
XP
262
Country
Italy
That's not what I ask. I very well aware how geoip lookup works and loadbalancing It's meassured by ping, a lot of ISPs got Google Server(s) at their datacenters.
But how 90DNS can slow your downloads down. I wanna know how this work. Yes, DNS lookups can be slower, but once your lookup is done and stored in the cache. It would make zero difference.
The theory (not that I am supporting it) is that 90DNS (the public service of course, not run-your-own) will return IP addresses for Google Drive servers located in the region where they are located, so potentially distant from where you, the user are and thus potentially slow(er). The underlying assumption is that upstream DNS servers queried by 90DNS return different results for different request sources.
 

Biduleman

Well-Known Member
Member
Joined
May 3, 2006
Messages
148
Trophies
1
Age
34
Location
Québec
Website
Visit site
XP
861
Country
Canada
That's not what I ask. I very well aware how geoip lookup works and loadbalancing It's meassured by ping, a lot of ISPs got Google Server(s) at their datacenters.
But how 90DNS can slow your downloads down. I wanna know how this work. Yes, DNS lookups can be slower, but once your lookup is done and stored in the cache. It would make zero difference.
Because downloading a file from Google's server in France is slower than downloading the same file from a server in the US if you're in the US.

Since Google is returning the URL for the file in their France server, you're stuck with slower speeds.

But if you have your own server, you will always return the IP address from your home, so it's bound to always be closer to you than Google's server.
 

blawar

Developer
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
That's not what I ask. I very well aware how geoip lookup works and loadbalancing It's meassured by ping, a lot of ISPs got Google Server(s) at their datacenters.
But how 90DNS can slow your downloads down. I wanna know how this work. Yes, DNS lookups can be slower, but once your lookup is done and stored in the cache. It would make zero difference.

Because google is returning download servers that are closer to 90DNS rather than the actual user.
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,299
Trophies
2
XP
18,139
Country
Sweden
We're talking about DNS queries right? Gdrive is a different thing in total compared to speed of DNS queries. If you speak about Geo lookup and close to Gdrive datacenters, by all means yes. That's a different beast. Also if Google doesn't check depending on where your IP is from, it's flawed. Since a majority of all DNS queries always go to the root DNSes.
 

blahblah

Well-Known Member
Member
Joined
May 16, 2018
Messages
1,132
Trophies
0
Age
35
XP
1,472
Country
United States
We're talking about DNS queries right? Gdrive is a different thing in total compared to speed of DNS queries. If you speak about Geo lookup and close to Gdrive datacenters, by all means yes. That's a different beast. Also if Google doesn't check depending on where your IP is from, it's flawed. Since a majority of all DNS queries always go to the root DNSes.

Google, for reasons that don't even begin to make sense to me, relies on your DNS server instead of IP Geo when selecting which CDN to serve you content from. Been a thing for a long time.
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,299
Trophies
2
XP
18,139
Country
Sweden
Google, for reasons that don't even begin to make sense to me, relies on your DNS server instead of IP Geo when selecting which CDN to serve you content from. Been a thing for a long time.
Who even coded that? Amazon is a heck of lot better then and I even complain about it being slow. But then again, if I download from France it won't affect me.
I got an idea I gonna poke @AveSatanas about, resolving this issue, since it's an easy fix.
 

blawar

Developer
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
Who even coded that? Amazon is a heck of lot better then and I even complain about it being slow. But then again, if I download from France it won't affect me.
I got an idea I gonna poke @AveSatanas about, resolving this issue, since it's an easy fix.

Every major CDN employs this trick: google, amazon, akamai.

Can you explain what y our plan is for 90DNS? The only solution I see, is for 90DNS to set up multiple servers across the globe (or fake it with multiple VPN's).
 

AveSatanas

Well-Known Member
Member
Joined
Aug 7, 2018
Messages
153
Trophies
0
XP
950
Country
Chad
Google, for reasons that don't even begin to make sense to me, relies on your DNS server instead of IP Geo when selecting which CDN to serve you content from. Been a thing for a long time.
Every major CDN employs this trick: google, amazon, akamai.

Can you explain what y our plan is for 90DNS? The only solution I see, is for 90DNS to set up multiple servers across the globe (or fake it with multiple VPN's).
It's called ECS. Allows a DNS server to pass part of your IP to the authoritative DNS servers. Only a handful DNS servers support it, such as Google, OpenDNS and Quad9's 9.9.9.11.

I could support it with a single server, through the single server, no need for VPNs or whatever, but... it also means that users would get a lower level of privacy. I don't think that users would want that. I can do a poll or whatever if enough people ask for it IG. Hope that makes sense.

Also "The google server 90DNS returns for me is 10x slower than the server my local DNS returns." -> Your ISP has poor peering, complain to them, not me.
 
Last edited by AveSatanas,
  • Like
Reactions: linuxares

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,299
Trophies
2
XP
18,139
Country
Sweden
Every major CDN employs this trick: google, amazon, akamai.

Can you explain what y our plan is for 90DNS? The only solution I see, is for 90DNS to set up multiple servers across the globe (or fake it with multiple VPN's).
No worries, she is already doing it. And she explained to me why it might be why your localtion cannot be found, since she isn't forwarding that info for security reasons.
 

blawar

Developer
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
It's called ECS. Allows a DNS server to pass part of your IP to the authoritative DNS servers. Only a handful DNS servers support it, such as Google, OpenDNS and Quad9's 9.9.9.11.

I could support it with a single server, through the single server, no need for VPNs or whatever, but... it also means that users would get a lower level of privacy. I don't think that users would want that. I can do a poll or whatever if enough people ask for it IG. Hope that makes sense.

Also "The google server 90DNS returns for me is 10x slower than the server my local DNS returns." -> Your ISP has poor peering, complain to them, not me.

Whether or not my ISP has good or poor peering is irrelevant to the issue. The IP my ISP's DNS returns is correct, 90DNS' is not. Its an issue that affects a huge amount of users. You could ask all of the user's to write their ISP to complain about peering to Timbuktu, or they can just not use 90DNS.

Though I agree with you, that it is a privacy issue to forward the user's IP to the DNS servers. Normally it would not be, when its coming from the user's noirmal DNS server, that is normal DNS traffic. However for their IP to come from your IP, allows tracking of 90DNS users.

There are other issues too, but the only good solution is to not use 90DNS.
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,299
Trophies
2
XP
18,139
Country
Sweden
Whether or not my ISP has good or poor peering is irrelevant to the issue. The IP my ISP's DNS returns is correct, 90DNS' is not. Its an issue that affects a huge amount of users. You could ask all of the user's to write their ISP to complain about peering to Timbuktu, or they can just not use 90DNS.

Though I agree with you, that it is a privacy issue to forward the user's IP to the DNS servers. Normally it would not be, when its coming from the user's noirmal DNS server, that is normal DNS traffic. However for their IP to come from your IP, allows tracking of 90DNS users.

There are other issues too, but the only good solution is to not use 90DNS.
Best is not to use hbg and get the stuff else where if you ask me. More updated and less hassle! (I miss the not team)
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Least they got head in the end