[GH-ISSUE #892] Allow to enter domain instead of the ip address of the server #243

Closed
opened 2026-10-14 03:16:32 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @mkhib on GitHub (Jul 13, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/892

In case that the IP gets blocked in the country we can change the IP behind the domain instead of sharing new connections to the users.

Originally created by @mkhib on GitHub (Jul 13, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/892 In case that the IP gets blocked in the country we can change the IP behind the domain instead of sharing new connections to the users.
Author
Owner

@Tumist76 commented on GitHub (Aug 5, 2024):

Upvoting on this one. Have been rotating servers previously because of connection low speed and without hostname it's a pain.

<!-- gh-comment-id:2268073426 --> @Tumist76 commented on GitHub (Aug 5, 2024): Upvoting on this one. Have been rotating servers previously because of connection low speed and without hostname it's a pain.
Author
Owner

@amzaf commented on GitHub (Aug 7, 2024):

In my case, ipv4 address of my server is blocked but I can still access it through ipv6. Hiding the real server address behind Cloudflare is another good practice which necessitates using a domain name.

<!-- gh-comment-id:2272809192 --> @amzaf commented on GitHub (Aug 7, 2024): In my case, ipv4 address of my server is blocked but I can still access it through ipv6. Hiding the real server address behind Cloudflare is another good practice which necessitates using a domain name.
Author
Owner

@sbh96 commented on GitHub (Aug 8, 2024):

you must add domain support if the user prefers can use it based on his region or make a subscription link (like your api to provide free subscriptions ) auto reval to update from server side every 15 mints to make update if any things changes in server side

<!-- gh-comment-id:2274647879 --> @sbh96 commented on GitHub (Aug 8, 2024): you must add domain support if the user prefers can use it based on his region or make a subscription link (like your api to provide free subscriptions ) auto reval to update from server side every 15 mints to make update if any things changes in server side
Author
Owner

@Nethius commented on GitHub (Aug 12, 2024):

If someone can test this branch https://github.com/amnezia-vpn/amnezia-client/pull/814, it will help us a lot. Domain name resolve should work for awg/wg protocols

<!-- gh-comment-id:2283634783 --> @Nethius commented on GitHub (Aug 12, 2024): If someone can test this branch https://github.com/amnezia-vpn/amnezia-client/pull/814, it will help us a lot. Domain name resolve should work for awg/wg protocols
Author
Owner

@virtualos commented on GitHub (Aug 18, 2024):

If someone can test this branch #814, it will help us a lot. Domain name resolve should work for awg/wg protocols

I tested dev build:
added the ability to enter a domain name when configuring the server #3161
https://github.com/amnezia-vpn/amnezia-client/actions/runs/10318395547/artifacts/1794715477

Server: Hetzner Data center
OS: Ubuntu 22.04
Amnezia: Android
Domain: 94web.com and in Cloudflare domain linked to server IP by A record with No proxy!

Summery:
I successfully installed AmneziaWG but when I tried to connect I got 1000 error code.

Here is Amnezia Log report:

`Model: A063
Brand: Nothing
Product: Spacewar
Device: Spacewar
Codename: REL
Release: 14
SDK: 34
ABI: arm64-v8a, armeabi-v7a, armeabi

08-18 05:25:46.973 21590 21614 D [qtMainLoopThread] AmneziaQt: Call activity method: exportLogsFile

LOGCAT:
--------- beginning of main
08-18 05:23:20.340 20484 20484 E org.amnezia.vpn: Not starting debugger since process cannot load the jdwp agent.
08-18 05:23:20.673 20484 20507 E OpenGLRenderer: Unable to match the desired swap behavior.
08-18 05:23:33.508 20484 20507 E OpenGLRenderer: Unable to match the desired swap behavior.
08-18 05:23:40.281 20484 20507 E OpenGLRenderer: Unable to match the desired swap behavior.
08-18 05:25:12.142 21163 21163 E org.amnezia.vpn: Not starting debugger since process cannot load the jdwp agent.
08-18 05:25:12.370 21163 21185 E OpenGLRenderer: Unable to match the desired swap behavior.
08-18 05:25:16.150 21163 21185 E OpenGLRenderer: Unable to match the desired swap behavior.
08-18 05:25:18.299 21304 21304 E neziaAwgService: Not starting debugger since process cannot load the jdwp agent.
08-18 05:25:19.145 21304 21325 E AmneziaVpnService: Not a numeric address: 94web.com
08-18 05:25:19.151 21163 21163 E AmneziaActivity: From VpnService: Not a numeric address: 94web.com
08-18 05:25:35.742 21590 21590 E org.amnezia.vpn: Not starting debugger since process cannot load the jdwp agent.
08-18 05:25:35.974 21590 21611 E OpenGLRenderer: Unable to match the desired swap behavior.`

<!-- gh-comment-id:2295063213 --> @virtualos commented on GitHub (Aug 18, 2024): > If someone can test this branch #814, it will help us a lot. Domain name resolve should work for awg/wg protocols I tested dev build: **added the ability to enter a domain name when configuring the server #3161** https://github.com/amnezia-vpn/amnezia-client/actions/runs/10318395547/artifacts/1794715477 Server: Hetzner Data center OS: Ubuntu 22.04 Amnezia: Android Domain: 94web.com and in Cloudflare domain linked to server IP by A record with No proxy! Summery: I successfully installed AmneziaWG but when I tried to connect I got 1000 error code. Here is Amnezia Log report: `Model: A063 Brand: Nothing Product: Spacewar Device: Spacewar Codename: REL Release: 14 SDK: 34 ABI: arm64-v8a, armeabi-v7a, armeabi 08-18 05:25:46.973 21590 21614 D [qtMainLoopThread] AmneziaQt: Call activity method: exportLogsFile LOGCAT: --------- beginning of main 08-18 05:23:20.340 20484 20484 E org.amnezia.vpn: Not starting debugger since process cannot load the jdwp agent. 08-18 05:23:20.673 20484 20507 E OpenGLRenderer: Unable to match the desired swap behavior. 08-18 05:23:33.508 20484 20507 E OpenGLRenderer: Unable to match the desired swap behavior. 08-18 05:23:40.281 20484 20507 E OpenGLRenderer: Unable to match the desired swap behavior. 08-18 05:25:12.142 21163 21163 E org.amnezia.vpn: Not starting debugger since process cannot load the jdwp agent. 08-18 05:25:12.370 21163 21185 E OpenGLRenderer: Unable to match the desired swap behavior. 08-18 05:25:16.150 21163 21185 E OpenGLRenderer: Unable to match the desired swap behavior. 08-18 05:25:18.299 21304 21304 E neziaAwgService: Not starting debugger since process cannot load the jdwp agent. 08-18 05:25:19.145 21304 21325 E AmneziaVpnService: Not a numeric address: 94web.com 08-18 05:25:19.151 21163 21163 E AmneziaActivity: From VpnService: Not a numeric address: 94web.com 08-18 05:25:35.742 21590 21590 E org.amnezia.vpn: Not starting debugger since process cannot load the jdwp agent. 08-18 05:25:35.974 21590 21611 E OpenGLRenderer: Unable to match the desired swap behavior.`
Author
Owner

@amzaf commented on GitHub (Aug 20, 2024):

If someone can test this branch #814, it will help us a lot. Domain name resolve should work for awg/wg protocols

I'd suggest you push out a beta release for testing by a greater audience

<!-- gh-comment-id:2298147780 --> @amzaf commented on GitHub (Aug 20, 2024): > If someone can test this branch #814, it will help us a lot. Domain name resolve should work for awg/wg protocols I'd suggest you push out a beta release for testing by a greater audience
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#243
No description provided.