schors / tgdante2

Dockerized Dante socks5 proxy for telegram. Alpine version
The Unlicense
626 stars 67 forks source link

Domain Name can’t deploy! #19

Closed rezavn closed 6 years ago

rezavn commented 6 years ago

Hi dear developer. I launched Shadowsocks-R Server recently for Holding #Digital_Resistance. The reason that i launched SSR server was Socks5 is Banned in Iran.

Now i want to publish my server for free but idont want others to use ip. I want them to use domain name. I can not link my domain which is ShadowSocks-r.ga to my ubuntu Server. Please help me with that. I can give you access to my server.

landergate commented 6 years ago

@rezavn Usually it's enough to purchase any domain name and create DNS record with type "A", directing it to your server's IP.

rezavn commented 6 years ago

I created one DNS but ican not connect to it. can i give you root access? will you set it up for me please?

landergate commented 6 years ago

@rezavn Can you share your domain name here? Not root access, just a domain name that you're having issues with to make sure it's resolvable for outside world.

rezavn commented 6 years ago

Here? It’s very public i assume😂😂 Any private space? Email? Telegram?

landergate commented 6 years ago

@rezavn Basically you need to make sure that your DNS record is resolvable for outside world. Try doing dig -t A yourdomain.name from some other server or user to check if it's resolvable at all.

Not sure if any of this is related to tgdante2 project.

rezavn commented 6 years ago

dig -t A shadowsocks-r.ga

; <<>> DiG 9.10.3-P4-Ubuntu <<>> -t A shadowsocks-r.ga ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61692 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;shadowsocks-r.ga. IN A

;; ANSWER SECTION: shadowsocks-r.ga. 14400 IN A 185.162.235.17

;; AUTHORITY SECTION: shadowsocks-r.ga. 14400 IN NS ns2.shadowsocks-r.ga. shadowsocks-r.ga. 14400 IN NS ns1.shadowsocks-r.ga.

;; ADDITIONAL SECTION: ns1.shadowsocks-r.ga. 14400 IN A 185.162.235.17 ns2.shadowsocks-r.ga. 14400 IN A 185.162.235.17

;; Query time: 0 msec ;; SERVER: 185.162.235.17#53(185.162.235.17) ;; WHEN: Tue May 22 06:03:50 EDT 2018 ;; MSG SIZE rcvd: 129

i received this

landergate commented 6 years ago

@rezavn Well, for me it looks like this:

; <<>> DiG 9.10.3-P4-Ubuntu <<>> -t A shadowsocks-r.ga
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 11633
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;shadowsocks-r.ga.              IN      A

;; Query time: 50 msec
;; SERVER: 213.133.98.98#53(213.133.98.98)
;; WHEN: Tue May 22 10:05:54 UTC 2018
;; MSG SIZE  rcvd: 45

It would be a better idea to delegate DNS records management not on your own self-hosted DNS-server, but on registrar's, if other users has connectivity issues with your own NS.

rezavn commented 6 years ago

In english please:\ im beginner sorry:(

landergate commented 6 years ago

@rezavn Where do you manage your DNS records? Is it self-hosted DNS-server, or your domain registrar's?

rezavn commented 6 years ago

http://s8.picofile.com/file/8327128084/Untitled.png

rezavn commented 6 years ago

i set the DNS into this

landergate commented 6 years ago

@rezavn It was a bad idea to publish ssh access here. Please remove it while it's not too late. Also, this is not a Linux support chat, please write messages without double-posting multiple of them in a row, as all repo's subscribers receive lots of emails on each update.

rezavn commented 6 years ago

Ok bro i removed it:(

KostyaEsmukov commented 6 years ago

Please stop. This is inappropriate place for such discussion. This is not a chat. What you write is public, and each your comment is emailed to ~30 watching users. Use private email instead.

rezavn commented 6 years ago

Aha sorry my bad. @landergate Here is my email please contact me: Reza.varasteh.n@gmail.com

landergate commented 6 years ago

@rezavn Considering your screenshot and current NS connectivity/configuartion issues, you can just switch your domain to "Use default nameservers" and then manage records with "Manage DNS" in your registrar's panel.

Again, all of this is totally out of scope of "tgdante2" project, so it would be a better idea to forward your questions to your DNS provider or any Linux support chat available.

rezavn commented 6 years ago

Thanks By the way for helping.