Which IPFS gateway is using an .eth domain purchased at myetherwallet.com?

I bought the rocinha eth domain in myetherwallet, and I set the IPFS hash to a content I added in Infura.

Visiting the URL http://rocinha.eth.link/ on Google Chrome, it works as expected.

However, how can I know which IPFS gateway is it using (ipfs io, cloudflare-ipfs com, or other)?

and how can I change the IPFS gateway used?

Interesting question!

I did some searching and i think i found the answer you’re looking for.
Shall i give you a “let me google that for you” link? :wink:

Nah :stuck_out_tongue:

Have a look at this post where they introduce EthDNS: https://medium.com/the-ethereum-name-service/ethdns-9d56298fa38a

Then specifically this part:

What makes this different from proxy service approaches to the same problem is that the name and content layers are clearly separated, yet coordinated: the name and CID lookup happens at the DNS level, the IPFS content is served through a regular gateway, but both work seamlessly together from the user perspective.

(N.B.: If you don’t wish that your domain be served via the default EthDNS gateway, you can easily specify one of your choice via the A record in ENS —though be aware, they must be running recent go-ipfs)

I read this as them having an IPFS gateway, all *.eth.link domains are routed via that unless you provide your own A record to set a different gateway. I don’t know what you need to provide in that record. DnsLink doesn’t use an A record : https://dnslink.io/#example-ipfs-gateway

If you find out, please do share here for others when they find this post and are in the same situation.

Thanks @markg85.

I still didn’t get which is the “default EthDNS gateway”?

here there is a list of gateways, such as ipfs.infura.io.
https://ipfs.github.io/public-gateway-checker/

which is the “default EthDNS gateway”?

I’ll follow the doc you mention to try chaning the gateway, and explain it here.

Have you thought that servers behind “eth.link” itself act as an IPFS gateway?

Have you thought that servers behind “eth.link” itself act as an IPFS gateway?

that’s a possible answer.
Is it the right one?

My test website http://rocinha.eth.link/ was down for four hours because of a “HTTP 502 Bad Gateway” error.

I need to understand whether EthLink is reliable or not to deploy a production website there. Or how to make it reliable. Or if it was a configuration problem of mine.

Unfortunately I didn’t find a way to contact them: https://eth.link/

Do you know how to contact them?

$ curl -v "http://rocinha.eth.link/"
* Trying 35.241.8.114...
* TCP_NODELAY set
* Connected to rocinha.eth.link (35.241.8.114) port 80 (#0)
> GET / HTTP/1.1
> Host: rocinha.eth.link
> User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
> Accept: */*
> Referer: 
> 
< HTTP/1.1 502 Bad Gateway
< Content-Type: text/html; charset=UTF-8
< Referrer-Policy: no-referrer
< Content-Length: 332
< Date: Tue, 14 Jul 2020 11:09:42 GMT
< 
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>
* Connection #0 to host rocinha.eth.link left intact
* Closing connection 0

Cheers,
David

They seem to use their own gateway.

and how can I change the IPFS gateway used?

I think hosting your own EthDNS service, unless they provide a way to customize how the A record is resolved.

Unfortunately I didn’t find a way to contact them: https://eth.link/

Have you tried asking in https://discuss.ens.domains/ ?