# Own Global Announce Server?

**URL:** https://forum.syncthing.net/t/own-global-announce-server/133
**Category:** Support
**Created:** [May 14, 2014, 9:59am UTC](https://forum.syncthing.net/t/own-global-announce-server/133 "2014-05-14T09:59:27Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![jpaechnatz](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/ea5d25/32.png) [@jpaechnatz](https://forum.syncthing.net/u/jpaechnatz)
#### Post date: [May 14, 2014, 9:59am UTC](https://forum.syncthing.net/t/own-global-announce-server/133/1 "2014-05-14T09:59:28Z")

</div>

Is it possible to setup my own Global Announce Server? If it’s possible, instructions would be very nice 😉

Thanks!

---

<div class="post-metadata">

### Author: ![jpjp](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@jpjp](https://forum.syncthing.net/u/jpjp)
#### Post date: [May 14, 2014, 12:19pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/2 "2014-05-14T12:19:20Z")

</div>

Sure is, see [http://docs.syncthing.net/users/discosrv.html](http://docs.syncthing.net/users/discosrv.html).

* * *

Edited by calmh to point to new documentation URL

---

<div class="post-metadata">

### Author: ![jpaechnatz](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/ea5d25/32.png) [@jpaechnatz](https://forum.syncthing.net/u/jpaechnatz)
#### Post date: [May 14, 2014, 12:59pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/3 "2014-05-14T12:59:39Z")

</div>

Ah. Thanks… looks like a kind of DHT or similar.

But howto to setup/run it?

---

<div class="post-metadata">

### Author: ![jedie](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@jedie](https://forum.syncthing.net/u/jedie)
#### Post date: [May 14, 2014, 3:24pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/4 "2014-05-14T15:24:51Z")

</div>

One Question:

If i used a “Dynamic DNS” service (noip, [dyndns.org](http://dyndns.org) etc.), than i can deactivate “Global Announce” in settings and use the domain name, isn’t it?

---

<div class="post-metadata">

### Author: ![kahun](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/k/9de053/32.png) [@kahun](https://forum.syncthing.net/u/kahun)
#### Post date: [August 20, 2014, 4:58am UTC](https://forum.syncthing.net/t/own-global-announce-server/133/5 "2014-08-20T04:58:04Z")

</div>

Hi guys

Just you know, custom announce server works. I am using it for my own setup if anyone is looking for trying it.

---

<div class="post-metadata">

### Author: ![jpaechnatz](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/ea5d25/32.png) [@jpaechnatz](https://forum.syncthing.net/u/jpaechnatz)
#### Post date: [August 20, 2014, 8:29am UTC](https://forum.syncthing.net/t/own-global-announce-server/133/6 "2014-08-20T08:29:25Z")

</div>

Could you write a brief description/howto about setting this up? Thanks.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [August 20, 2014, 10:20am UTC](https://forum.syncthing.net/t/own-global-announce-server/133/7 "2014-08-20T10:20:33Z")

</div>

Short version:

1. Download and build [https://github.com/syncthing/discosrv](https://github.com/syncthing/discosrv), or download the binary for Linux linked from there.

2. Run that binary on the machine that is supposed to be your discovery server. Just `discosrv` without parameters is good enough to start with, otherwise see `discosrv -help` for the tweakables.

3. Configure your syncthing instances to use `<your-discovery-box-ip>:22026` as global discovery server (settable in the GUI or config.xml).

That’s all.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [August 20, 2014, 10:27am UTC](https://forum.syncthing.net/t/own-global-announce-server/133/8 "2014-08-20T10:27:48Z")

</div>

> [@jedie](#):
>
> If i used a “Dynamic DNS” service (noip, [dyndns.org](http://dyndns.org) etc.), than i can deactivate “Global Announce” in settings and use the domain name, isn’t it?

Yep, that works just as well.

---

<div class="post-metadata">

### Author: ![kahun](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/k/9de053/32.png) [@kahun](https://forum.syncthing.net/u/kahun)
#### Post date: [August 20, 2014, 3:06pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/9 "2014-08-20T15:06:07Z")

</div>

calmh`s method is what I used. Make sure that you also open 22026 port in your firewall.

---

<div class="post-metadata">

### Author: ![ovizii](https://forum.syncthing.net/user_avatar/forum.syncthing.net/ovizii/32/5317_2.png) [@ovizii](https://forum.syncthing.net/u/ovizii)
#### Post date: [August 22, 2014, 2:01pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/10 "2014-08-22T14:01:12Z")

</div>

is there a point in running your own discovery server? If serveral people setup one, would it be possible for i.e. Jakob to setup a “main” one that uses kinda round-robin to chose from the publicly available ones or is there no point in that?

---

<div class="post-metadata">

### Author: ![NickPyz](https://forum.syncthing.net/user_avatar/forum.syncthing.net/nickpyz/32/4025_2.png) [@NickPyz](https://forum.syncthing.net/u/NickPyz)
#### Post date: [August 22, 2014, 3:18pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/11 "2014-08-22T15:18:10Z")

</div>

> [@ovizii](#):
>
> is there a point in running your own discovery server?

Someone else’s discosrv can log high level metadata such as node ID and IP address. If this concerns you, running your own discovery server is a solution.

> [@ovizii](#):
>
> If serveral people setup one, would it be possible for i.e. Jakob to setup a “main” one that uses kinda round-robin to chose from the publicly available ones or is there no point in that?

I like this idea. If there is more than 1 public server, it eliminates single point of failure. Syncthing would need some mechanism to randomly select or load balance the public servers. And, I would prefer a built-in checksum process to verify that a public server is running a legitimate copy of discosrv.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [August 22, 2014, 4:38pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/12 "2014-08-22T16:38:12Z")

</div>

> [@NickPyz](#):
>
> I like this idea. If there is more than 1 public server, it eliminates single point of failure. Syncthing would need some mechanism to randomly select or load balance the public servers.

This could theoretically be handled just by DNS round robin, as long as syncthing does reasonably quick retries when the server seems down. More importantly, the servers need a method to synchronize announces between themselves.

---

<div class="post-metadata">

### Author: ![MiskyWhixer](https://forum.syncthing.net/user_avatar/forum.syncthing.net/miskywhixer/32/830_2.png) [@MiskyWhixer](https://forum.syncthing.net/u/MiskyWhixer)
#### Post date: [January 17, 2015, 2:20pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/13 "2015-01-17T14:20:36Z")

</div>

Has someone build an announce server for windows and can share the exe file?

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [January 17, 2015, 3:19pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/14 "2015-01-17T15:19:09Z")

</div>

[http://build.syncthing.net/job/discosrv/](http://build.syncthing.net/job/discosrv/)

---

<div class="post-metadata">

### Author: ![MiskyWhixer](https://forum.syncthing.net/user_avatar/forum.syncthing.net/miskywhixer/32/830_2.png) [@MiskyWhixer](https://forum.syncthing.net/u/MiskyWhixer)
#### Post date: [January 17, 2015, 3:29pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/15 "2015-01-17T15:29:52Z")

</div>

Perfect! Thank you very much!

---

<div class="post-metadata">

### Author: ![RCcola1987](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/r/ce73a5/32.png) [@RCcola1987](https://forum.syncthing.net/u/RCcola1987)
#### Post date: [January 31, 2015, 4:51pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/16 "2015-01-31T16:51:03Z")

</div>

is there a flag to change the port that the discovery server listens on?

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [January 31, 2015, 5:54pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/17 "2015-01-31T17:54:28Z")

</div>

Have you even tried running `-help`?

---

<div class="post-metadata">

### Author: ![jpjp](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@jpjp](https://forum.syncthing.net/u/jpjp)
#### Post date: [February 1, 2015, 6:20pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/18 "2015-02-01T18:20:41Z")

</div>

You could have said put more friendly like 😕

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [February 1, 2015, 6:35pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/19 "2015-02-01T18:35:19Z")

</div>

Well he has asked if there is a flag, and if seems obvious to me that you would check `-help` to list the flags available? It’s not that they are deliberately hidden somewhere, and only people on the forum know what they are. I think I am just pointing out the obvious, even though not in the nicest fashion.

---

<div class="post-metadata">

### Author: ![jpjp](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@jpjp](https://forum.syncthing.net/u/jpjp)
#### Post date: [February 1, 2015, 9:29pm UTC](https://forum.syncthing.net/t/own-global-announce-server/133/20 "2015-02-01T21:29:39Z")

</div>

What you said was very true, but how you said it was very coarse ☀

[Next page](https://forum.syncthing.net/t/own-global-announce-server/133.md?page=2)
