I have a mtproto proxy like this:
server: sth.example.come
port: xxx
secret: some secret
and when I change the A record (IP) of the server to another IP, the telegram app cannot connect to the new IP and it still tries the old IP! the problem remains until I close the telegram app and reopen it! but I'm always setting the TTL for the record to 10 seconds and I think the app should lookup for DNS every 10 seconds, but it wouldn't.
how can this problem be solved? any idea?
I have a mtproto proxy like this: server: sth.example.come port: xxx secret: some secret and when I change the A record (IP) of the server to another IP, the telegram app cannot connect to the new IP and it still tries the old IP! the problem remains until I close the telegram app and reopen it! but I'm always setting the TTL for the record to 10 seconds and I think the app should lookup for DNS every 10 seconds, but it wouldn't. how can this problem be solved? any idea?