<p>Asking this question on Super User might have resulted in a quicker and more response as this is strictly speaking not limited to Bitcoin.</p>

<p>Sipa's bitcoin-seeder allows you to run the DNS node on a <a href="https://github.com/sipa/bitcoin-seeder/blob/master/main.cpp#L43" rel="nofollow">port other than 53</a>, so that you could set up a DNS seed for each of the networks you want to support. In order to receive incoming queries and respond to them you'd then set up a BIND server that acts as a slave for the individual subdomains and then <a href="http://www.zytrax.com/books/dns/ch9/delegate.html" rel="nofollow">delegate incoming queries</a> to the corresponding bitcoin-seeder. The zone configuration of the BIND daemon does allow you to <a href="http://www.zytrax.com/books/dns/ch7/zone.html#masters" rel="nofollow">specify ports other than port 53</a>.</p>

CC BY-SA 3.0
2014-08-12T14:06:21.677Z
2014-08-12T14:06:21.677Z
cdecker
<blockquote>
<p>Is there any way that I can set this up on one VPS with Root access?</p>
</blockquote>
<p>For the DNS seeder to properly listen and respond to incoming DNS queries, it absolutely must be listening on the standard DNS port # which is 53. You can normally only have one port open per computer/ip, so running two DNS servers on the same VPS is either very difficult or impossible.</p>
<p>I believe the simplest way to run two DNS seeder apps on the same VPS is to setup the 1st using the original local DNS server mode and the 2nd using Cloudflare API mode.</p>
<p>Take a look at the generic-seeder app, which is a clone of the original bitcoin-seeder that makes it easy to configure for a new coin and also adds additional features such as Cloudflare mode: <a href="https://github.com/team-exor/generic-seeder" rel="nofollow noreferrer">https://github.com/team-exor/generic-seeder</a></p>
<p>There's even a full setup guide that explains how to set up and take advantage of Cloudflare mode: <a href="https://github.com/team-exor/generic-seeder/blob/master/SETUP.md" rel="nofollow noreferrer">https://github.com/team-exor/generic-seeder/blob/master/SETUP.md</a></p>
<p>Full disclosure: I am the author of the generic-seeder.</p>
<p>Update: dbkeys released a multi-seeder earlier this year based on the generic-seeder source. It runs a single seeder app that is able to respond to up to 10 different networks simultaneously: <a href="https://github.com/dbkeys/multiseeder" rel="nofollow noreferrer">https://github.com/dbkeys/multiseeder</a></p>

CC BY-SA 4.0
2020-04-08T00:44:03.453Z
2022-11-13T22:19:24.503Z
2022-11-13T22:19:24.503Z
Joe Uhren
<p>I would like to know how to run multiple DNS Seeds on the same node.</p>

<p>It seems fairly straight-forward as described in: <a href="https://github.com/sipa/bitcoin-seeder" rel="nofollow">https://github.com/sipa/bitcoin-seeder</a></p>

<p>For example, I want two DNS Seeds:
bitcoin-seed.mydomain.com
testnet-seed.mydomain.com</p>

<p>It seems as per the existing instructions I would either need to run multiple VMs or at the very least create new users and redirect port 53 to them. (I am not sure I can redirect port 53 to multiple users)</p>

<p>Is there any way that I can set this up on one VPS with Root access?</p>

<seed><dns>
Running multiple DNS Seeds
Mark
# Running multiple DNS Seeds

(Asked by: username_0 on 2014-08-11)

I would like to know how to run multiple DNS Seeds on the same node.

It seems fairly straight-forward as described in: <https://github.com/sipa/bitcoin-seeder>

For example, I want two DNS Seeds:
bitcoin-seed.mydomain.com
testnet-seed.mydomain.com

It seems as per the existing instructions I would either need to run multiple VMs or at the very least create new users and redirect port 53 to them. (I am not sure I can redirect port 53 to multiple users)

Is there any way that I can set this up on one VPS with Root access?

**Tags:** seed, dns


---

## 2 answers

### Answer by username_1 on 2014-08-12. Score: 2

Asking this question on Super User might have resulted in a quicker and more response as this is strictly speaking not limited to Bitcoin.

Sipa's bitcoin-seeder allows you to run the DNS node on a [port other than 53](https://github.com/sipa/bitcoin-seeder/blob/master/main.cpp#L43), so that you could set up a DNS seed for each of the networks you want to support. In order to receive incoming queries and respond to them you'd then set up a BIND server that acts as a slave for the individual subdomains and then [delegate incoming queries](http://www.zytrax.com/books/dns/ch9/delegate.html) to the corresponding bitcoin-seeder. The zone configuration of the BIND daemon does allow you to [specify ports other than port 53](http://www.zytrax.com/books/dns/ch7/zone.html#masters).


---

### Answer by username_2 on 2020-04-08. Score: 1

> Is there any way that I can set this up on one VPS with Root access?

For the DNS seeder to properly listen and respond to incoming DNS queries, it absolutely must be listening on the standard DNS port # which is 53. You can normally only have one port open per computer/ip, so running two DNS servers on the same VPS is either very difficult or impossible.

I believe the simplest way to run two DNS seeder apps on the same VPS is to setup the 1st using the original local DNS server mode and the 2nd using Cloudflare API mode.

Take a look at the generic-seeder app, which is a clone of the original bitcoin-seeder that makes it easy to configure for a new coin and also adds additional features such as Cloudflare mode: <https://github.com/team-exor/generic-seeder>

There's even a full setup guide that explains how to set up and take advantage of Cloudflare mode: <https://github.com/team-exor/generic-seeder/blob/master/SETUP.md>

Full disclosure: I am the author of the generic-seeder.

Update: dbkeys released a multi-seeder earlier this year based on the generic-seeder source. It runs a single seeder app that is able to respond to up to 10 different networks simultaneously: <https://github.com/dbkeys/multiseeder>


---

